3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i=0; $i > -100; $i--) { echo $i+100 . PHP_EOL; }
based on C0HdX
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.3.0rc4
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
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/CtXAJ on line 4 100PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 99PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 98PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 97PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 96PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 95PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 94PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 93PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 92PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 91PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 90PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 89PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 88PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 87PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 86PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 85PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 84PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 83PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 82PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 81PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 80PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 79PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 78PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 77PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 76PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 75PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 74PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 73PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 72PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 71PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 70PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 69PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 68PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 67PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 66PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 65PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 64PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 63PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 62PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 61PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 60PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 59PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 58PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 57PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 56PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 55PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 54PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 53PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 52PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 51PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 50PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 49PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 48PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 47PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 46PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 45PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 44PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 43PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 42PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 41PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 40PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 39PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 38PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 37PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 36PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 35PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 34PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 33PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 32PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 31PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 30PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 29PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 28PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 27PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 26PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 25PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 24PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 23PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 22PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 21PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 20PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 19PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 18PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 17PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 16PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 15PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 14PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 13PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 12PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 11PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 10PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 9PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 8PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 7PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 6PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 5PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 4PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 3PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 2PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CtXAJ on line 4 1PHP_EOL