3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { $a[(object)null] = 1; } catch (Throwable $e) { print_r($e->getTrace()); } try { file(null); } catch (Throwable $e) { print_r($e->getTrace()); } try { file(); } catch (Throwable $e) { print_r($e->getTrace()); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( ) Deprecated: file(): Passing null to parameter #1 ($filename) of type string is deprecated in /in/0Pgfo on line 4 Array ( [0] => Array ( [file] => /in/0Pgfo [line] => 4 [function] => file [args] => Array ( [0] => ) ) ) Array ( [0] => Array ( [file] => /in/0Pgfo [line] => 5 [function] => file [args] => Array ( ) ) )

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:
63.24 ms | 402 KiB | 8 Q