3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $profs = ['CHmk15-264a93', 'CHmk15-6a92e6', 'CHmk15-74fe7a', 'CHmk15-7fa908', 'CHmk51-279b98', 'CHmk51-27e7c4', 'CHmk51-a6a439', 'CHmk51-b9a3b0', 'CHmk51-ffc6cf', 'chwgm2-073e8c', 'chwgm2-2b7eb9', 'chwgm2-a3904b', 'HBmkBD-0944da', 'HBmkBD-09a214', 'HBmkBD-24e447', 'HBmkBD-25901e', 'HBmkBD-29b5f3', 'HBmkBD-2facc9', 'HBmkBD-43c6b7', 'HBmkBD-45415a', 'HBmkBD-6582c3', 'HBmkBD-6b5c72', 'HBmkBD-8996ff', 'HBmkBD-89ed74', 'HBmkBD-8a1375', 'HBmkBD-97345d', 'HBmkBD-9abbd9', 'HBmkBD-a7e754', 'HBmkBD-c0fade', 'HBmkBD-c15021', 'HBmkBD-d1dcaa', 'HBmkBD-d81436', 'HBmkBD-d8727f', 'HBmkBD-dc7768', 'HBmkBD-dda97d', 'HBmkBD-e41278', 'HBmkBD-ef0a7b', 'HBmkBD-f380e4', 'HBmkBD-f4bd16', 'HBmkCD-98862f', 'HBmkLe-008d4a', 'HBmkLe-026e0b', 'HBmkLe-03a4d3', 'HBmkLe-0c312e', 'HBmkLe-0fcf95', 'HBmkLe-146a5c', 'HBmkLe-1736f7', 'HBmkLe-18f08d', 'HBmkLe-194b0a', 'HBmkLe-1e51f2', 'HBmkLe-2bb728', 'HBmkLe-3155e4', 'HBmkLe-385b8c', 'HBmkLe-3bd5ff', 'HBmkLe-3e3981', 'HBmkLe-3f84ee', 'HBmkLe-4af377', 'HBmkLe-4b29e1', 'HBmkLe-4c7992', 'HBmkLe-4f3cd3', 'HBmkLe-53f916', 'HBmkLe-547faf', 'HBmkLe-60156b', 'HBmkLe-6302be', 'HBmkLe-6eb420', 'HBmkLe-7053de', 'HBmkLe-7c298a', 'HBmkLe-7f1acc', 'HBmkLe-888c67', 'HBmkLe-8a358f', 'HBmkLe-8b7340', 'HBmkLe-8b9f47', 'HBmkLe-902448', 'HBmkLe-b37f18', 'HBmkLe-b65302', 'HBmkLe-b9f812', 'HBmkLe-c31cc7', 'HBmkLe-c50615', 'HBmkLe-c97414', 'HBmkLe-cda1bc', 'HBmkLe-d8f7fb', 'HBmkLe-e18a9f', 'HBmkLe-ec1cbe', 'HBmkLe-f8b90e', 'HBmkLe-f91452', 'HBmkLe-f9bfe7', 'HBmkLe-fbe50f', 'HBmkLe-fe5454', 'HBmkOb-006c7e', 'HBmkOb-011d18', 'HBmkOb-020f59', 'HBmkOb-06c8f2', 'HBmkOb-0ef825', 'HBmkOb-12a088', 'HBmkOb-33769c', 'HBmkOb-34ef4a', 'HBmkOb-3cb1b2', 'HBmkOb-3e4e0b', 'HBmkOb-4b7add', 'HBmkOb-65f3c7', 'HBmkOb-65fed3', 'HBmkOb-68397a', 'HBmkOb-6e64fc', 'HBmkOb-7e9e6d', 'HBmkOb-7ea9ab', 'HBmkOb-956070', 'HBmkOb-991a2d', 'HBmkOb-999c34', 'HBmkOb-9caa98', 'HBmkOb-a3b8c9', 'HBmkOb-a66157', 'HBmkOb-aee52a', 'HBmkOb-b115b9', 'HBmkOb-b794d2', 'HBmkOb-bacb0e', 'HBmkOb-bbf0aa', 'HBmkOb-d7fcae', 'HBmkOb-e5624b', 'HBmkOb-e848b5', 'HBmkOb-ec53ab', 'HBmkOb-f6fb85', 'HBmkOb-f928f9', 'HBmkOb-ff29ef', 'HBmtCA-0079cb', 'HBmtCA-02bea7', 'HBmtCA-0a2640', 'HBmtCA-0d5bb6', 'HBmtCA-147bd4', 'HBmtCA-22bdf7', 'HBmtCA-2c3dc2', 'HBmtCA-2fa495', 'HBmtCA-33f020', 'HBmtCA-36bd58', 'HBmtCA-3f2c7f', 'HBmtCA-42083b', 'HBmtCA-42f251', 'HBmtCA-4420b7', 'HBmtCA-44526c', 'HBmtCA-447939', 'HBmtCA-4706cb', 'HBmtCA-4efdfa', 'HBmtCA-545fb9', 'HBmtCA-555c04', 'HBmtCA-5a0bae', 'HBmtCA-5a7973', 'HBmtCA-5b6a8c', 'HBmtCA-633b56', 'HBmtCA-677334', 'HBmtCA-693278', 'HBmtCA-6b1e3b', 'HBmtCA-6ff510', 'HBmtCA-738a17', 'HBmtCA-745516', 'HBmtCA-745f7b', 'HBmtCA-77416c', 'HBmtCA-7909be', 'HBmtCA-7d4ec1', 'HBmtCA-86f93c', 'HBmtCA-912b72', 'HBmtCA-995e23', 'HBmtCA-9d608f', 'HBmtCA-a3cc89', 'HBmtCA-a986db', 'HBmtCA-b127b1', 'HBmtCA-bac0bd', 'HBmtCA-befe42', 'HBmtCA-c3afee', 'HBmtCA-c5061d', 'HBmtCA-c5d67d', 'HBmtCA-c9a2b9', 'HBmtCA-cef57f', 'HBmtCA-cfbd9f', 'HBmtCA-d3164b', 'HBmtCA-d60099', 'HBmtCA-d8234f', 'HBmtCA-da407f', 'HBmtCA-daba65', 'HBmtCA-e39e3e', 'HBmtCA-e48136', 'HBmtCA-e7ace8', 'HBmtCA-e9b215', 'HBmtCA-fc30e2', 'HBmtCA-ff369d', 'HBwU21-0093a4', 'HBwU21-085087', 'HBwU21-0cfccc', 'HBwU21-1701f2', 'HBwU21-179ac7', 'HBwU21-1c7699', 'HBwU21-1ec8bd', 'HBwU21-2c5677', 'HBwU21-369bd8', 'HBwU21-3b903c', 'HBwU21-3ce39f', 'HBwU21-4a8ae9', 'HBwU21-5252c8', 'HBwU21-530de4', 'HBwU21-5703ca', 'HBwU21-5f7c39', 'HBwU21-608df9', 'HBwU21-652d82', 'HBwU21-6768a8', 'HBwU21-67c2f5', 'HBwU21-6ff26e', 'HBwU21-78b12e', 'HBwU21-89cef3', 'HBwU21-8a3a8b', 'HBwU21-8dbdf2', 'HBwU21-97f0f7', 'HBwU21-995bf3', 'HBwU21-99639b', 'HBwU21-9e0113', 'HBwU21-a21a21', 'HBwU21-b8f901', 'HBwU21-bf691c', 'HBwU21-c1195d', 'HBwU21-c5119b', 'HBwU21-d69f15', 'HBwU21-dc0b80', 'HBwU21-e6563b', 'HBwU21-e878a6', 'HBwU21-ea0805', 'HBwU21-ee5dd1', 'HBwU21-f8166c', 'HBwU21-f8d140', 'HBwU21-fc3e92', 'HBwU21-fe4168', 'perkno-006dc0', 'perkno-027c9b', 'perkno-05dc02', 'perkno-150d9a', 'perkno-186e27', 'perkno-195304', 'perkno-1c7a17', 'perkno-20817e', 'perkno-2267d2', 'perkno-25b331', 'perkno-2a1988', 'perkno-34f4d2', 'perkno-394b68', 'perkno-493ad6', 'perkno-49e329', 'perkno-588b96', 'perkno-5c86c0', 'perkno-5e035c', 'perkno-5e036a', 'perkno-672d1d', 'perkno-71bcf8', 'perkno-731ebe', 'perkno-7a993e', 'perkno-90d8ae', 'perkno-972fa1', 'perkno-9ea85c', 'perkno-a21fdd', 'perkno-ae380e', 'perkno-b3bd9f', 'perkno-b6f99a', 'perkno-b706b9', 'perkno-bb9afc', 'perkno-c85c27', 'perkno-ce9f55', 'perkno-d0db21', 'perkno-d86ba7', 'perkno-f449d2', 'perkno-ffcadc', 'SAmk98-3bd57f', 'SAmk98-3c7fe8', 'SAmk98-3cac22', 'SAmk98-55af35', 'SAmk98-5a3223', 'SAmk98-627b17', 'SAmk98-7252d6', 'SAmk98-b680ba', 'SAmk98-e216c6', 'Smolov-07a000', 'Smolov-08b7e5', 'Smolov-0ed4a5', 'Smolov-108bd4', 'Smolov-14f16b', 'Smolov-1bb434', 'Smolov-1d3a24', 'Smolov-1e3a05', 'Smolov-1ff344', 'Smolov-20f7a4', 'Smolov-2394cc', 'Smolov-266c0b', 'Smolov-2d7c08', 'Smolov-3152e4', 'Smolov-3c1a0d', 'Smolov-459726', 'Smolov-4b2fa4', 'Smolov-4f77a6', 'Smolov-525dca', 'Smolov-5bd066', 'Smolov-61d64b', 'Smolov-76f65a', 'Smolov-81f6fd', 'Smolov-85fd37', 'Smolov-8a0965', 'Smolov-9b5d9f', 'Smolov-9bfc81', 'Smolov-a306fa', 'Smolov-a6241d', 'Smolov-a71bfa', 'Smolov-aa1507', 'Smolov-b79cd6', 'Smolov-b8abe9', 'Smolov-ba773c', 'Smolov-c19626', 'Smolov-c2771f', 'Smolov-c96e0e', 'Smolov-cf2723', 'Smolov-d232ad', 'Smolov-da193b', 'Smolov-dcf174', 'Smolov-debd62', 'Smolov-e289e9', 'Smolov-efc772', 'Smolov-f53d35', 'Smolov-f98482', 'Smolov-faaf68']; $ret = ''; foreach($profs as $a) { $ret .= "DELETE FROM rename WHERE key LIKE 'Sources/{$a}' AND type='profile'; DELETE FROM rename WHERE key LIKE 'Sources/{$a}|%%' AND type='channel'; \n\n"; }
based on KGh3q

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.80.0030.00716.79
7.2.60.0070.00716.33
7.2.00.0030.01319.18
7.1.200.0040.00715.50
7.1.100.0060.00618.27
7.1.70.0000.01017.19
7.1.60.0040.02219.46
7.1.50.0150.00616.55
7.1.00.0000.07722.36
7.0.200.0030.00616.61
7.0.140.0070.04722.04
7.0.60.0000.08320.20
7.0.50.0030.07318.10
7.0.40.0130.08020.07
7.0.30.0130.04720.09
7.0.20.0300.08320.16
7.0.10.0030.05319.99
7.0.00.0100.06720.13
5.6.280.0070.07021.14
5.6.210.0100.08020.53
5.6.200.0130.07718.23
5.6.190.0030.05320.33
5.6.180.0330.04320.39
5.6.170.0270.05720.68
5.6.160.0000.05320.51
5.6.150.0070.03718.25
5.6.140.0000.09018.18
5.6.130.0030.05318.10
5.6.120.0030.05321.21
5.6.110.0130.06321.05
5.6.100.0170.07720.94
5.6.90.0030.08321.04
5.6.80.0070.08020.45
5.5.350.3070.03020.50
5.5.340.0070.08018.10
5.5.330.0030.08320.19
5.5.320.0070.08020.34
5.5.310.0200.03720.31
5.5.300.0070.07718.07
5.5.290.0030.06018.08
5.5.280.0070.07721.04
5.5.270.0100.05020.72
5.5.260.0170.07320.95
5.5.250.0070.04320.61
5.5.240.0000.08020.22
5.4.450.0130.07019.16
5.4.440.0700.07319.55
5.4.430.0030.06319.50
5.4.420.0170.05319.62
5.4.410.0130.06019.56
5.4.400.0230.05719.34
5.4.390.0130.06318.83
5.4.380.0100.06718.82
5.4.370.0200.06018.81
5.4.360.0270.05318.64
5.4.350.0230.06018.79
5.4.340.0200.06018.79
5.4.320.0270.05018.79
5.4.310.0400.06018.64
5.4.300.0270.05718.76
5.4.290.0330.04318.83
5.4.280.0300.04718.66
5.4.270.0270.05018.61
5.4.260.0230.06718.78
5.4.250.0230.05318.55
5.4.240.0230.05318.79
5.4.230.2700.05318.71
5.4.220.0170.06018.76
5.4.210.0170.05318.79
5.4.200.0270.04016.74
5.4.190.3130.06318.76
5.4.180.0130.06018.75
5.4.170.2770.06318.73
5.4.160.0300.04718.79
5.4.150.0200.05718.77
5.4.140.2930.06316.18
5.4.130.0200.05316.25
5.4.120.2900.05316.18
5.4.110.0230.04716.20
5.4.100.0200.05316.15
5.4.90.2730.06716.38
5.4.80.0330.05016.36
5.4.70.0170.05716.22
5.4.60.3400.06716.43
5.4.50.0270.04016.24
5.4.40.2870.06316.36
5.4.30.0170.06016.25
5.4.20.2470.05716.16
5.4.10.0270.05016.25
5.4.00.0270.04715.84
5.3.290.0170.06014.65
5.3.280.0200.06014.65
5.3.270.2830.06014.68
5.3.260.0330.06014.61
5.3.250.0200.05014.55
5.3.240.0230.06014.61
5.3.230.0170.05314.58
5.3.220.0200.05714.53
5.3.210.0030.07014.52
5.3.200.0270.04714.52
5.3.190.3100.05714.49
5.3.180.0230.04714.65
5.3.170.0300.04014.55
5.3.160.3030.05014.66
5.3.150.0130.06014.56
5.3.140.0130.05714.64
5.3.130.0230.05014.45
5.3.120.0170.05714.53
5.3.110.2900.05014.54
5.3.100.0270.04314.16
5.3.90.0130.05313.95
5.3.80.2570.05013.96
5.3.70.0100.06314.10
5.3.60.0300.04314.07
5.3.50.0200.05013.92
5.3.40.0200.04713.98
5.3.30.0200.05313.85
5.3.20.0170.06713.72
5.3.10.4070.06313.59
5.3.00.0230.06013.54
5.2.170.0200.04311.30
5.2.160.0030.07711.18
5.2.150.0200.04311.15
5.2.140.0170.04711.13
5.2.130.0270.03711.14
5.2.120.0230.04011.07
5.2.110.0200.04311.08
5.2.100.2700.04011.09
5.2.90.0170.04011.08
5.2.80.0130.04311.16
5.2.70.0130.04711.08
5.2.60.0130.04711.21
5.2.50.0170.04011.16
5.2.40.0070.05010.95
5.2.30.0230.04711.02
5.2.20.0100.04011.07
5.2.10.0130.04010.98
5.2.00.0100.04310.82
5.1.60.0030.05010.06
5.1.50.2570.04010.04
5.1.40.0130.04010.04
5.1.30.0130.04010.45
5.1.20.0100.04010.34
5.1.10.0070.04710.10
5.1.00.0030.04310.18
5.0.50.0130.0238.62
5.0.40.0130.0208.43
5.0.30.0030.0578.21
5.0.20.0070.0278.31
5.0.10.2270.0308.38
5.0.00.0100.0438.16
4.4.90.0100.0235.90
4.4.80.0100.0205.85
4.4.70.0070.0235.92
4.4.60.0030.0275.82
4.4.50.0100.0205.88
4.4.40.0100.0335.86
4.4.30.0130.0175.91
4.4.20.1730.0205.93
4.4.10.0100.0236.01
4.4.00.0070.0375.92
4.3.110.0000.0305.85
4.3.100.0070.0235.79
4.3.90.0070.0205.80
4.3.80.0070.0335.79
4.3.70.0100.0175.81
4.3.60.1700.0205.80
4.3.50.0070.0235.78
4.3.40.0030.0375.88
4.3.30.0000.0274.54
4.3.20.0030.0234.64
4.3.10.0070.0204.50
4.3.00.0000.0278.40