quickfix
authorMichael Wallner <mike@php.net>
Mon, 24 Jun 2013 05:28:52 +0000 (05:28 +0000)
committerMichael Wallner <mike@php.net>
Mon, 24 Jun 2013 05:28:52 +0000 (05:28 +0000)
reflection2php.php

index aa238ed1980fc144a3a555bcbf28f8e96d700d36..37747be51c48702b537dce5e153ed74b953804e2 100755 (executable)
@@ -35,7 +35,7 @@ printf("<?php\n\n");
 
 $ext = new ReflectionExtension($ext);
 foreach ($ext->getConstants() as $constant => $value) {
-    printf("const %s = %s;\n", $constant, $value);
+    printf("define('%s', '%s');\n", $constant, $value);
 }
 printf("\n");