3v4l.org

run code in 300+ PHP versions simultaneously
<?php $monthNames = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); $omonth = -1; $start = TRUE; print_r ($monthNames); print_r ($omonth); if ($start == True) {; print_r ("TRUE"); }

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.0100.00716.63
8.3.50.0150.00616.63
8.3.40.0070.01118.63
8.3.30.0040.01118.50
8.3.20.0030.00621.78
8.3.10.0040.00423.48
8.3.00.0040.00419.44
8.2.180.0170.00316.48
8.2.170.0110.00422.96
8.2.160.0000.01421.24
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00819.37
8.2.120.0070.00026.35
8.2.110.0050.00521.13
8.2.100.0090.00317.84
8.2.90.0000.00817.97
8.2.80.0000.00719.20
8.2.70.0030.00517.67
8.2.60.0050.00317.63
8.2.50.0060.00318.10
8.2.40.0060.00322.23
8.2.30.0040.00419.51
8.2.20.0000.00718.04
8.2.10.0040.00417.58
8.2.00.0040.00418.11
8.1.280.0070.01325.92
8.1.270.0000.00723.96
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.45
8.1.230.0110.00021.03
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0000.00917.13
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0030.00618.64
8.1.160.0040.00418.87
8.1.150.0040.00418.92
8.1.140.0080.00017.69
8.1.130.0000.00819.07
8.1.120.0030.00317.43
8.1.110.0040.00417.34
8.1.100.0040.00417.32
8.1.90.0000.00817.35
8.1.80.0000.00717.43
8.1.70.0070.00017.35
8.1.60.0030.00517.46
8.1.50.0080.00017.49
8.1.40.0050.00217.52
8.1.30.0060.00317.54
8.1.20.0000.00817.45
8.1.10.0000.00717.34
8.1.00.0000.00917.30
8.0.300.0040.00419.98
8.0.290.0070.00016.75
8.0.280.0030.00318.36
8.0.270.0080.00017.24
8.0.260.0070.00016.77
8.0.250.0040.00416.82
8.0.240.0040.00416.81
8.0.230.0000.00717.00
8.0.220.0000.01016.75
8.0.210.0030.00316.81
8.0.200.0030.00316.93
8.0.190.0040.00416.87
8.0.180.0090.00316.80
8.0.170.0030.00616.91
8.0.160.0080.00316.84
8.0.150.0030.00316.89
8.0.140.0030.00316.81
8.0.130.0000.00913.30
8.0.120.0050.00216.73
8.0.110.0000.00716.81
8.0.100.0000.00716.88
8.0.90.0070.00016.74
8.0.80.0040.01116.84
8.0.70.0050.00316.98
8.0.60.0000.00716.69
8.0.50.0040.00416.75
8.0.30.0140.00417.11
8.0.20.0100.00817.40
8.0.10.0000.00717.11
8.0.00.0100.00716.61
7.4.330.0060.00015.55
7.4.320.0030.00316.51
7.4.300.0030.00316.61
7.4.290.0030.00316.63
7.4.280.0040.00416.49
7.4.270.0070.00016.54
7.4.260.0000.00716.60
7.4.250.0030.00316.46
7.4.240.0000.00716.60
7.4.230.0040.00416.38
7.4.220.0000.00716.23
7.4.210.0080.00916.59
7.4.200.0000.00816.57
7.4.160.0080.01116.47
7.4.140.0100.00717.86
7.4.130.0140.01316.61
7.4.120.0110.00916.52
7.4.110.0100.00716.44
7.4.100.0100.01016.35
7.4.90.0080.00816.45
7.4.80.0110.00919.39
7.4.70.0090.00916.38
7.4.60.0100.01016.41
7.4.50.0000.01816.25
7.4.40.0130.00316.41
7.4.00.0060.01015.04
7.3.330.0000.00512.95
7.3.320.0040.00413.08
7.3.310.0000.00616.00
7.3.300.0030.00316.21
7.3.290.0030.00516.20
7.3.280.0030.01216.13
7.3.260.0100.00816.29
7.3.240.0110.00516.28
7.3.230.0130.00916.40
7.3.210.0070.01016.40
7.3.200.0030.01216.20
7.3.190.0110.00716.36
7.3.180.0000.01516.19
7.3.170.0100.00616.46
7.3.160.0090.00616.47
7.3.10.0030.00916.60
7.3.00.0060.00616.63
7.2.330.0130.01016.51
7.2.320.0100.00616.17
7.2.310.0030.01316.30
7.2.300.0120.01116.35
7.2.290.0130.00416.59
7.2.130.0030.00916.63
7.2.120.0000.01416.63
7.2.110.0110.00716.73
7.2.100.0060.00316.84
7.2.90.0100.00616.76
7.2.80.0100.00316.39
7.2.70.0030.00616.68
7.2.60.0020.01116.72
7.2.50.0030.01016.59
7.2.40.0030.01016.73
7.2.30.0090.01017.22
7.2.20.0110.00717.36
7.2.10.0120.00817.22
7.2.00.0070.01217.21
7.1.250.0070.00715.45
7.1.200.0130.00315.81
7.1.150.0160.00916.16
7.1.140.0180.01117.01
7.1.130.0100.01316.45
7.1.120.0150.01316.84
7.1.110.0200.00616.21
7.1.100.0090.01416.17
7.1.90.0120.01115.96
7.1.80.0120.00716.09
7.1.70.0090.00914.94
7.1.60.0380.01433.26
7.1.50.0320.01732.61
7.1.40.0290.01132.39
7.1.30.0280.01532.44
7.1.20.0310.01432.64
7.1.10.0110.01014.65
7.1.00.0090.01414.87

preferences:
31.2 ms | 400 KiB | 5 Q