projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
0b83632
)
quickfix
author
Michael Wallner
<mike@php.net>
Mon, 24 Jun 2013 05:28:52 +0000
(
05:28
+0000)
committer
Michael Wallner
<mike@php.net>
Mon, 24 Jun 2013 05:28:52 +0000
(
05:28
+0000)
reflection2php.php
patch
|
blob
|
history
diff --git
a/reflection2php.php
b/reflection2php.php
index aa238ed1980fc144a3a555bcbf28f8e96d700d36..37747be51c48702b537dce5e153ed74b953804e2 100755
(executable)
--- a/
reflection2php.php
+++ b/
reflection2php.php
@@
-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");