X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=reflection2php.php;h=37747be51c48702b537dce5e153ed74b953804e2;hp=aa238ed1980fc144a3a555bcbf28f8e96d700d36;hb=cc74cdc4ff1334afa39ff12001ba94309346df54;hpb=d5de4f9eae86ae1dab0f8a906bf9543710ae124d diff --git a/reflection2php.php b/reflection2php.php index aa238ed..37747be 100755 --- a/reflection2php.php +++ b/reflection2php.php @@ -35,7 +35,7 @@ printf("getConstants() as $constant => $value) { - printf("const %s = %s;\n", $constant, $value); + printf("define('%s', '%s');\n", $constant, $value); } printf("\n");