3v4l.org

run code in 300+ PHP versions simultaneously
<?php function default_args($test = FALSE, $context) { var_dump($test); if ($test === FALSE) {echo 'true';} } default_args(NULL, []); function no_default_args($test, $context) { var_dump($test); if ($test === FALSE) {echo 'true';} } no_default_args(NULL, []);
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Optional parameter $test declared before required parameter $context is implicitly treated as a required parameter in /in/nih2k on line 3 NULL NULL

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:
72.21 ms | 405 KiB | 5 Q