3v4l.org

run code in 500+ 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 rfc.property-hooks
`E_STRICT` is in `E_ALL`
Output for git.master, git.master_jit
`E_STRICT` is deprecated

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:
55.7 ms | 2679 KiB | 4 Q