3v4l.org

run code in 300+ PHP versions simultaneously
<?php $SETTINGS_nighttime_start = '22:00'; $SETTINGS_nighttime_end = '07:00'; // Töötajad ning nende tööajad $EMPLOYEES = array( '0' => array( 'name' => 'Juhan Jalgratas', 'shift_start' => '15:15', 'shift_end' => '23:45' ), '1' => array( 'name' => 'Mauno Maasikas', 'shift_start' => '10:00', 'shift_end' => '22:00' ), '2' => array( 'name' => 'Kati Kuusemets', 'shift_start' => '22:30', 'shift_end' => '08:00' ), '3' => array( 'name' => 'Pille-Mati Jämispehmut', 'shift_start' => '20:00', 'shift_end' => '10:00' ), '4' => array( 'name' => 'Käsna-Kalle Kantpüks', 'shift_start' => '09:00', 'shift_end' => '17:00' ), '5' => array( 'name' => 'Aita-Leida Kuusepuu', 'shift_start' => '23:00', 'shift_end' => '06:00' ), ); foreach($EMPLOYEES as $employee){ echo "\n",$employee['name'], "\t\t", $employee['shift_start'], $employee['shift_start']; } ?>

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.00916.63
8.3.50.0080.01121.13
8.3.40.0190.00318.93
8.3.30.0120.00318.81
8.3.20.0000.00820.20
8.3.10.0040.00421.76
8.3.00.0040.00419.14
8.2.180.0160.00316.50
8.2.170.0140.00022.96
8.2.160.0060.00620.35
8.2.150.0040.00424.18
8.2.140.0080.00524.66
8.2.130.0070.00026.16
8.2.120.0040.00421.04
8.2.110.0060.00322.11
8.2.100.0060.00617.78
8.2.90.0040.00419.20
8.2.80.0080.00017.97
8.2.70.0000.00917.38
8.2.60.0000.00918.04
8.2.50.0080.00018.07
8.2.40.0090.00018.16
8.2.30.0030.00618.01
8.2.20.0000.00817.62
8.2.10.0040.00418.02
8.2.00.0000.00918.04
8.1.280.0070.00725.92
8.1.270.0140.00420.18
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0090.00920.32
8.1.230.0000.01217.89
8.1.220.0030.00617.78
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0040.00417.55
8.1.180.0040.00418.56
8.1.170.0080.00018.56
8.1.160.0000.00822.13
8.1.150.0070.00018.68
8.1.140.0040.00417.40
8.1.130.0070.00017.71
8.1.120.0000.00717.43
8.1.110.0040.00417.44
8.1.100.0050.00217.50
8.1.90.0040.00417.44
8.1.80.0040.00417.46
8.1.70.0040.00417.33
8.1.60.0000.00817.60
8.1.50.0040.00417.42
8.1.40.0070.00017.39
8.1.30.0040.00417.69
8.1.20.0030.00417.68
8.1.10.0000.00717.47
8.1.00.0050.00217.34
8.0.300.0070.00018.77
8.0.290.0070.00017.18
8.0.280.0030.00318.43
8.0.270.0040.00417.26
8.0.260.0030.00317.26
8.0.250.0040.00416.98
8.0.240.0000.00816.98
8.0.230.0060.00316.98
8.0.220.0040.00416.92
8.0.210.0000.00716.92
8.0.200.0060.00016.95
8.0.190.0000.00716.81
8.0.180.0000.00816.88
8.0.170.0000.00816.97
8.0.160.0000.00716.77
8.0.150.0040.00416.80
8.0.140.0030.00416.83
8.0.130.0000.00513.32
8.0.120.0030.00616.81
8.0.110.0040.00416.86
8.0.100.0020.00516.77
8.0.90.0030.00316.83
8.0.80.0130.00316.92
8.0.70.0000.00716.86
8.0.60.0040.00416.85
8.0.50.0000.00716.67
8.0.30.0100.00917.15
8.0.20.0080.01117.40
8.0.10.0050.00216.91
8.0.00.0090.00916.74
7.4.330.0030.00315.08
7.4.320.0030.00316.51
7.4.300.0000.00616.65
7.4.290.0030.00616.51
7.4.280.0000.00716.40
7.4.270.0000.00716.53
7.4.260.0030.00316.50
7.4.250.0040.00416.57
7.4.240.0040.00316.52
7.4.230.0050.00316.40
7.4.220.0090.00916.66
7.4.210.0070.00716.60
7.4.200.0050.00316.68
7.4.160.0080.00816.37
7.4.150.0090.00917.40
7.4.140.0100.01117.86
7.4.130.0030.01616.46
7.4.120.0050.01316.41
7.4.110.0070.01016.41
7.4.100.0090.01616.49
7.4.90.0130.00316.65
7.4.80.0130.00919.39
7.4.70.0000.01716.35
7.4.60.0080.00816.42
7.4.50.0000.00816.63
7.4.40.0090.00916.64
7.4.30.0060.01716.52
7.4.00.0070.00714.89
7.3.330.0000.00613.03
7.3.320.0000.00513.11
7.3.310.0030.00316.34
7.3.300.0060.00016.23
7.3.290.0040.01116.27
7.3.280.0040.01316.27
7.3.270.0140.00317.40
7.3.260.0070.01816.59
7.3.240.0100.00716.36
7.3.230.0120.00616.49
7.3.210.0080.00816.67
7.3.200.0140.00419.39
7.3.190.0160.00416.37
7.3.180.0030.01316.41
7.3.170.0130.00616.31
7.3.160.0130.00416.38
7.2.330.0080.00916.71
7.2.320.0100.00616.36
7.2.310.0030.01316.46
7.2.300.0130.00316.72
7.2.290.0110.00716.57
7.2.60.0060.00616.77
7.2.00.0090.00619.47
7.1.100.0030.00617.91
7.1.70.0050.00217.19
7.1.60.0030.02119.48
7.1.50.0250.01334.80
7.1.00.0030.07722.40
7.0.200.0080.00016.78
7.0.60.0130.08320.02
7.0.50.0030.04017.66
7.0.40.0170.07320.41
7.0.30.0370.07020.17
7.0.20.0270.08020.17
7.0.10.0400.07320.20
7.0.00.0100.03720.01
5.6.210.0100.08320.67
5.6.200.0070.04318.21
5.6.190.0030.08320.77
5.6.180.3930.04320.79
5.6.170.0170.05320.71
5.6.160.0030.07320.51
5.6.150.0000.04718.21
5.6.140.0030.06318.07
5.6.130.0070.04718.21
5.6.120.0070.08721.14
5.6.110.0030.05321.13
5.6.100.0070.07720.93
5.6.90.0030.05321.07
5.6.80.0030.04320.40
5.6.70.1430.04720.38
5.5.350.0100.03720.40
5.5.340.0100.03318.01
5.5.330.0070.03720.47
5.5.320.0300.04320.30
5.5.310.0370.06720.27
5.5.300.0000.05017.86
5.5.290.0100.08017.92
5.5.280.0070.04720.89
5.5.270.0070.07320.76
5.5.260.0030.05320.75
5.5.250.0170.07720.77
5.5.240.0000.04320.04
5.4.450.0070.03719.46
5.4.440.0170.06019.27
5.4.430.0230.04719.48
5.4.420.0030.06019.32
5.4.410.0170.04719.34
5.4.400.0070.05319.16
5.4.390.0030.05718.92
5.4.380.0130.05019.26
5.4.370.0070.05719.02
5.4.360.0130.04719.00
5.4.350.0030.06019.07
5.4.340.0030.06018.98
5.4.320.0070.05718.99
5.4.310.0000.06018.95
5.4.300.0070.05318.90
5.4.290.0070.05319.09
5.4.280.0070.05319.07
5.4.270.0100.05019.15
5.4.260.0030.06019.24
5.4.250.0000.06318.95
5.4.240.0030.06019.12
5.4.230.0200.04018.92
5.4.220.0100.05319.13
5.4.210.0070.05718.94
5.4.200.0030.05316.52
5.4.190.0030.05719.14
5.4.180.0100.05019.04
5.4.170.0030.06019.13
5.4.160.0200.04019.13
5.4.150.0100.05319.05
5.4.140.0100.05016.23
5.4.130.0000.05716.54
5.4.120.0000.05716.34
5.4.110.0100.04716.19
5.4.100.0100.05016.48
5.4.90.0170.04316.55
5.4.80.0100.04716.52
5.4.70.0030.05716.48
5.4.60.0130.05016.23
5.4.50.0130.05016.16
5.4.40.0100.05316.51
5.4.30.0000.05716.49
5.4.20.0100.05716.16
5.4.10.0030.05716.52
5.4.00.0030.05315.86
5.3.290.0200.04314.67
5.3.280.0230.03714.53
5.3.270.0070.05714.60
5.3.260.0130.04714.55
5.3.250.0000.06014.50
5.3.240.0130.07014.54
5.3.230.0100.05314.44
5.3.220.0130.05014.43
5.3.210.0100.05714.41
5.3.200.0130.04714.46
5.3.190.0000.06014.42
5.3.180.0000.06014.59
5.3.170.0100.05714.58
5.3.160.0100.05014.43
5.3.150.0200.05314.49
5.3.140.0030.05714.57
5.3.130.0200.04314.48
5.3.120.0170.04714.45
5.3.110.0070.05714.58
5.3.100.0100.05014.07
5.3.90.0030.05714.02
5.3.80.0170.04013.94
5.3.70.0070.05014.04
5.3.60.0130.04313.84
5.3.50.0200.03713.81
5.3.40.0170.04013.93
5.3.30.0100.04713.75
5.3.20.0000.05713.58
5.3.10.0130.06313.66
5.3.00.0070.05313.65
5.2.170.0030.04311.01
5.2.160.0200.02711.07
5.2.150.0100.06311.15
5.2.140.0130.06011.09
5.2.130.0170.03310.95
5.2.120.0030.04311.15
5.2.110.0000.04711.15
5.2.100.0100.03711.03
5.2.90.0070.04011.20
5.2.80.0130.03310.95
5.2.70.0130.03310.95
5.2.60.0100.03711.05
5.2.50.0030.05010.93
5.2.40.0000.04711.04
5.2.30.0030.04310.98
5.2.20.0030.04310.88
5.2.10.0070.04010.90
5.2.00.0000.04710.71
5.1.60.0070.03310.09
5.1.50.0070.0339.89
5.1.40.0070.0339.91
5.1.30.0030.03710.24
5.1.20.0130.03010.30
5.1.10.0070.0379.99
5.1.00.0070.03310.15
5.0.50.0130.0208.54
5.0.40.0070.0308.32
5.0.30.0030.0438.16
5.0.20.0070.0238.11
5.0.10.0070.0278.04
5.0.00.0030.0438.30
4.4.90.0030.0205.76
4.4.80.0000.0335.85
4.4.70.0000.0305.81
4.4.60.0070.0205.75
4.4.50.0030.0205.91
4.4.40.0070.0305.87
4.4.30.0070.0175.85
4.4.20.0000.0305.82
4.4.10.0000.0235.93
4.4.00.0070.0305.78
4.3.110.0030.0205.71
4.3.100.0030.0235.68
4.3.90.0070.0175.66
4.3.80.0130.0235.78
4.3.70.0030.0205.66
4.3.60.0030.0205.77
4.3.50.0000.0235.65
4.3.40.0030.0335.62
4.3.30.0100.0174.42
4.3.20.0000.0274.50
4.3.10.0000.0234.50
4.3.00.0030.01315.32

preferences:
51.61 ms | 401 KiB | 5 Q