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.40.0110.00418.84
8.3.30.0040.01118.71
8.3.20.0040.00420.30
8.3.10.0000.00823.68
8.3.00.0030.01023.48
8.2.170.0100.00322.96
8.2.160.0070.00719.16
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00421.25
8.2.120.0080.00026.35
8.2.110.0060.00320.88
8.2.100.0060.00617.93
8.2.90.0050.00319.27
8.2.80.0050.00317.97
8.2.70.0040.00417.75
8.2.60.0000.00817.93
8.2.50.0080.00018.07
8.2.40.0000.00922.34
8.2.30.0000.00720.67
8.2.20.0070.00017.78
8.2.10.0030.00518.02
8.2.00.0070.00018.09
8.1.270.0040.00423.75
8.1.260.0100.00328.09
8.1.250.0080.00028.09
8.1.240.0030.00620.99
8.1.230.0080.00417.70
8.1.220.0000.00817.78
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0030.00517.36
8.1.180.0000.00818.10
8.1.170.0040.00418.72
8.1.160.0040.00420.78
8.1.150.0020.00518.82
8.1.140.0040.00417.58
8.1.130.0070.00017.59
8.1.120.0030.00517.54
8.1.110.0030.00617.55
8.1.100.0060.00317.55
8.1.90.0040.00417.48
8.1.80.0070.00017.52
8.1.70.0070.00017.41
8.1.60.0040.00417.63
8.1.50.0030.00617.66
8.1.40.0040.00417.67
8.1.30.0030.00717.84
8.1.20.0040.00417.68
8.1.10.0000.00717.55
8.1.00.0030.01017.64
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.47
8.0.270.0030.00316.84
8.0.260.0050.00317.15
8.0.250.0000.00617.04
8.0.240.0040.00717.05
8.0.230.0020.00516.91
8.0.220.0030.00316.90
8.0.210.0000.00716.87
8.0.200.0040.00417.04
8.0.190.0070.00316.95
8.0.180.0000.00717.05
8.0.170.0000.00816.98
8.0.160.0000.00716.98
8.0.150.0080.00016.93
8.0.140.0040.00416.95
8.0.130.0040.00413.46
8.0.120.0030.00516.97
8.0.110.0040.00417.05
8.0.100.0070.00016.84
8.0.90.0070.00017.00
8.0.80.0060.01017.04
8.0.70.0000.00916.81
8.0.60.0040.00416.99
8.0.50.0030.00616.87
8.0.30.0090.00917.03
8.0.20.0110.00717.40
8.0.10.0040.00417.01
8.0.00.0110.00616.77
7.4.330.0050.00016.91
7.4.320.0040.00416.77
7.4.300.0000.00716.56
7.4.290.0050.00216.65
7.4.280.0040.00416.61
7.4.270.0000.00716.68
7.4.260.0000.00816.59
7.4.250.0050.00316.75
7.4.240.0040.00416.71
7.4.230.0000.00716.86
7.4.220.0060.01316.68
7.4.210.0030.01016.69
7.4.200.0070.00016.55
7.4.160.0090.01216.57
7.4.150.0130.00417.40
7.4.140.0160.00517.86
7.4.130.0120.00916.83
7.4.120.0150.00516.51
7.4.110.0090.01016.55
7.4.100.0150.00916.61
7.4.90.0040.01416.58
7.4.80.0080.01619.39
7.4.70.0070.01616.72
7.4.60.0130.00416.63
7.4.50.0000.01516.40
7.4.40.0090.00916.63
7.4.30.0120.00616.47
7.4.00.0070.01115.03
7.3.330.0020.00213.13
7.3.320.0030.00313.23
7.3.310.0030.00316.29
7.3.300.0030.00316.29
7.3.290.0100.00716.25
7.3.280.0110.00616.31
7.3.270.0140.00317.40
7.3.260.0100.01216.29
7.3.250.0090.01016.43
7.3.240.0060.01016.43
7.3.230.0030.01416.39
7.3.210.0070.01016.47
7.3.200.0060.01216.75
7.3.190.0130.00316.21
7.3.180.0090.01316.50
7.3.170.0090.00616.33
7.3.160.0090.00616.25
7.3.120.0100.00814.95
7.3.110.0100.00814.95
7.3.100.0030.01114.88
7.3.90.0040.00714.83
7.3.80.0040.00814.95
7.3.70.0080.00314.92
7.3.60.0090.00614.90
7.3.50.0050.00514.65
7.3.40.0040.01114.74
7.3.30.0060.00614.68
7.3.20.0040.00616.74
7.3.10.0050.00916.63
7.3.00.0070.00616.70
7.2.330.0080.01116.66
7.2.320.0100.00616.55
7.2.310.0080.00816.45
7.2.300.0110.00716.38
7.2.290.0130.00316.58
7.2.250.0030.01515.18
7.2.240.0120.00615.17
7.2.230.0100.00614.96
7.2.220.0010.01015.06
7.2.210.0050.00714.93
7.2.200.0070.00515.07
7.2.190.0040.00915.04
7.2.180.0080.00815.07
7.2.170.0070.00614.91
7.2.00.0090.00619.43
7.1.330.0020.01115.95
7.1.320.0060.00715.95
7.1.310.0030.01215.99
7.1.300.0040.00915.85
7.1.290.0090.00515.82
7.1.280.0060.00615.92
7.1.270.0050.00815.77
7.1.260.0030.01015.80
7.1.100.0000.01118.27
7.1.70.0000.01417.32
7.1.60.0140.01119.52
7.1.50.0070.01917.00
7.1.00.0100.07022.35
7.0.200.0880.00714.98
7.0.60.0070.08319.87
7.0.50.0170.07717.84
7.0.40.0100.04720.05
7.0.30.0200.05020.20
7.0.20.0570.06320.11
7.0.10.0030.06320.23
7.0.00.0100.08320.10
5.6.280.0030.06020.86
5.6.210.0070.08320.56
5.6.200.0030.04718.12
5.6.190.0070.08320.35
5.6.180.0300.06020.43
5.6.170.0200.05320.33
5.6.160.0100.06020.50
5.6.150.0070.08318.09
5.6.140.0000.06018.22
5.6.130.0070.03718.21
5.6.120.0070.08021.04
5.6.110.0070.08721.01
5.6.100.0100.03721.11
5.6.90.0130.07720.88
5.6.80.0100.07320.37
5.5.350.1500.05020.43
5.5.340.0200.07017.98
5.5.330.0100.06320.07
5.5.320.0330.06320.20
5.5.310.0270.07720.16
5.5.300.0100.08317.98
5.5.290.0030.08717.85
5.5.280.0100.05720.65
5.5.270.0200.07020.96
5.5.260.0070.07720.64
5.5.250.0200.08020.66
5.5.240.0330.06320.35

preferences:
41.03 ms | 400 KiB | 5 Q