3v4l.org

run code in 300+ PHP versions simultaneously
<?php $color = array('white', 'green', 'red', 'blue', 'black'); echo "The memory of that scene for me is like a frame of film forever frozen at that moment: the red carpet, the green lawn, the white house, the leaden sky. The new president and his first lady. - Richard M. Nixon" and the words "$color[4]"; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.300.0110.04612.50
5.4.290.0090.04912.49
5.4.280.0120.04312.39
5.4.270.0100.04612.39
5.4.260.0140.04512.39
5.4.250.0100.06012.39
5.4.240.0060.04012.39
5.4.230.0080.06412.38
5.4.220.0100.05112.38
5.4.210.0100.05512.38
5.4.200.0100.05512.38
5.4.190.0050.05712.38
5.4.180.0050.05512.38
5.4.170.0050.05512.38
5.4.160.0070.05012.38
5.4.150.0100.04712.38
5.4.140.0060.05712.07
5.4.130.0080.04912.05
5.4.120.0090.05412.02
5.4.110.0110.05012.01
5.4.100.0090.04712.01
5.4.90.0070.05112.01
5.4.80.0070.05512.01
5.4.70.0110.04912.01
5.4.60.0100.04512.01
5.4.50.0050.04312.00
5.4.40.0080.03512.00
5.4.30.0060.03711.99
5.4.20.0060.03511.99
5.4.10.0060.04711.99
5.4.00.0070.05311.49
5.3.280.0050.05512.71
5.3.270.0100.05612.73
5.3.260.0100.05412.72
5.3.250.0100.05412.72
5.3.240.0110.05312.72
5.3.230.0090.06212.71
5.3.220.0120.05312.68
5.3.210.0080.05912.68
5.3.200.0080.06012.68
5.3.190.0090.05212.68
5.3.180.0120.04812.67
5.3.170.0110.06412.67
5.3.160.0080.04112.68
5.3.150.0080.03712.68
5.3.140.0060.03812.66
5.3.130.0120.03512.65
5.3.120.0130.03712.66
5.3.110.0130.06812.66
5.3.100.0100.05312.11
5.3.90.0090.05212.09
5.3.80.0180.04412.08
5.3.70.0070.05212.07
5.3.60.0090.05412.07
5.3.50.0090.05212.00
5.3.40.0050.05612.00
5.3.30.0110.05111.95
5.3.20.0080.05011.72
5.3.10.0140.07211.69
5.3.00.0050.05611.69

preferences:
138.14 ms | 1386 KiB | 7 Q