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"); } $today = new DateTime("now");

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.0150.00316.75
8.3.50.0150.00018.15
8.3.40.0130.00318.79
8.3.30.0090.00618.98
8.3.20.0070.00021.60
8.3.10.0060.00323.70
8.3.00.0080.00017.89
8.2.180.0070.01516.95
8.2.170.0100.00722.96
8.2.160.0140.00420.72
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0040.00419.11
8.2.120.0080.00026.35
8.2.110.0030.00619.16
8.2.100.0120.00017.91
8.2.90.0000.00817.74
8.2.80.0000.00719.30
8.2.70.0050.00518.03
8.2.60.0000.00817.88
8.2.50.0040.00418.10
8.2.40.0000.00922.34
8.2.30.0000.00719.43
8.2.20.0060.00318.08
8.2.10.0070.00017.95
8.2.00.0000.00818.23
8.1.280.0070.00725.92
8.1.270.0040.00423.91
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00721.33
8.1.230.0090.00320.98
8.1.220.0040.00417.77
8.1.210.0040.00418.77
8.1.200.0000.00817.38
8.1.190.0030.00617.38
8.1.180.0030.00518.10
8.1.170.0000.00918.68
8.1.160.0040.00418.96
8.1.150.0070.00019.12
8.1.140.0000.00817.77
8.1.130.0070.00022.05
8.1.120.0000.00717.68
8.1.110.0030.00617.61
8.1.100.0040.00417.63
8.1.90.0030.00517.65
8.1.80.0000.00817.65
8.1.70.0030.00317.62
8.1.60.0030.00517.74
8.1.50.0050.00517.68
8.1.40.0050.00317.53
8.1.30.0000.00817.68
8.1.20.0060.00317.68
8.1.10.0040.00417.65
8.1.00.0000.00917.55
8.0.300.0040.00419.94
8.0.290.0000.00716.75
8.0.280.0050.00318.45
8.0.270.0040.00417.22
8.0.260.0000.00716.94
8.0.250.0000.00717.16
8.0.240.0000.00817.15
8.0.230.0030.00317.05
8.0.220.0000.00717.09
8.0.210.0030.00317.09
8.0.200.0060.00017.14
8.0.190.0040.00417.04
8.0.180.0030.00517.03
8.0.170.0060.00317.03
8.0.160.0060.00617.08
8.0.150.0000.00716.97
8.0.140.0070.00017.09
8.0.130.0050.00013.41
8.0.120.0000.00816.89
8.0.110.0050.00316.93
8.0.100.0080.00017.09
8.0.90.0040.00416.91
8.0.80.0070.01117.10
8.0.70.0000.00816.95
8.0.60.0040.00416.98
8.0.50.0000.00717.16
8.0.30.0080.01217.23
8.0.20.0080.01017.40
8.0.10.0000.00717.05
8.0.00.0120.00716.82
7.4.330.0030.00315.55
7.4.320.0040.00416.51
7.4.300.0000.00616.55
7.4.290.0030.00316.59
7.4.280.0050.00216.61
7.4.270.0000.00816.75
7.4.260.0030.00316.77
7.4.250.0030.00316.70
7.4.240.0000.00816.57
7.4.230.0080.00016.81
7.4.220.0000.00716.54
7.4.210.0120.00616.68
7.4.200.0070.00016.72
7.4.160.0110.00616.67
7.4.140.0100.00917.86
7.4.130.0130.00716.66
7.4.120.0070.01516.60
7.4.110.0140.00316.62
7.4.100.0150.00716.62
7.4.90.0000.01716.69
7.4.80.0060.01319.39
7.4.70.0030.01316.66
7.4.60.0100.00716.54
7.4.50.0000.01316.50
7.4.40.0030.01516.71
7.4.00.0040.01114.92
7.3.330.0060.00013.26
7.3.320.0000.00613.07
7.3.310.0040.00416.29
7.3.300.0000.00716.38
7.3.290.0040.00416.32
7.3.280.0090.00716.40
7.3.260.0100.01016.49
7.3.240.0120.00916.63
7.3.230.0120.00416.42
7.3.210.0030.01316.54
7.3.200.0060.00916.27
7.3.190.0080.00816.67
7.3.180.0070.01016.54
7.3.170.0100.00716.62
7.3.160.0000.01516.57
7.3.120.0090.00617.15
7.3.110.0040.01117.15
7.3.100.0070.01117.15
7.3.90.0030.01417.15
7.3.80.0070.01017.15
7.3.70.0000.01717.15
7.3.60.0000.01217.15
7.3.50.0110.00317.15
7.3.40.0040.01417.15
7.3.30.0030.01217.15
7.3.20.0090.00617.15
7.3.10.0090.00617.15
7.3.00.0030.00917.15
7.2.330.0120.00416.57
7.2.320.0060.01116.75
7.2.310.0120.00616.71
7.2.300.0140.00316.61
7.2.290.0090.00616.80
7.2.240.0060.00917.15
7.2.230.0060.00917.15
7.2.220.0070.01017.15
7.2.210.0070.01017.15
7.2.200.0090.00017.15
7.2.190.0070.01017.15
7.2.180.0040.01417.15
7.2.170.0040.01417.15
7.2.160.0060.01017.15
7.2.150.0030.00917.15
7.2.140.0000.01617.15
7.2.130.0070.00717.15
7.2.120.0060.00617.15
7.2.110.0000.01617.15
7.2.100.0070.01017.15
7.2.90.0060.00317.15
7.2.80.0070.00717.15
7.2.70.0070.01117.15
7.2.60.0090.00517.02
7.2.50.0050.01217.04
7.2.40.0000.01617.15
7.2.30.0180.01417.52
7.2.20.0080.01517.64
7.2.10.0150.01117.58
7.2.00.0090.01017.43
7.1.330.0030.01317.15
7.1.320.0080.00617.15
7.1.310.0030.01317.15
7.1.300.0000.01417.15
7.1.290.0100.00317.15
7.1.280.0100.00717.15
7.1.270.0110.00417.15
7.1.260.0070.01017.15
7.1.250.0000.01517.15
7.1.200.0030.00916.05
7.1.150.0210.01716.85
7.1.140.0200.01716.93
7.1.130.0200.01617.20
7.1.120.0220.01216.65
7.1.110.0110.00716.40
7.1.100.0170.01216.13
7.1.90.0380.01016.07
7.1.80.0190.01216.52
7.1.70.0100.01115.26
7.1.60.0330.01033.29
7.1.50.0300.01332.96
7.1.40.0430.01632.66
7.1.30.0360.02032.62
7.1.20.0280.01332.94
7.1.10.0150.01414.72
7.1.00.0210.00914.96

preferences:
61.11 ms | 401 KiB | 5 Q