3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); $foo = '123 '; var_dump(str_repeat('a', $foo));
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: A non well formed numeric value encountered in /in/klkYV on line 6 string(123) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
Output for 4.3.0 - 5.2.17, hhvm-3.12.0
string(123) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
Output for hhvm-3.10.0

Process exited with code 153.