3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( file_exists(sys_get_temp_dir()), is_writable(sys_get_temp_dir()), sys_get_temp_dir(), tempnam(sys_get_temp_dir(), 'php'), tempnam(sys_get_temp_dir(), 'aaa') );
Output for git.master
bool(true) bool(true) string(4) "/tmp" string(14) "/tmp/phpvRCpfL" string(14) "/tmp/aaaRZGSPE"
Output for git.master_jit
bool(true) bool(true) string(4) "/tmp" string(14) "/tmp/phpfp7I6W" string(14) "/tmp/aaaxWZU3a"
Output for rfc.property-hooks
bool(true) bool(true) string(4) "/tmp" string(14) "/tmp/php6LpiJi" string(14) "/tmp/aaabXN3xy"

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:
68.24 ms | 401 KiB | 8 Q