3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php dd('meow'); function dd($data, $file = __FILE__, $line = __LINE__) { var_dump($data); var_dump(debug_backtrace()); }
based on qjfdv
Output for 7.0.0 - 7.2.0
string(4) "meow" array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/VpNPS" ["line"]=> int(3) ["function"]=> string(2) "dd" ["args"]=> array(1) { [0]=> string(4) "meow" } } }
Output for 5.3.18 - 5.6.28
string(4) "meow" array(1) { [0]=> array(4) { ["file"]=> string(9) "/in/VpNPS" ["line"]=> int(3) ["function"]=> string(2) "dd" ["args"]=> array(1) { [0]=> &string(4) "meow" } } }