3v4l.org

run code in 300+ PHP versions simultaneously
<?php $query="DELETE FROM `catalog_package` where id=234; UPDATE `status_history` set status=24 where id between 34 and 231; SELECT mail_id, mail_date, mail_from, mail_to, mail_subject, ( ( SELECT COUNT(*) FROM sys_messagecenter_qmails WHERE qmail_mail_id = mail_id ) + ( SELECT COUNT(*) FROM `sys_messagecenter_rels` WHERE rel_mail_id = mail_id ) ) AS email_total, ( SELECT COUNT(*) FROM `sys_messagecenter_rels` WHERE rel_mail_id = mail_id ) AS email_sent, ( SELECT COUNT(*) FROM `sys_messagecenter_rels` INNER JOIN `sys_email_receives` ON receive_reply_to = rel_sent_id WHERE rel_mail_id = mail_id ) AS email_reply FROM `sys_messagecenter_emails` WHERE mail_draft='No' ORDER BY mail_id ASC LIMIT 0,10;"; if(preg_match_all('/((FROM|JOIN|UPDATE)([\s]+)([a-zA-Z0-9_]+))/', $query, $matches)) { $tables = array_unique($matches[3]); print_r($tables); }

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.0100.01316.72
8.3.50.0150.00016.29
8.3.40.0060.00918.82
8.3.30.0060.00918.84
8.3.20.0000.00720.34
8.3.10.0080.00023.45
8.3.00.0040.00423.61
8.2.180.0090.00616.88
8.2.170.0040.01122.96
8.2.160.0070.00719.29
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0070.00021.09
8.2.120.0040.00426.35
8.2.110.0050.00521.14
8.2.100.0060.00617.84
8.2.90.0030.00519.21
8.2.80.0000.00917.97
8.2.70.0040.00417.73
8.2.60.0030.00618.04
8.2.50.0030.00518.07
8.2.40.0040.00422.44
8.2.30.0000.00820.65
8.2.20.0000.00717.78
8.2.10.0000.00818.15
8.2.00.0040.00418.07
8.1.280.0100.01025.92
8.1.270.0060.00323.91
8.1.260.0100.00328.09
8.1.250.0070.00028.09
8.1.240.0040.00723.66
8.1.230.0040.00721.03
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0000.00917.47
8.1.190.0040.00417.36
8.1.180.0000.00918.10
8.1.170.0000.00818.65
8.1.160.0030.00320.77
8.1.150.0000.00818.77
8.1.140.0000.00819.51
8.1.130.0000.00817.68
8.1.120.0070.00017.63
8.1.110.0020.00917.43
8.1.100.0030.00317.50
8.1.90.0000.00717.57
8.1.80.0000.00917.59
8.1.70.0000.00717.61
8.1.60.0040.00417.63
8.1.50.0000.00817.64
8.1.40.0000.00917.60
8.1.30.0040.00817.68
8.1.20.0040.00417.65
8.1.10.0040.00417.72
8.1.00.0060.00317.58
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.45
8.0.270.0030.00317.24
8.0.260.0000.00717.23
8.0.250.0070.00017.07
8.0.240.0000.00917.09
8.0.230.0060.00316.91
8.0.220.0030.00316.95
8.0.210.0000.00717.02
8.0.200.0000.00717.06
8.0.190.0110.00017.09
8.0.180.0040.00416.92
8.0.170.0000.00816.97
8.0.160.0030.00316.88
8.0.150.0050.00516.83
8.0.140.0040.00416.95
8.0.130.0040.00413.46
8.0.120.0000.00816.84
8.0.110.0000.00816.98
8.0.100.0040.00416.84
8.0.90.0040.00416.86
8.0.80.0030.01317.04
8.0.70.0050.00316.81
8.0.60.0030.00516.97
8.0.50.0040.00416.97
8.0.30.0090.01317.16
8.0.20.0110.00917.42
8.0.10.0080.00017.18
8.0.00.0080.01016.95
7.4.330.0060.00016.80
7.4.320.0030.00316.74
7.4.300.0000.00716.76
7.4.290.0040.00416.62
7.4.280.0060.00316.54
7.4.270.0030.00516.75
7.4.260.0000.00716.67
7.4.250.0050.00216.65
7.4.240.0070.00216.79
7.4.230.0070.00016.87
7.4.220.0060.01016.63
7.4.210.0040.01016.71
7.4.200.0070.00016.84
7.4.160.0130.01016.84
7.4.150.0120.00617.40
7.4.140.0070.01417.86
7.4.130.0140.00816.69
7.4.120.0080.00916.63
7.4.110.0100.01016.63
7.4.100.0000.01716.74
7.4.90.0070.01016.73
7.4.80.0130.00319.39
7.4.70.0120.00616.52
7.4.60.0030.01416.58
7.4.50.0090.00316.75
7.4.40.0040.01216.57
7.4.30.0070.01016.61
7.4.00.0070.00714.96
7.3.330.0050.00013.20
7.3.320.0030.00313.17
7.3.310.0000.00716.29
7.3.300.0000.00716.37
7.3.290.0070.00716.36
7.3.280.0090.00716.38
7.3.270.0070.01017.40
7.3.260.0090.01516.39
7.3.250.0110.01116.44
7.3.240.0090.00916.32
7.3.230.0110.00716.39
7.3.210.0100.00716.80
7.3.200.0060.01216.37
7.3.190.0070.01016.67
7.3.180.0190.00316.46
7.3.170.0070.01416.67
7.3.160.0090.00616.40
7.2.330.0060.01216.77
7.2.320.0130.00316.77
7.2.310.0030.01316.70
7.2.300.0090.00916.67
7.2.290.0160.00616.82
7.2.00.0040.00719.18
7.1.100.0070.00318.70
7.1.70.0000.00717.16
7.1.60.0130.01019.52
7.1.50.0100.01617.10
7.1.00.0130.06722.35
7.0.200.0750.00314.90
7.0.60.0230.07719.91
7.0.50.0070.07317.89
7.0.40.0030.04720.26
7.0.30.0170.06320.24
7.0.20.0270.08720.09
7.0.10.0100.04320.31
7.0.00.0100.08020.34
5.6.280.0000.07021.13
5.6.210.0070.06320.72
5.6.200.0130.08018.25
5.6.190.0070.04020.45
5.6.180.0270.07720.41
5.6.170.0230.07720.54
5.6.160.0030.04020.48
5.6.150.0070.04018.12
5.6.140.0100.08018.18
5.6.130.0070.03718.18
5.6.120.0170.07721.09
5.6.110.0130.06720.88
5.6.100.0170.06020.94
5.6.90.0100.07320.96
5.6.80.0070.05020.50
5.5.350.0230.07720.38
5.5.340.0130.04318.01
5.5.330.0070.08320.27
5.5.320.0670.06720.36
5.5.310.0370.07020.27
5.5.300.0070.06718.01
5.5.290.0000.05017.98
5.5.280.0030.05320.87
5.5.270.0100.05720.94
5.5.260.0130.04720.86
5.5.250.0130.03320.69
5.5.240.0270.06720.23

preferences:
54.69 ms | 401 KiB | 5 Q