3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $oh_my_sides = 'holy moly im null'; var_dump($oh_my_sides); function foo () { $OH_YEAH = "CANDY"; for( $i = 0; $i < 10; $i++ ) { $OH_YEAH .= $OH_YEAH; } } $oh_my_sides = foo(); var_dump($oh_my_sides);
Output for 4.3.0 - 7.1.0
string(17) "holy moly im null" NULL