3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $range = range('A','Z'); //print_r($range); foreach($range as $character) { echo $character."<br />".PHP_EOL; } ?>
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.0
A<br /> B<br /> C<br /> D<br /> E<br /> F<br /> G<br /> H<br /> I<br /> J<br /> K<br /> L<br /> M<br /> N<br /> O<br /> P<br /> Q<br /> R<br /> S<br /> T<br /> U<br /> V<br /> W<br /> X<br /> Y<br /> Z<br />
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 A<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 B<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 C<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 D<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 E<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 F<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 G<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 H<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 I<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 J<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 K<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 L<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 M<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 N<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 O<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 P<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 Q<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 R<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 S<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 T<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 U<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 V<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 W<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 X<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 Y<br />PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/lMuPA on line 6 Z<br />PHP_EOL