3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i=0; $i > -100; $i--) { echo $i+100 . PHP_EOL; }
Output for 4.3.10 - 4.3.11, 4.4.0 - 4.4.9, 5.0.2 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
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 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 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

preferences:
257.99 ms | 421 KiB | 422 Q