3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $name="Wanda"; echo "W"+"anda","\n"; echo $name + 0 === "W"+"anda","\n"; echo $name == "W"+"anda","\n";

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
Warning: A non-numeric value encountered in /in/cLRWv on line 3 Warning: A non-numeric value encountered in /in/cLRWv on line 3 0 Warning: A non-numeric value encountered in /in/cLRWv on line 4 Warning: A non-numeric value encountered in /in/cLRWv on line 4 Warning: A non-numeric value encountered in /in/cLRWv on line 4 1 Warning: A non-numeric value encountered in /in/cLRWv on line 5 Warning: A non-numeric value encountered in /in/cLRWv on line 5 1
Output for Lexical anon
0 1 1

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