3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params = [ 'types' => 'sss', 'endtime' => $time_ms . '000', 'restart' => $time_ms . '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.0090.01216.50
8.3.50.0130.00821.02
8.3.40.0110.00718.88
8.3.30.0070.01018.71
8.3.20.0030.00520.34
8.3.10.0080.00021.72
8.3.00.0080.00023.69
8.2.180.0100.00716.50
8.2.170.0030.01222.96
8.2.160.0030.01020.39
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0080.00020.88
8.2.120.0000.00826.35
8.2.110.0110.00019.31
8.2.100.0080.00417.93
8.2.90.0030.00619.36
8.2.80.0030.00617.97
8.2.70.0060.00317.86
8.2.60.0050.00318.05
8.2.50.0060.00318.09
8.2.40.0040.00422.37
8.2.30.0000.00719.45
8.2.20.0080.00017.87
8.2.10.0000.00718.05
8.2.00.0030.00618.12
8.1.280.0090.00925.92
8.1.270.0070.00022.09
8.1.260.0000.00728.09
8.1.250.0050.00328.09
8.1.240.0030.00722.29
8.1.230.0040.00717.89
8.1.220.0050.00317.76
8.1.210.0040.00418.77
8.1.200.0100.00017.35
8.1.190.0030.00517.23
8.1.180.0090.00018.10
8.1.170.0040.00418.44
8.1.160.0000.00820.69
8.1.150.0060.00318.88
8.1.140.0030.00519.43
8.1.130.0000.00717.55
8.1.120.0000.00717.36
8.1.110.0000.00817.36
8.1.100.0030.00517.43
8.1.90.0050.00317.29
8.1.80.0000.00917.39
8.1.70.0040.00417.39
8.1.60.0040.00417.53
8.1.50.0000.00817.35
8.1.40.0000.00817.36
8.1.30.0000.00817.58
8.1.20.0050.00317.53
8.1.10.0040.00417.54
8.1.00.0000.00817.55
8.0.300.0000.00918.77
8.0.290.0070.00016.73
8.0.280.0030.00318.38
8.0.270.0040.00417.15
8.0.260.0040.00417.16
8.0.250.0030.00316.88
8.0.240.0040.00417.00
8.0.230.0030.00316.90
8.0.220.0030.00316.86
8.0.210.0000.00716.83
8.0.200.0030.00317.00
8.0.190.0030.00917.05
8.0.180.0040.00416.89
8.0.170.0050.00316.93
8.0.160.0000.00816.83
8.0.150.0000.00716.91
8.0.140.0030.00316.84
8.0.130.0030.00313.34
8.0.120.0030.00516.83
8.0.110.0040.00416.91
8.0.100.0050.00216.99
8.0.90.0000.00816.86
8.0.80.0130.00716.95
8.0.70.0080.00016.82
8.0.60.0050.00217.00
8.0.50.0080.00016.89
8.0.30.0090.00916.98
8.0.20.0120.00817.40
8.0.10.0040.00417.08
8.0.00.0120.01016.74
7.4.330.0030.00316.79
7.4.320.0000.00616.55
7.4.300.0030.00516.33
7.4.290.0000.00716.45
7.4.280.0050.00316.44
7.4.270.0000.00716.54
7.4.260.0000.00716.57
7.4.250.0070.00016.31
7.4.240.0080.00016.48
7.4.230.0070.00016.32
7.4.220.0100.00716.49
7.4.210.0130.00616.63
7.4.200.0070.00016.43
7.4.160.0100.00616.48
7.4.150.0050.01217.40
7.4.140.0070.01017.86
7.4.130.0150.00416.69
7.4.120.0130.00416.56
7.4.110.0060.01216.52
7.4.100.0110.00816.43
7.4.90.0040.01416.52
7.4.80.0030.01319.39
7.4.70.0140.00416.58
7.4.60.0070.01116.35
7.4.50.0030.00716.50
7.4.40.0090.01716.52
7.4.30.0070.01416.41
7.4.00.0120.00315.18
7.3.330.0050.00013.31
7.3.320.0060.00013.26
7.3.310.0000.00716.31
7.3.300.0030.00316.31
7.3.290.0090.00916.37
7.3.280.0110.00916.41
7.3.270.0110.01117.40
7.3.260.0160.00816.29
7.3.250.0110.00716.53
7.3.240.0080.00816.45
7.3.230.0000.02116.41
7.3.210.0000.01716.40
7.3.200.0040.01519.39
7.3.190.0140.00316.64
7.3.180.0060.01316.30
7.3.170.0030.01516.56
7.3.160.0070.01016.63
7.3.10.0060.00916.52
7.3.00.0080.00616.67
7.2.330.0090.01016.56
7.2.320.0070.01016.24
7.2.310.0080.00816.79
7.2.300.0100.00716.23
7.2.290.0060.01016.73
7.2.130.0040.01116.84
7.2.120.0120.00616.84
7.2.110.0130.00016.40
7.2.100.0130.00016.64
7.2.90.0100.00416.96
7.2.80.0060.00616.72
7.2.70.0060.01216.97
7.2.60.0040.01116.82
7.2.50.0070.00716.89
7.2.40.0070.00716.93
7.2.30.0100.00616.75
7.2.20.0090.00616.71
7.2.10.0060.00916.57
7.2.00.0040.01116.71
7.1.250.0030.01015.60
7.1.200.0040.00715.75
7.1.70.0030.00617.18
7.1.60.0030.01019.40
7.1.50.0100.00316.93
7.1.00.0030.07722.54
7.0.200.0390.00714.96
7.0.60.0300.07019.98
7.0.50.0170.03317.91
7.0.40.0070.04720.21
7.0.30.0070.05020.15
7.0.20.0070.05020.13
7.0.10.0000.05320.30
7.0.00.0070.04020.21
5.6.280.0000.03321.10
5.6.210.0070.06320.63
5.6.200.0030.08018.22
5.6.190.0000.09020.58
5.6.180.0400.07020.56
5.6.170.0170.04020.47
5.6.160.0070.09020.33
5.6.150.0030.05018.18
5.6.140.0030.08018.18
5.6.130.0030.05718.12
5.6.120.0030.04321.20
5.6.110.0100.03720.98
5.6.100.0100.08020.98
5.6.90.0070.05721.01
5.6.80.0170.06320.28
5.5.350.0300.07020.42
5.5.340.0130.06318.03
5.5.330.0100.07720.36
5.5.320.0530.07320.26
5.5.310.0330.06720.26
5.5.300.0030.04017.97
5.5.290.0100.08017.94
5.5.280.0070.07020.84
5.5.270.0070.05020.79
5.5.260.0100.05720.97
5.5.250.0070.08020.49
5.5.240.0130.06020.18

preferences:
38.81 ms | 401 KiB | 5 Q