3v4l.org

run code in 500+ PHP versions simultaneously
<?php $stuff = (string) $things ?? 'nothing'; var_dump( $stuff ); echo "\n---\n"; $stuff = (string) ( $things ?? 'nothing' ); var_dump( $stuff );
Output for git.master, git.master_jit
Warning: Undefined variable $things in /in/mInAG on line 3 string(0) "" --- string(7) "nothing"

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:
40.05 ms | 792 KiB | 4 Q