3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'foo*'; $i = strpos($foo, '*'); $l = strlen($foo)- 2; print_r(get_defined_vars());
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [_GET] => Array ( ) [_POST] => Array ( ) [_COOKIE] => Array ( ) [_FILES] => Array ( ) [argv] => Array ( [0] => /in/tEvl0 ) [argc] => 1 [_SERVER] => Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIL] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [HOME] => /tmp [PHP_SELF] => /in/tEvl0 [SCRIPT_NAME] => /in/tEvl0 [SCRIPT_FILENAME] => /in/tEvl0 [PATH_TRANSLATED] => /in/tEvl0 [DOCUMENT_ROOT] => [REQUEST_TIME_FLOAT] => 1448294163.0001 [REQUEST_TIME] => 1448294163 [argv] => Array ( [0] => /in/tEvl0 ) [argc] => 1 ) [foo] => foo* [i] => 3 [l] => 2 )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
46.6 ms | 403 KiB | 8 Q