repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make PHP_SAPI dynamic based on execution mode
[hiphop-php.git]
/
hphp
/
test
/
quick
/
sapi_name.php
blob
32981792fc778f4378bdec5987c8ebb64e9210f3
1
<
?php
2
3
$const
=
PHP_SAPI
;
4
$value_from_func
=
php_sapi_name
();
5
6
var_dump
(
$const
==
$value_from_func
);