3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isDeprecated($c){ $d=false; set_error_handler(function($e) use (&$d) { $d = E_DEPRECATED === $e; }); defined($c) && constant($c); restore_error_handler(); return $d; } echo '`E_STRICT` is ' . ( !defined('E_STRICT') ? 'not defined' : ( isDeprecated('E_STRICT') ? 'deprecated' : ( E_STRICT === (E_ALL & E_STRICT) ? 'in `E_ALL`' : 'not in `E_ALL`' ) ) );
Output for git.master_jit, git.master
`E_STRICT` is deprecated
Output for rfc.property-hooks
`E_STRICT` is in `E_ALL`

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:
26.35 ms | 406 KiB | 5 Q