3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $width = $height = 1024; $stepSize = 100; for ($x=0; $x < $width; $x+=$stepSize) { for ($y=0; $y < $height; $y+=$stepSize) { echo "Checking pixel at ($x, $y)" . PHP_EOL; } }
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
Checking pixel at (0, 0) Checking pixel at (0, 100) Checking pixel at (0, 200) Checking pixel at (0, 300) Checking pixel at (0, 400) Checking pixel at (0, 500) Checking pixel at (0, 600) Checking pixel at (0, 700) Checking pixel at (0, 800) Checking pixel at (0, 900) Checking pixel at (0, 1000) Checking pixel at (100, 0) Checking pixel at (100, 100) Checking pixel at (100, 200) Checking pixel at (100, 300) Checking pixel at (100, 400) Checking pixel at (100, 500) Checking pixel at (100, 600) Checking pixel at (100, 700) Checking pixel at (100, 800) Checking pixel at (100, 900) Checking pixel at (100, 1000) Checking pixel at (200, 0) Checking pixel at (200, 100) Checking pixel at (200, 200) Checking pixel at (200, 300) Checking pixel at (200, 400) Checking pixel at (200, 500) Checking pixel at (200, 600) Checking pixel at (200, 700) Checking pixel at (200, 800) Checking pixel at (200, 900) Checking pixel at (200, 1000) Checking pixel at (300, 0) Checking pixel at (300, 100) Checking pixel at (300, 200) Checking pixel at (300, 300) Checking pixel at (300, 400) Checking pixel at (300, 500) Checking pixel at (300, 600) Checking pixel at (300, 700) Checking pixel at (300, 800) Checking pixel at (300, 900) Checking pixel at (300, 1000) Checking pixel at (400, 0) Checking pixel at (400, 100) Checking pixel at (400, 200) Checking pixel at (400, 300) Checking pixel at (400, 400) Checking pixel at (400, 500) Checking pixel at (400, 600) Checking pixel at (400, 700) Checking pixel at (400, 800) Checking pixel at (400, 900) Checking pixel at (400, 1000) Checking pixel at (500, 0) Checking pixel at (500, 100) Checking pixel at (500, 200) Checking pixel at (500, 300) Checking pixel at (500, 400) Checking pixel at (500, 500) Checking pixel at (500, 600) Checking pixel at (500, 700) Checking pixel at (500, 800) Checking pixel at (500, 900) Checking pixel at (500, 1000) Checking pixel at (600, 0) Checking pixel at (600, 100) Checking pixel at (600, 200) Checking pixel at (600, 300) Checking pixel at (600, 400) Checking pixel at (600, 500) Checking pixel at (600, 600) Checking pixel at (600, 700) Checking pixel at (600, 800) Checking pixel at (600, 900) Checking pixel at (600, 1000) Checking pixel at (700, 0) Checking pixel at (700, 100) Checking pixel at (700, 200) Checking pixel at (700, 300) Checking pixel at (700, 400) Checking pixel at (700, 500) Checking pixel at (700, 600) Checking pixel at (700, 700) Checking pixel at (700, 800) Checking pixel at (700, 900) Checking pixel at (700, 1000) Checking pixel at (800, 0) Checking pixel at (800, 100) Checking pixel at (800, 200) Checking pixel at (800, 300) Checking pixel at (800, 400) Checking pixel at (800, 500) Checking pixel at (800, 600) Checking pixel at (800, 700) Checking pixel at (800, 800) Checking pixel at (800, 900) Checking pixel at (800, 1000) Checking pixel at (900, 0) Checking pixel at (900, 100) Checking pixel at (900, 200) Checking pixel at (900, 300) Checking pixel at (900, 400) Checking pixel at (900, 500) Checking pixel at (900, 600) Checking pixel at (900, 700) Checking pixel at (900, 800) Checking pixel at (900, 900) Checking pixel at (900, 1000) Checking pixel at (1000, 0) Checking pixel at (1000, 100) Checking pixel at (1000, 200) Checking pixel at (1000, 300) Checking pixel at (1000, 400) Checking pixel at (1000, 500) Checking pixel at (1000, 600) Checking pixel at (1000, 700) Checking pixel at (1000, 800) Checking pixel at (1000, 900) Checking pixel at (1000, 1000)
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/Csoj9 on line 7 Checking pixel at (0, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (0, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (100, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (200, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (300, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (400, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (500, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (600, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (700, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (800, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (900, 1000)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 0)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 100)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 200)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 300)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 400)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 500)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 600)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 700)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 800)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 900)PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/Csoj9 on line 7 Checking pixel at (1000, 1000)PHP_EOL