3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $error = 'AAAAAAAAA ssssssssss """"""""2222222222222222 3544543353453435'; echo $error; echo PHP_EOL; printf('%s', $error);
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
AAAAAAAAA ssssssssss """"""""2222222222222222 3544543353453435 AAAAAAAAA ssssssssss """"""""2222222222222222 3544543353453435
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
AAAAAAAAA ssssssssss """"""""2222222222222222 3544543353453435 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/3p4R5 on line 10 PHP_EOLAAAAAAAAA ssssssssss """"""""2222222222222222 3544543353453435