3v4l.org

run code in 300+ PHP versions simultaneously
<?php $days = array( 'maandag' => strtotime( "next monday" ), 'dinsdag' => strtotime( "tuesday" ), 'woensdag'=>strtotime( "wednesday" ), 'thursday' => strtotime( "thursday" ), 'friday'=> strtotime( "friday" ), 'saturday'=> strtotime( "saturday" ), 'sunday'=> strtotime( "sunday" ), ); foreach($days as $name => $time){ echo $name . ' ' .date('j-n-Y',$time) . "\n"; }

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.0040.01116.88
8.3.50.0080.01322.11
8.3.40.0150.00618.70
8.3.30.0030.01018.84
8.3.20.0080.00019.20
8.3.10.0030.00523.65
8.3.00.0040.00422.44
8.2.180.0030.01018.41
8.2.170.0200.00022.96
8.2.160.0110.01121.32
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00022.38
8.2.120.0000.00726.35
8.2.110.0060.00619.46
8.2.100.0080.00418.00
8.2.90.0000.00819.31
8.2.80.0040.00417.97
8.2.70.0040.00417.88
8.2.60.0040.00418.16
8.2.50.0040.00418.10
8.2.40.0070.00020.54
8.2.30.0050.00219.44
8.2.20.0050.00218.03
8.2.10.0000.00718.09
8.2.00.0040.00418.12
8.1.280.0110.00725.92
8.1.270.0030.00623.92
8.1.260.0090.00028.09
8.1.250.0060.00328.09
8.1.240.0060.00323.96
8.1.230.0110.00017.83
8.1.220.0000.01017.80
8.1.210.0030.00518.77
8.1.200.0030.00717.48
8.1.190.0030.00517.36
8.1.180.0030.00618.10
8.1.170.0080.00018.81
8.1.160.0000.00722.25
8.1.150.0040.00418.95
8.1.140.0050.00319.62
8.1.130.0030.00317.83
8.1.120.0070.00017.60
8.1.110.0040.00417.72
8.1.100.0040.00417.59
8.1.90.0040.00417.62
8.1.80.0000.00717.73
8.1.70.0030.00317.77
8.1.60.0030.00617.76
8.1.50.0080.00017.61
8.1.40.0000.00817.71
8.1.30.0030.00517.84
8.1.20.0050.00317.86
8.1.10.0000.00817.77
8.1.00.0090.00017.70
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0030.00318.57
8.0.270.0000.00717.39
8.0.260.0000.00717.32
8.0.250.0000.00817.19
8.0.240.0070.00017.09
8.0.230.0000.00717.14
8.0.220.0080.00017.13
8.0.210.0030.00317.17
8.0.200.0000.00617.20
8.0.190.0050.00317.20
8.0.180.0040.00417.14
8.0.170.0040.00417.18
8.0.160.0080.00017.02
8.0.150.0070.00017.19
8.0.140.0070.00317.08
8.0.130.0030.00313.46
8.0.120.0000.00817.17
8.0.110.0060.00317.19
8.0.100.0070.00016.93
8.0.90.0000.00716.97
8.0.80.0070.01017.04
8.0.70.0050.00317.11
8.0.60.0000.00716.98
8.0.50.0040.00417.20
8.0.30.0060.01217.56
8.0.20.0130.00817.48
8.0.10.0040.00417.28
8.0.00.0070.01016.95
7.4.330.0020.00215.17
7.4.320.0000.00716.75
7.4.300.0030.00316.68
7.4.290.0030.00316.71
7.4.280.0070.00416.68
7.4.270.0070.00016.69
7.4.260.0000.00716.76
7.4.250.0050.00316.68
7.4.240.0000.00716.61
7.4.230.0030.00316.90
7.4.220.0120.00616.76
7.4.210.0100.00716.77
7.4.200.0000.00716.89
7.4.160.0090.00716.75
7.4.150.0130.00717.40
7.4.140.0090.01217.86
7.4.130.0080.00916.75
7.4.120.0110.01216.58
7.4.110.0100.01316.61
7.4.100.0030.01216.80
7.4.90.0090.00916.78
7.4.80.0110.00719.39
7.4.70.0190.00316.73
7.4.60.0090.00916.71
7.4.50.0060.00916.89
7.4.40.0080.00816.80
7.4.30.0080.00916.89
7.4.00.0000.01515.07
7.3.330.0000.00713.29
7.3.320.0030.00313.35
7.3.310.0000.00816.46
7.3.300.0070.00016.32
7.3.290.0000.00716.44
7.3.280.0070.01016.45
7.3.270.0040.01317.40
7.3.260.0100.00716.52
7.3.250.0100.00916.71
7.3.240.0110.00716.65
7.3.230.0140.00316.46
7.3.210.0060.01216.76
7.3.200.0130.00316.48
7.3.190.0070.01016.52
7.3.180.0110.00716.70
7.3.170.0120.00616.46
7.3.160.0110.00616.73
7.3.10.0120.00316.82
7.3.00.0060.00916.99
7.2.330.0090.00916.67
7.2.320.0060.01216.94
7.2.310.0140.00616.78
7.2.300.0060.01016.99
7.2.290.0090.00916.83
7.2.130.0040.00417.16
7.2.120.0040.00817.09
7.2.110.0000.01217.16
7.2.100.0030.00717.17
7.2.90.0070.00717.39
7.2.80.0040.00717.09
7.2.70.0060.00617.32
7.2.60.0070.00717.24
7.2.50.0070.00717.23
7.2.40.0030.00917.23
7.2.30.0040.00417.29
7.2.20.0040.01117.16
7.2.10.0060.00916.92
7.2.00.0070.00518.42
7.1.250.0000.01116.07
7.1.70.0060.00317.43
7.1.60.0060.00617.54
7.1.00.0100.07322.40
7.0.200.0170.00315.01
7.0.100.0030.06019.96
7.0.90.0130.08019.98
7.0.80.0230.05019.93
7.0.70.0230.05319.92
7.0.60.0100.08320.00
7.0.50.0100.07320.35
7.0.40.0100.07020.45
7.0.30.0030.07720.35
7.0.20.0230.05320.45
7.0.10.0170.08020.38
7.0.00.0100.06020.34
5.6.250.0070.06020.67
5.6.240.0100.07020.78
5.6.230.0170.05020.56
5.6.220.0130.07320.74
5.6.210.0070.07320.59
5.6.200.0130.05321.20
5.6.190.0170.05321.04
5.6.180.0070.06321.10
5.6.170.0130.05721.20
5.6.160.0100.07021.02
5.6.150.0170.07721.04
5.6.140.0070.06021.19
5.6.130.0070.07321.05
5.6.120.0070.07321.06
5.6.110.0070.07021.16
5.6.100.0100.07021.16
5.6.90.0100.06321.14
5.6.80.0070.06020.49
5.6.70.0070.05720.43
5.6.60.0130.05020.45
5.6.50.0100.05320.46
5.6.40.0100.06320.44
5.6.30.0070.08020.45
5.6.20.0200.04320.41
5.6.10.0170.07020.38
5.6.00.0070.05720.33

preferences:
21.89 ms | 401 KiB | 5 Q