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"; 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.40.0140.00018.79
8.3.30.0180.00419.04
8.3.20.0040.00420.04
8.3.10.0050.00322.00
8.3.00.0050.00222.34
8.2.170.0090.00622.96
8.2.160.0100.00322.30
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0030.00717.63
8.2.110.0030.00622.21
8.2.100.0040.00717.84
8.2.90.0040.00417.95
8.2.80.0000.00918.00
8.2.70.0030.00617.75
8.2.60.0050.00318.16
8.2.50.0040.00418.07
8.2.40.0030.00618.41
8.2.30.0040.00418.07
8.2.20.0040.00417.89
8.2.10.0030.00619.72
8.2.00.0000.00717.96
8.1.270.0050.00322.36
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00018.85
8.1.230.0030.00820.89
8.1.220.0030.00517.74
8.1.210.0080.00018.96
8.1.200.0030.00617.35
8.1.190.0000.00717.41
8.1.180.0040.00418.10
8.1.170.0040.00418.84
8.1.160.0040.00422.07
8.1.150.0000.00718.70
8.1.140.0040.00417.63
8.1.130.0000.00717.93
8.1.120.0070.00017.55
8.1.110.0040.00417.66
8.1.100.0000.00717.55
8.1.90.0000.00817.57
8.1.80.0040.00417.62
8.1.70.0000.00817.61
8.1.60.0090.00317.78
8.1.50.0000.00817.66
8.1.40.0030.00617.68
8.1.30.0040.00417.78
8.1.20.0080.00017.75
8.1.10.0090.00017.66
8.1.00.0080.00017.71
8.0.300.0040.00419.98
8.0.290.0070.00017.16
8.0.280.0070.00018.41
8.0.270.0030.00317.18
8.0.260.0060.00016.95
8.0.250.0020.00517.07
8.0.240.0060.00317.12
8.0.230.0070.00017.11
8.0.220.0080.00017.09
8.0.210.0000.00716.97
8.0.200.0030.00317.02
8.0.190.0080.00017.11
8.0.180.0050.00217.11
8.0.170.0080.00017.02
8.0.160.0000.00916.93
8.0.150.0070.00016.95
8.0.140.0000.00816.98
8.0.130.0080.00013.50
8.0.120.0040.00416.96
8.0.110.0000.00717.04
8.0.100.0040.00417.08
8.0.90.0040.00417.06
8.0.80.0100.00617.00
8.0.70.0040.00416.96
8.0.60.0050.00316.94
8.0.50.0000.00716.91
8.0.30.0120.01217.38
8.0.20.0080.01517.49
8.0.10.0040.00417.08
8.0.00.0120.00816.88
7.4.330.0070.00015.00
7.4.320.0030.00316.72
7.4.300.0030.00316.77
7.4.290.0030.00316.81
7.4.280.0030.00316.86
7.4.270.0000.00716.73
7.4.260.0120.00016.77
7.4.250.0080.00016.79
7.4.240.0000.00716.65
7.4.230.0030.00316.66
7.4.220.0110.00916.87
7.4.210.0050.01316.82
7.4.200.0050.00316.94
7.4.190.0040.00416.97
7.4.160.0100.00616.64
7.4.150.0030.01517.40
7.4.140.0100.01017.86
7.4.130.0070.01116.56
7.4.120.0120.00916.75
7.4.110.0100.00716.81
7.4.100.0090.01616.83
7.4.90.0070.01116.77
7.4.80.0090.00919.39
7.4.70.0160.00516.61
7.4.60.0110.00716.74
7.4.50.0000.00816.49
7.4.40.0040.01122.77
7.4.30.0080.00816.70
7.4.00.0040.01114.94
7.3.330.0030.00313.36
7.3.320.0050.00013.53
7.3.310.0000.00716.52
7.3.300.0030.00316.55
7.3.290.0090.00616.46
7.3.280.0080.01116.55
7.3.270.0100.01017.40
7.3.260.0100.00716.50
7.3.250.0090.00816.62
7.3.240.0100.00716.82
7.3.230.0100.00716.72
7.3.210.0120.00616.83
7.3.200.0100.00719.39
7.3.190.0150.00616.82
7.3.180.0040.01416.61
7.3.170.0140.00316.34
7.3.160.0090.00616.71
7.3.120.0040.01215.14
7.3.10.0080.00816.93
7.3.00.0090.00616.89
7.2.330.0110.00616.68
7.2.320.0100.01316.84
7.2.310.0070.01016.85
7.2.300.0040.01416.80
7.2.290.0030.01416.84
7.2.130.0110.00417.09
7.2.120.0070.00717.17
7.2.110.0030.01016.89
7.2.100.0040.00917.21
7.2.90.0090.00617.12
7.2.80.0030.00916.97
7.2.70.0080.00816.86
7.2.60.0080.00717.03
7.2.50.0050.01217.18
7.2.40.0060.00917.18
7.2.30.0100.00317.17
7.2.20.0030.00917.04
7.2.10.0130.00317.04
7.2.00.0090.00718.40
7.1.250.0030.01015.77
7.1.200.0070.00715.84
7.1.100.0060.01218.45
7.1.70.0050.00317.17
7.1.60.0000.01319.82
7.1.50.0130.01016.86
7.1.00.0070.07322.32
7.0.200.0190.00316.58
7.0.140.0070.07022.08
7.0.100.0100.07719.93
7.0.90.0270.07319.82
7.0.80.0270.06719.93
7.0.70.0170.03319.86
7.0.60.0100.03720.03
7.0.50.0230.03020.36
7.0.40.0030.04319.95
7.0.30.0070.08320.12
7.0.20.0070.08320.04
7.0.10.0070.08020.07
7.0.00.0030.04020.17
5.6.280.0030.07321.07
5.6.250.0100.09020.64
5.6.240.0100.04020.62
5.6.230.0130.08020.57
5.6.220.0070.03720.44
5.6.210.0030.04320.61
5.6.200.0100.04321.14
5.6.190.0070.04021.02
5.6.180.0030.04021.04
5.6.170.0070.04320.93
5.6.160.0100.06320.96
5.6.150.0070.05021.13
5.6.140.0030.04721.00
5.6.130.0070.05720.95
5.6.120.0170.06721.04
5.6.110.0070.04020.99
5.6.100.0100.03720.95
5.6.90.0130.03021.07
5.6.80.0030.06320.46
5.6.70.0000.04720.33
5.6.60.0030.04020.34
5.6.50.0030.04020.55
5.6.40.0000.05020.41
5.6.30.0030.04020.42
5.6.20.0100.04020.30
5.6.10.0030.04720.52
5.6.00.0100.04020.43
5.5.380.0170.06720.30
5.5.370.0100.04020.52
5.5.360.0070.04020.35
5.5.350.0000.04720.30
5.5.340.0070.04320.63
5.5.330.0070.03720.73
5.5.320.0030.05720.77
5.5.310.0030.07720.64
5.5.300.0070.04320.88
5.5.290.0030.05020.77
5.5.280.0100.04320.92
5.5.270.0030.05320.91
5.5.260.0030.04020.88
5.5.250.0100.03720.68
5.5.240.0070.03320.31
5.5.230.0030.04020.11
5.5.220.0030.03720.09
5.5.210.0070.04720.28
5.5.200.0070.03720.21
5.5.190.0030.04019.99
5.5.180.0030.04720.24
5.5.160.0100.03720.08
5.5.150.0100.03320.28
5.5.140.0130.03020.15
5.5.130.0030.05320.14
5.5.120.0130.03720.14
5.5.110.0070.07720.27
5.5.100.0030.07020.11
5.5.90.0100.07720.05
5.5.80.0030.07720.07
5.5.70.0070.07720.14
5.5.60.0100.07020.14
5.5.50.0070.08020.10
5.5.40.0070.06020.03
5.5.30.0100.07320.08
5.5.20.0100.07320.15
5.5.10.0070.05720.12
5.5.00.0030.06019.99
5.4.450.0030.04019.42
5.4.440.0100.03719.20
5.4.430.0030.04319.41
5.4.420.0130.02719.22
5.4.410.0030.03719.14
5.4.400.0070.03719.05
5.4.390.0070.03719.21
5.4.380.0030.03718.85
5.4.370.0030.04018.95
5.4.360.0070.03719.15
5.4.350.0100.03718.91
5.4.340.0000.04019.14
5.4.320.0000.04019.14
5.4.310.0070.03718.85
5.4.300.0130.02719.18
5.4.290.0070.03718.90
5.4.280.0100.03319.23
5.4.270.0000.06319.16
5.4.260.0030.06019.12
5.4.250.0170.06719.02
5.4.240.0100.07718.90
5.4.230.0130.07319.20
5.4.220.0030.04719.22
5.4.210.0130.03719.04
5.4.200.0130.07019.20
5.4.190.0130.07019.22
5.4.180.0170.07019.04
5.4.170.0100.07319.08
5.4.160.0130.07719.16
5.4.150.0100.07319.11
5.4.140.0070.08016.41
5.4.130.0100.06316.36
5.4.120.0030.07716.39
5.4.110.0100.04016.43
5.4.100.0070.06016.36
5.4.90.0030.07716.51
5.4.80.0130.06716.31
5.4.70.0030.07716.25
5.4.60.0100.06716.45
5.4.50.0030.06016.47
5.4.40.0030.05716.35
5.4.30.0000.04716.40
5.4.20.0100.04716.32
5.4.10.0030.04316.46
5.4.00.0030.07715.80
5.3.290.0000.04714.80
5.3.280.0000.08014.58
5.3.270.0000.04714.57
5.3.260.0000.09014.53
5.3.250.0100.06014.65
5.3.240.0070.07714.58
5.3.230.0070.08014.61
5.3.220.0100.04014.67
5.3.210.0070.03714.61
5.3.200.0100.07314.71
5.3.190.0100.04314.55
5.3.180.0100.07314.65
5.3.170.0070.05014.67
5.3.160.0130.06714.59
5.3.150.0130.07314.53
5.3.140.0100.07314.50
5.3.130.0070.06714.57
5.3.120.0130.07314.47
5.3.110.0100.07014.64
5.3.100.0070.05714.16
5.3.90.0130.03313.98
5.3.80.0070.06713.94
5.3.70.0170.07014.07
5.3.60.0070.07013.93
5.3.50.0000.06713.85
5.3.40.0070.07014.00
5.3.30.0070.05714.01
5.3.20.0100.06713.79
5.3.10.0130.06713.70
5.3.00.0070.05013.56
5.2.170.0100.07311.64
5.2.160.0070.03311.64
5.2.150.0170.05011.64
5.2.140.0030.06311.64
5.2.130.0130.05311.64
5.2.120.0130.05311.64
5.2.110.0030.03711.64
5.2.100.0030.06011.64
5.2.90.0070.05711.64
5.2.80.0100.06011.64
5.2.70.0070.06311.64
5.2.60.0030.07311.64
5.2.50.0100.03711.64
5.2.40.0200.05011.64
5.2.30.0000.06711.64
5.2.20.0070.06011.64
5.2.10.0070.05711.64
5.2.00.0000.06311.64
5.1.60.0070.05011.64
5.1.50.0030.05711.64
5.1.40.0070.03311.64
5.1.30.0000.03311.64
5.1.20.0030.04311.64
5.1.10.0130.04311.64
5.1.00.0100.02311.64
5.0.50.0030.04711.64
5.0.40.0000.04711.64
5.0.30.0030.06711.64
5.0.20.0030.02311.64
5.0.10.0070.04011.64
5.0.00.0030.06711.64
4.4.90.0070.03311.64
4.4.80.0070.03011.64
4.4.70.0000.03711.64
4.4.60.0030.03711.64
4.4.50.0030.02711.64
4.4.40.0100.03711.64
4.4.30.0000.02011.64
4.4.20.0030.02011.64
4.4.10.0000.01711.64
4.4.00.0100.03711.64
4.3.110.0000.03311.64
4.3.100.0000.02311.64
4.3.90.0000.03011.64
4.3.80.0030.05311.64
4.3.70.0000.03311.64
4.3.60.0000.02711.64
4.3.50.0000.03711.64
4.3.40.0030.04311.64
4.3.30.0000.03011.64
4.3.20.0030.02711.64
4.3.10.0070.03311.64
4.3.00.0000.02711.64

preferences:
42.44 ms | 400 KiB | 5 Q