3v4l.org

run code in 300+ PHP versions simultaneously
<? $r = $g = $b = 0; while ($r <= 15) { while ($g <= 15) { while ($b <= 15) { echo '<div style="width:5px;height:5px;float:left;background:#'.dechex($r).dechex($g).dechex($b).'"></div>'; //echo dechex($r).dechex($g).dechex($b).'<br>'; $b = $b+1; } $b = 0; $g = $g+1; } $g = 0; $r = $r+1; } $r = 0; ?>

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)
8.3.60.0110.00718.18
8.3.50.0060.00921.98
8.3.40.0140.00718.70
8.3.30.0100.00320.21
8.3.20.0070.00020.13
8.3.10.0000.00722.15
8.3.00.0070.00022.39
8.2.180.0110.00418.04
8.2.170.0130.00722.96
8.2.160.0070.00722.11
8.2.150.0050.00324.18
8.2.140.0090.00024.66
8.2.130.0080.00626.16
8.2.120.0080.00021.06
8.2.110.0060.00322.38
8.2.100.0110.00017.78
8.2.90.0000.00817.91
8.2.80.0000.00717.97
8.2.70.0060.00317.63
8.2.60.0000.00717.91
8.2.50.0060.00318.07
8.2.40.0000.00718.07
8.2.30.0030.00617.92
8.2.20.0050.00217.55
8.2.10.0070.00017.55
8.2.00.0030.00617.61
8.1.280.0110.00425.92
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0160.00320.57
8.1.230.0110.00020.89
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0030.00517.38
8.1.180.0050.00318.89
8.1.170.0030.00518.48
8.1.160.0030.00322.12
8.1.150.0040.00418.45
8.1.140.0000.00717.31
8.1.130.0000.00717.79
8.1.120.0000.00717.21
8.1.110.0040.00417.27
8.1.100.0070.00017.30
8.1.90.0000.00717.20
8.1.80.0070.00017.22
8.1.70.0050.00517.21
8.1.60.0090.00017.37
8.1.50.0040.00417.30
8.1.40.0040.00417.37
8.1.30.0000.00717.46
8.1.20.0080.00017.55
8.1.10.0000.00717.30
8.1.00.0040.00417.36
8.0.300.0020.00519.79
8.0.290.0070.00017.15
8.0.280.0080.00018.29
8.0.270.0000.00717.08
8.0.260.0030.00316.61
8.0.250.0030.00316.81
8.0.240.0040.00416.85
8.0.230.0050.00316.84
8.0.220.0070.00016.62
8.0.210.0070.00016.73
8.0.200.0030.00316.85
8.0.190.0040.00416.83
8.0.180.0030.00516.79
8.0.170.0030.00516.78
8.0.160.0000.00716.61
8.0.150.0040.00416.53
8.0.140.0000.00716.71
8.0.130.0030.00313.32
8.0.120.0050.00316.73
8.0.110.0000.00816.64
8.0.100.0070.00016.73
8.0.90.0070.00016.66
8.0.80.0100.00716.74
8.0.70.0040.00416.75
8.0.60.0000.00716.64
8.0.50.0040.00416.64
8.0.30.0130.00616.96
8.0.20.0110.01317.40
8.0.10.0070.00016.78
8.0.00.0130.00516.63
7.4.330.0000.00515.00
7.4.320.0060.00016.31
7.4.300.0060.00016.51
7.4.290.0050.00216.38
7.4.280.0040.00416.43
7.4.270.0030.00316.37
7.4.260.0030.00316.34
7.4.250.0050.00316.26
7.4.240.0040.00316.43
7.4.230.0000.00716.20
7.4.220.0100.00716.45
7.4.210.0090.00716.48
7.4.200.0000.00716.39
7.4.190.0000.00716.32
7.4.160.0120.00416.29
7.4.150.0130.00617.40
7.4.140.0120.01017.86
7.4.130.0040.01216.33
7.4.120.0080.00816.33
7.4.110.0060.00916.39
7.4.100.0130.00416.29
7.4.90.0000.01716.36
7.4.80.0070.01019.39
7.4.70.0140.00916.48
7.4.60.0170.00016.52
7.4.50.0030.00616.28
7.4.40.0030.01222.77
7.4.30.0080.00816.15
7.3.330.0000.00513.25
7.3.320.0000.00712.99
7.3.310.0030.00316.12
7.3.300.0040.00416.12
7.3.290.0110.00316.10
7.3.280.0070.00716.11
7.3.270.0160.00017.40
7.3.260.0110.01116.25
7.3.250.0060.01116.08
7.3.240.0100.01016.42
7.3.230.0060.01116.52
7.3.210.0030.01316.40
7.3.200.0180.00319.39
7.3.190.0090.00816.12
7.3.180.0130.00416.14
7.3.170.0060.00916.27
7.3.160.0130.00316.21
7.2.330.0090.00916.47
7.2.320.0040.01316.49
7.2.310.0110.01116.62
7.2.300.0150.00916.45
7.2.290.0120.00416.50
7.2.100.0220.01514.59
7.2.90.0710.00414.53
7.2.80.0470.01314.58
7.2.70.0600.00614.45
7.2.60.0590.00314.33
7.2.50.0620.00314.86
7.2.40.0370.00414.91
7.2.30.0380.00615.00
7.2.20.0660.00614.82
7.2.10.0530.00314.92
7.2.00.0590.01414.58
7.1.220.0170.00313.61
7.1.210.0730.00913.61
7.1.200.0560.00313.80
7.1.190.0690.00414.00
7.1.180.0630.00313.99
7.1.170.0350.00413.61
7.1.160.0130.00613.61
7.1.150.0190.00313.61
7.1.140.0660.00313.61
7.1.130.0530.00314.05
7.1.120.0170.00013.84
7.1.110.0110.00713.92
7.1.100.0890.00613.91
7.1.90.0670.00613.90
7.1.80.0590.00313.83
7.1.70.0470.00613.77
7.1.60.0770.01031.77
7.1.50.0750.00731.88
7.1.40.0900.01032.18
7.1.30.0920.01231.43
7.1.20.0800.00031.65
7.1.10.0760.01113.92
7.1.00.1040.00913.71
7.0.310.1360.01313.61
7.0.300.0410.00813.63
7.0.290.0370.00913.61
7.0.280.1640.00313.61
7.0.270.1500.00713.68
7.0.260.0670.00613.64
7.0.250.0730.00013.61
7.0.240.0820.00313.88
7.0.230.0760.00013.61
7.0.220.0700.00613.61
7.0.210.0390.01013.61
7.0.200.0510.00313.61
7.0.190.0600.00313.61
7.0.180.0730.00313.61
7.0.170.0860.00013.61
7.0.160.0110.00313.61
7.0.150.0110.00513.61
7.0.140.1030.00013.61
7.0.130.0790.00913.63
7.0.120.0620.00613.61
7.0.110.0890.00313.61
7.0.100.0890.00213.61
7.0.90.0870.00313.61
7.0.80.0770.00413.61
7.0.70.0460.00413.61
7.0.60.0690.00313.61
7.0.50.0740.00713.71
7.0.40.0070.00713.61
7.0.30.0780.00613.96
7.0.20.0110.00513.77
7.0.10.0630.00013.69
7.0.00.1130.00613.71
5.6.380.0090.00814.13
5.6.370.0120.00913.94
5.6.360.0090.00413.76
5.6.350.0050.00814.32
5.6.340.0130.00014.29
5.6.330.0080.00814.22
5.6.320.0030.01413.98
5.6.310.0120.00414.23
5.6.300.0100.00614.23
5.6.290.0090.00914.20
5.6.280.0080.01113.86
5.6.270.0110.00513.91
5.6.260.0110.01014.18
5.6.250.0110.00413.95
5.6.240.0160.00413.92
5.6.230.0080.00813.99
5.6.220.0100.00313.64
5.6.210.0180.00013.77
5.6.200.0080.00414.33
5.6.190.0070.00714.48
5.6.180.0040.00814.28
5.6.170.0150.00314.41
5.6.160.0100.00314.25
5.6.150.0060.00614.32
5.6.140.0040.00814.46
5.6.130.0110.00714.39
5.6.120.0060.00814.19
5.6.110.0090.00914.25
5.6.100.0040.00814.27
5.6.90.0060.00614.13
5.6.80.0100.00214.46
5.6.70.0140.00314.35
5.6.60.0040.00914.10
5.6.50.0060.00914.39
5.6.40.0040.01114.16
5.6.30.0090.00614.37
5.6.20.0120.00414.44
5.6.10.0060.00614.31
5.6.00.0100.00314.43
5.5.380.0070.00413.61
5.5.370.0050.00513.61
5.5.360.0060.00613.61
5.5.350.0090.00313.61
5.5.340.0050.00513.61
5.5.330.0120.00013.61
5.5.320.0080.00413.61
5.5.310.0080.00513.61
5.5.300.0100.00013.61
5.5.290.0090.00013.61
5.5.280.0080.00313.61
5.5.270.0030.01313.61
5.5.260.0040.00613.61
5.5.250.0080.00313.61
5.5.240.0030.00813.61
5.5.230.0080.00313.61
5.5.220.0090.00613.61
5.5.210.0050.00613.61
5.5.200.0090.00313.61
5.5.190.0070.00713.61
5.5.180.0030.01013.61
5.5.170.0050.00814.25
5.5.160.0070.00313.61
5.5.150.0080.00513.61
5.4.450.0000.01013.61
5.4.440.0080.00413.61
5.4.430.0060.00313.61
5.4.420.0090.00013.61
5.4.410.0000.01013.61
5.4.400.0000.01013.61
5.4.390.0030.01013.61
5.4.380.0070.00713.61
5.4.370.0090.00013.61
5.4.360.0030.00713.61
5.4.350.0040.01113.61
5.4.340.0130.00313.61
5.4.330.0060.00913.61
5.4.320.0100.00013.61
5.4.310.0080.00813.61
5.3.290.0090.00313.61

preferences:
44.84 ms | 401 KiB | 5 Q