3v4l.org

run code in 300+ PHP versions simultaneously
<?php $app_filename = "AntivirusSecurity_02_cb-508164-ce_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk"; //$app_filename = "AntivirusSecurity_02_[508164]_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk"; $app_filename = "AntivirusSecurity_508164.apk"; function extract_click_id_from_filename($app_filename=''){ // New standard format: $click_id_fence_beginning = 'cb-'; $click_id_fence_end = '-ce'; preg_match_all("^{$click_id_fence_beginning}(.*?){$click_id_fence_end}^", $app_filename, $fields); if(!empty($fields[1][0])) return $fields[1][0]; // Legacy format: $click_id_fence_beginning = 'AntivirusSecurity_'; $click_id_fence_end = '\.apk'; preg_match_all("^{$click_id_fence_beginning}(.*?){$click_id_fence_end}^", $app_filename, $fields); print_r($fields); if(!empty($fields[1][0])) return $fields[1][0]; } echo extract_click_id_from_filename($app_filename);

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.70.0180.00416.88
8.3.60.0140.00718.56
8.3.50.0100.00721.99
8.3.40.0110.00418.98
8.3.30.0130.00618.70
8.3.20.0050.00318.85
8.3.10.0080.00019.32
8.3.00.0040.00421.75
8.2.180.0150.00016.88
8.2.170.0120.00322.96
8.2.160.0030.01020.54
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0080.00026.16
8.2.120.0080.00019.79
8.2.110.0070.00320.51
8.2.100.0090.00318.03
8.2.90.0080.00019.36
8.2.80.0050.00318.04
8.2.70.0060.00317.74
8.2.60.0000.00818.05
8.2.50.0000.00918.07
8.2.40.0040.00418.34
8.2.30.0040.00421.38
8.2.20.0040.00417.95
8.2.10.0060.00317.94
8.2.00.0100.00017.74
8.1.280.0080.00625.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0080.00328.09
8.1.240.0040.00722.45
8.1.230.0060.00620.91
8.1.220.0090.00018.77
8.1.210.0000.00818.96
8.1.200.0090.00017.35
8.1.190.0000.00917.52
8.1.180.0000.00818.10
8.1.170.0080.00018.52
8.1.160.0050.00218.86
8.1.150.0020.00518.69
8.1.140.0000.00817.56
8.1.130.0000.00717.88
8.1.120.0060.00317.49
8.1.110.0000.00817.53
8.1.100.0000.00717.65
8.1.90.0000.00717.52
8.1.80.0080.00017.55
8.1.70.0070.00017.65
8.1.60.0000.00917.72
8.1.50.0050.00317.61
8.1.40.0030.00617.73
8.1.30.0050.00317.77
8.1.20.0040.00417.77
8.1.10.0000.00717.79
8.1.00.0080.00017.55
8.0.300.0060.00320.16
8.0.290.0000.00717.05
8.0.280.0000.00718.42
8.0.270.0030.00317.31
8.0.260.0000.00816.99
8.0.250.0040.00417.18
8.0.240.0060.00317.02
8.0.230.0070.00017.19
8.0.220.0030.00617.04
8.0.210.0040.00417.05
8.0.200.0030.00317.16
8.0.190.0050.00217.09
8.0.180.0000.00717.00
8.0.170.0040.00717.07
8.0.160.0040.00417.10
8.0.150.0080.00017.07
8.0.140.0050.00216.92
8.0.130.0000.00613.52
8.0.120.0000.00817.07
8.0.110.0050.00317.00
8.0.100.0080.00017.09
8.0.90.0070.00017.04
8.0.80.0040.01117.09
8.0.70.0040.00416.94
8.0.60.0000.00916.84
8.0.50.0070.00016.90
8.0.30.0170.00317.49
8.0.20.0020.01717.50
8.0.10.0050.00217.18
8.0.00.0100.00917.13
7.4.330.0060.00013.43
7.4.320.0030.00316.84
7.4.300.0070.00016.60
7.4.290.0040.00416.84
7.4.280.0000.00816.78
7.4.270.0040.00416.88
7.4.260.0030.00313.44
7.4.250.0070.00016.70
7.4.240.0030.00516.77
7.4.230.0000.00716.82
7.4.220.0110.00716.73
7.4.210.0090.00816.83
7.4.200.0000.00716.58
7.4.190.0000.00816.98
7.4.160.0100.01316.71
7.4.150.0090.00917.40
7.4.140.0130.00817.86
7.4.130.0080.00916.71
7.4.120.0120.00516.74
7.4.110.0140.01016.79
7.4.100.0140.00316.87
7.4.90.0200.00316.61
7.4.80.0070.01419.39
7.4.70.0100.00716.56
7.4.60.0150.00416.64
7.4.50.0060.00316.42
7.4.40.0000.01622.52
7.4.30.0120.00916.71
7.4.00.0060.00615.13
7.3.330.0060.00013.46
7.3.320.0000.00513.39
7.3.310.0030.00316.65
7.3.300.0040.00416.56
7.3.290.0080.01216.52
7.3.280.0070.01016.54
7.3.270.0140.00917.40
7.3.260.0100.01318.24
7.3.250.0080.01016.69
7.3.240.0140.00316.61
7.3.230.0100.00716.59
7.3.210.0080.00816.92
7.3.200.0120.00619.39
7.3.190.0110.00416.64
7.3.180.0160.00316.46
7.3.170.0060.01016.87
7.3.160.0080.00816.43
7.3.120.0100.00815.17
7.3.110.0000.01114.76
7.3.100.0070.01015.10
7.3.90.0070.01014.88
7.3.80.0070.00714.81
7.3.70.0030.00915.09
7.3.60.0130.00014.96
7.3.50.0110.00414.93
7.3.40.0090.00615.16
7.3.30.0040.00714.88
7.3.20.0030.01016.91
7.3.10.0050.00916.83
7.3.00.0020.01116.74
7.2.330.0190.00016.90
7.2.320.0140.00716.88
7.2.310.0000.01816.83
7.2.300.0090.00916.93
7.2.290.0130.00716.79
7.2.250.0080.00815.19
7.2.240.0030.01615.04
7.2.230.0000.01515.21
7.2.220.0060.01015.41
7.2.210.0060.00915.19
7.2.200.0060.00615.19
7.2.190.0130.00315.34
7.2.180.0110.00714.97
7.2.170.0060.00914.91
7.2.130.0000.01116.96
7.2.120.0070.00716.96
7.2.110.0030.00616.93
7.2.100.0030.01016.93
7.2.90.0040.01217.09
7.2.80.0120.00017.02
7.2.70.0030.00917.09
7.2.60.0030.01016.86
7.2.50.0040.00817.21
7.2.40.0060.00916.88
7.2.30.0030.00817.23
7.2.20.0060.00316.89
7.2.10.0100.00617.14
7.2.00.0070.00818.22
7.1.330.0060.00616.07
7.1.320.0090.00615.96
7.1.310.0030.01215.97
7.1.300.0120.00315.98
7.1.290.0090.00615.79
7.1.280.0040.01115.96
7.1.270.0060.00616.14
7.1.260.0000.01516.07
7.1.250.0000.01115.78
7.1.200.0110.00315.86
7.1.100.0100.00318.35
7.1.70.0070.00017.45
7.1.60.0070.00417.56
7.1.50.0060.00617.40
7.1.00.0030.03322.38
7.0.200.0030.00717.00
7.0.140.0070.07022.09
7.0.60.0130.03720.05
7.0.50.0000.05017.92
7.0.40.0100.04020.11
7.0.30.0130.05320.12
7.0.20.0100.05320.24
7.0.10.0070.04320.22
7.0.00.0100.08020.07
5.6.280.0000.07321.15
5.6.210.0070.08020.71
5.6.200.0100.07318.16
5.6.190.0100.06020.58
5.6.180.0370.05020.64
5.6.170.0170.04720.54
5.6.160.0000.04320.54
5.6.150.0030.08318.18
5.6.140.0170.07018.18
5.6.130.0130.08018.16
5.6.120.0130.08020.94
5.6.110.0130.06321.02
5.6.100.0130.07320.98
5.6.90.0130.07320.98
5.6.80.0030.04020.36
5.5.350.4300.04020.45
5.5.340.0100.08018.03
5.5.330.0070.08320.27
5.5.320.0270.05020.34
5.5.310.0300.06720.31
5.5.300.0030.07717.95
5.5.290.0030.04017.94
5.5.280.0100.05720.78
5.5.270.0100.06720.77
5.5.260.0170.06720.87
5.5.250.0070.08720.47
5.5.240.0000.04020.20
5.4.450.3830.04719.54
5.4.440.0070.07319.55
5.4.430.1470.07319.27
5.4.420.3730.03719.54
5.4.410.0030.08319.32
5.4.400.4000.04718.95
5.4.390.3700.04018.95
5.4.380.3800.03319.12
5.4.370.3630.03719.18
5.4.360.3170.04018.94
5.4.350.3800.03319.12
5.4.340.3600.03719.22
5.4.320.3600.04019.11
5.4.310.3830.04719.11
5.4.300.4930.03019.06
5.4.290.3730.04319.15
5.4.280.3670.03718.93
5.4.270.3830.03019.03
5.4.260.3930.03319.13
5.4.250.3800.03319.20
5.4.240.3930.04019.23
5.4.230.3730.04019.20
5.4.220.3400.02719.20
5.4.210.3900.03719.10
5.4.200.3630.03719.03
5.4.190.3930.03719.21
5.4.180.3670.03719.11
5.4.170.4030.04319.23
5.4.160.4000.03319.20
5.4.150.3730.03319.22
5.4.140.3970.03716.46
5.4.130.3800.03716.50
5.4.120.3570.04016.52
5.4.110.4400.03016.58
5.4.100.4370.03316.53
5.4.90.3900.03316.27
5.4.80.3530.03716.52
5.4.70.3970.03016.46
5.4.60.3470.03716.61
5.4.50.3830.03716.45
5.4.40.3870.03716.61
5.4.30.3970.04316.49
5.4.20.3630.03716.19
5.4.10.3870.04016.50
5.4.00.3600.03315.80
5.3.290.3530.04314.81
5.3.280.3970.03314.48
5.3.270.3630.04014.75
5.3.260.3800.04314.76
5.3.250.4000.03314.61
5.3.240.3870.04014.60
5.3.230.3930.03714.74
5.3.220.3570.04714.58
5.3.210.4070.04014.55
5.3.200.3870.03314.59
5.3.190.3630.04014.50
5.3.180.3730.03714.56
5.3.170.3570.03314.56
5.3.160.3570.03714.59
5.3.150.3800.03314.58
5.3.140.3900.03314.55
5.3.130.3630.03714.55
5.3.120.3970.03714.55
5.3.110.3830.04014.60
5.3.100.3830.03714.05
5.3.90.3730.03314.09
5.3.80.3930.04014.16
5.3.70.3830.03714.02
5.3.60.3600.03713.95
5.3.50.3930.03013.99
5.3.40.3670.03313.94
5.3.30.3670.04013.79
5.3.20.4030.03013.73
5.3.10.3900.03013.67
5.3.00.3430.03013.65
5.2.170.3400.03311.09
5.2.160.3300.03311.29
5.2.150.3100.02711.14
5.2.140.3170.03011.14
5.2.130.3170.03311.13
5.2.120.3230.03011.17
5.2.110.3270.03011.07
5.2.100.3330.03011.06
5.2.90.3270.02711.14
5.2.80.3670.02711.15
5.2.70.3830.02711.04
5.2.60.3770.03010.94
5.2.50.3800.03010.94
5.2.40.3270.02710.95
5.2.30.3130.02710.93
5.2.20.1270.03310.93
5.2.10.0070.05710.86
5.2.00.0030.03310.66
5.1.60.0030.0579.95
5.1.50.2900.03010.01
5.1.40.2870.0309.88
5.1.30.3170.02710.30
5.1.20.2800.02010.35
5.1.10.2630.02710.00
5.1.00.2270.03010.04
5.0.50.1370.0178.52
5.0.40.1700.0178.57
5.0.30.1830.0308.25
5.0.20.1270.0178.17
5.0.10.1430.0208.08
5.0.00.1270.0308.13
4.4.90.1070.0176.07
4.4.80.1830.0176.07
4.4.70.0000.0336.07
4.4.60.0000.0376.07
4.4.50.0000.0306.07
4.4.40.0830.0236.07
4.4.30.1770.0176.07
4.4.20.1730.0136.07
4.4.10.1170.0176.07
4.4.00.1670.0276.07
4.3.110.1500.0176.07
4.3.100.1330.0136.07
4.3.90.1100.0136.07
4.3.80.1270.0206.07
4.3.70.1200.0136.07
4.3.60.1200.0136.07
4.3.50.1230.0136.07
4.3.40.1030.0236.07
4.3.30.0130.0106.07
4.3.20.0270.0176.07
4.3.10.0330.0176.07
4.3.00.0600.0176.07

preferences:
58.2 ms | 401 KiB | 5 Q