3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params = [ 'types' => 'sss', 'endtime' => '000', 'restart' => '999', 'id' => $serverid ]; $query = 'UPDATE %s SET endtime = ?, evcomment = "Errors: Interrupted" WHERE starttime = endtime AND starttime < ? AND server = ?'; foreach ([ 'events', 'ongoing_events' ] as $table) { printf($query, $table); echo PHP_EOL; print_r($params); echo PHP_EOL; }

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.0180.00416.88
8.3.50.0130.00618.18
8.3.40.0040.01118.84
8.3.30.0120.00618.56
8.3.20.0040.00420.19
8.3.10.0070.00721.73
8.3.00.0040.00423.74
8.2.180.0120.00316.63
8.2.170.0060.01022.96
8.2.160.0130.00020.43
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0000.00820.66
8.2.120.0080.00026.35
8.2.110.0060.00319.21
8.2.100.0080.00318.05
8.2.90.0050.00219.41
8.2.80.0000.00817.97
8.2.70.0060.00317.73
8.2.60.0100.00317.80
8.2.50.0040.00418.09
8.2.40.0000.00720.30
8.2.30.0080.00019.34
8.2.20.0030.00617.66
8.2.10.0050.00218.08
8.2.00.0030.00518.05
8.1.280.0110.00425.92
8.1.270.0110.00422.03
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.48
8.1.230.0090.00317.83
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0080.00017.35
8.1.190.0030.00517.10
8.1.180.0000.00918.10
8.1.170.0090.00018.50
8.1.160.0000.00720.60
8.1.150.0000.00820.53
8.1.140.0000.00819.46
8.1.130.0000.00719.08
8.1.120.0000.00717.42
8.1.110.0020.00517.39
8.1.100.0000.00817.29
8.1.90.0040.00417.32
8.1.80.0000.00817.32
8.1.70.0000.00717.38
8.1.60.0000.00717.55
8.1.50.0060.00317.39
8.1.40.0040.00417.40
8.1.30.0000.00917.42
8.1.20.0000.00717.43
8.1.10.0050.00317.57
8.1.00.0000.00717.41
8.0.300.0050.00318.77
8.0.290.0070.00016.71
8.0.280.0070.00018.49
8.0.270.0050.00317.29
8.0.260.0030.00316.84
8.0.250.0000.00716.96
8.0.240.0070.00016.96
8.0.230.0000.00816.96
8.0.220.0030.00316.93
8.0.210.0000.00716.91
8.0.200.0000.00716.92
8.0.190.0060.00616.95
8.0.180.0040.00416.82
8.0.170.0000.00716.91
8.0.160.0000.00716.85
8.0.150.0080.00016.75
8.0.140.0030.00316.85
8.0.130.0030.00313.31
8.0.120.0000.00716.75
8.0.110.0000.00716.79
8.0.100.0000.00716.70
8.0.90.0040.00416.68
8.0.80.0090.00616.80
8.0.70.0000.00816.88
8.0.60.0050.00217.00
8.0.50.0040.00416.84
8.0.30.0100.00817.16
8.0.20.0060.01217.40
8.0.10.0000.00717.04
8.0.00.0100.01216.70
7.4.330.0020.00216.82
7.4.320.0000.00716.54
7.4.300.0040.00416.54
7.4.290.0040.00416.45
7.4.280.0040.00416.43
7.4.270.0030.00316.54
7.4.260.0030.00916.52
7.4.250.0050.00316.38
7.4.240.0040.00416.58
7.4.230.0040.00416.43
7.4.220.0030.01316.43
7.4.210.0100.00416.40
7.4.200.0000.00716.61
7.4.160.0060.01216.33
7.4.150.0100.00717.40
7.4.140.0080.01017.86
7.4.130.0130.00716.32
7.4.120.0120.00716.51
7.4.110.0040.01316.62
7.4.100.0110.00916.32
7.4.90.0090.00916.54
7.4.80.0090.01219.39
7.4.70.0190.00316.55
7.4.60.0060.01316.37
7.4.50.0040.01416.63
7.4.40.0090.01216.36
7.4.30.0170.00316.67
7.4.10.0110.01116.47
7.4.00.0090.00815.52
7.3.330.0030.00313.24
7.3.320.0060.00013.22
7.3.310.0000.00716.46
7.3.300.0070.00016.37
7.3.290.0110.00816.37
7.3.280.0050.01016.46
7.3.270.0100.00717.40
7.3.260.0130.00516.33
7.3.250.0060.01316.50
7.3.240.0090.00916.44
7.3.230.0170.00716.43
7.3.210.0070.01416.36
7.3.200.0070.01619.39
7.3.190.0140.00316.53
7.3.180.0040.01216.66
7.3.170.0070.01016.34
7.3.160.0060.01016.53
7.3.130.0150.00316.59
7.3.120.0110.00715.61
7.3.110.0070.00815.57
7.3.100.0070.00515.59
7.3.90.0090.00515.68
7.3.80.0050.00915.71
7.3.70.0030.01115.54
7.3.60.0030.01215.66
7.3.50.0100.00515.64
7.3.40.0020.01115.50
7.3.30.0090.00315.71
7.3.20.0040.01017.31
7.3.10.0060.00717.27
7.3.00.0050.00817.52
7.2.330.0090.00916.69
7.2.320.0110.00716.66
7.2.310.0100.00716.61
7.2.300.0090.00916.51
7.2.290.0090.00616.34
7.2.260.0070.01416.64
7.2.250.0090.01115.72
7.2.240.0080.01015.69
7.2.230.0030.00815.63
7.2.220.0100.00715.59
7.2.210.0050.01115.74
7.2.200.0050.00915.75
7.2.190.0020.01615.62
7.2.180.0100.00515.73
7.2.170.0070.00615.67
7.2.160.0110.00316.42
7.2.150.0100.00018.45
7.2.140.0000.01318.34
7.2.130.0030.01018.23
7.2.120.0070.00718.27
7.2.110.0030.01218.27
7.2.100.0040.00818.40
7.2.90.0030.00918.35
7.2.80.0060.00918.21
7.2.70.0040.01118.15
7.2.60.0060.00917.64
7.2.50.0030.01218.20
7.2.40.0040.01418.49
7.2.30.0070.01018.47
7.2.20.0150.00318.22
7.2.10.0000.01018.39
7.2.00.0100.00718.76
7.1.330.0030.01216.57
7.1.320.0050.01016.66
7.1.310.0030.01216.54
7.1.300.0070.00716.54
7.1.290.0030.01016.63
7.1.280.0070.00916.57
7.1.270.0080.00716.37
7.1.260.0060.00716.44
7.1.250.0070.00317.14
7.1.240.0030.01017.13
7.1.230.0040.00717.33
7.1.220.0070.00717.23
7.1.210.0060.00817.19
7.1.200.0070.00516.67
7.1.190.0000.01017.40
7.1.180.0060.00617.06
7.1.170.0000.00917.21
7.1.160.0100.00317.16
7.1.150.0070.00717.21
7.1.140.0000.00917.35
7.1.130.0060.00917.21
7.1.120.0060.00617.27
7.1.110.0060.00617.21
7.1.100.0080.00617.53
7.1.90.0040.00717.26
7.1.80.0040.00817.14
7.1.70.0080.00317.29
7.1.60.0030.01318.38
7.1.50.0060.00817.02
7.1.40.0060.00317.32
7.1.30.0060.01017.26
7.1.20.0070.00317.07
7.1.10.0110.00316.98
7.1.00.0030.04319.90
7.0.330.0130.00316.91
7.0.320.0030.00817.00
7.0.310.0090.00616.88
7.0.300.0120.00016.90
7.0.290.0040.01116.96
7.0.280.0070.00317.15
7.0.270.0060.00917.09
7.0.260.0030.01016.98
7.0.250.0070.01017.20
7.0.240.0040.01116.84
7.0.230.0040.01117.08
7.0.220.0030.00716.98
7.0.210.0040.00817.08
7.0.200.0230.00515.83
7.0.190.0060.00616.88
7.0.180.0030.01016.94
7.0.170.0090.00617.10
7.0.160.0060.00916.95
7.0.150.0060.00617.19
7.0.140.0030.01017.14
7.0.130.0060.00917.16
7.0.120.0030.00717.02
7.0.110.0100.00316.96
7.0.100.0090.00616.96
7.0.90.0090.00417.02
7.0.80.0070.00316.95
7.0.70.0050.00816.98
7.0.60.0220.04018.54
7.0.50.0080.02017.45
7.0.40.0050.03317.39
7.0.30.0230.04017.50
7.0.20.0120.02517.49
7.0.10.0110.04517.38
7.0.00.0050.05017.55
5.6.400.0000.01415.81
5.6.390.0000.01715.89
5.6.380.0080.00315.88
5.6.370.0070.00716.11
5.6.360.0070.00716.05
5.6.350.0110.00415.54
5.6.340.0080.00415.86
5.6.330.0030.01615.96
5.6.320.0000.01616.00
5.6.310.0100.00315.58
5.6.300.0040.01115.71
5.6.290.0060.00615.52
5.6.280.0040.02118.60
5.6.270.0040.00715.91
5.6.260.0100.00315.86
5.6.250.0060.01015.84
5.6.240.0100.00315.71
5.6.230.0000.01015.96
5.6.220.0000.01015.71
5.6.210.0080.04018.20
5.6.200.0080.02317.03
5.6.190.0100.04418.28
5.6.180.0100.04118.04
5.6.170.0170.04218.11
5.6.160.0050.02418.24
5.6.150.0070.03216.99
5.6.140.0050.02517.04
5.6.130.0090.02016.92
5.6.120.0050.02318.54
5.6.110.0130.03718.39
5.6.100.0070.04818.37
5.6.90.0130.04518.50
5.6.80.0070.04418.16
5.6.70.0030.01315.79
5.6.60.0100.00315.86
5.6.50.0040.01115.52
5.6.40.0090.00615.57
5.6.30.0030.00615.64
5.6.20.0100.00315.60
5.6.10.0110.00315.76
5.6.00.0030.01615.70
5.5.380.0100.00315.59
5.5.370.0150.00315.51
5.5.360.0000.01415.43
5.5.350.0150.04018.03
5.5.340.0070.04116.71
5.5.330.0090.03717.92
5.5.320.0300.02917.78
5.5.310.0210.03917.79
5.5.300.0150.03716.72
5.5.290.0100.04016.72
5.5.280.0030.04818.08
5.5.270.0070.04818.17
5.5.260.0070.04518.15
5.5.250.0120.03718.18
5.5.240.0120.04318.00
5.5.230.0120.00615.51
5.5.220.0080.00815.68
5.5.210.0070.01115.64
5.5.200.0000.01515.66
5.5.190.0090.00915.85
5.5.180.0070.00715.71
5.5.170.0040.01515.70
5.5.160.0040.01515.69
5.5.150.0100.00715.80
5.5.140.0070.01015.70
5.5.130.0180.00315.28
5.5.120.0040.01215.52
5.5.110.0040.01515.77
5.5.100.0070.01115.43
5.5.90.0090.00615.39
5.5.80.0000.02015.63
5.5.70.0120.00615.55
5.5.60.0030.01215.58
5.5.50.0080.01215.71
5.5.40.0090.00915.78
5.5.30.0090.00915.36
5.5.20.0140.00315.57
5.5.10.0110.00415.63
5.5.00.0070.01115.58

preferences:
55.2 ms | 401 KiB | 5 Q