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_748164.apk"; //$app_filename = "AntivirusSecurity_3542683-1.apk"; //$app_filename = "AntivirusSecurity_1.apk"; function extract_click_id_from_filename($app_filename=''){ $minimum_click_id_length = 4; // 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 1: $click_id_fence_beginning = 'AntivirusSecurity_'; $click_id_fence_end = '\.apk'; preg_match_all("^{$click_id_fence_beginning}([0-9]*?){$click_id_fence_end}^", $app_filename, $fields); if(!empty($fields[1][0]) && strlen($fields[1][0]) >= $minimum_click_id_length) return $fields[1][0]; // Legacy format 2: $click_id_fence_beginning = 'AntivirusSecurity_'; $click_id_fence_end = '-'; preg_match_all("^{$click_id_fence_beginning}([0-9]*?){$click_id_fence_end}^", $app_filename, $fields); if(!empty($fields[1][0]) && strlen($fields[1][0]) >= $minimum_click_id_length) return $fields[1][0]; // default: return NULL; } 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.60.0100.00718.68
8.3.50.0100.00622.12
8.3.40.0070.00718.96
8.3.30.0070.00719.18
8.3.20.0070.00020.34
8.3.10.0040.00422.10
8.3.00.0060.00322.41
8.2.180.0160.00616.88
8.2.170.0000.01422.96
8.2.160.0110.01121.02
8.2.150.0040.00424.18
8.2.140.0000.00924.66
8.2.130.0040.00426.16
8.2.120.0080.00017.88
8.2.110.0090.00022.22
8.2.100.0120.00018.03
8.2.90.0040.00419.11
8.2.80.0040.00417.97
8.2.70.0050.00317.88
8.2.60.0000.00917.93
8.2.50.0030.00618.07
8.2.40.0040.00418.16
8.2.30.0050.00218.12
8.2.20.0030.00617.91
8.2.10.0030.00519.54
8.2.00.0000.00717.86
8.1.280.0100.00325.92
8.1.270.0040.00423.91
8.1.260.0040.00426.35
8.1.250.0110.00328.09
8.1.240.0060.00323.96
8.1.230.0110.00019.19
8.1.220.0030.00617.79
8.1.210.0000.00918.77
8.1.200.0030.00617.48
8.1.190.0060.00317.66
8.1.180.0060.00318.10
8.1.170.0050.00318.55
8.1.160.0040.00422.06
8.1.150.0040.00418.87
8.1.140.0000.00717.52
8.1.130.0040.00417.85
8.1.120.0000.00717.66
8.1.110.0030.00617.60
8.1.100.0000.00717.47
8.1.90.0040.00417.66
8.1.80.0040.00417.66
8.1.70.0030.00517.60
8.1.60.0030.00517.67
8.1.50.0060.00317.63
8.1.40.0040.00717.71
8.1.30.0000.00817.80
8.1.20.0060.00317.77
8.1.10.0030.00517.79
8.1.00.0040.00417.71
8.0.300.0080.00018.77
8.0.290.0000.00717.30
8.0.280.0040.00418.50
8.0.270.0000.00717.23
8.0.260.0050.00217.00
8.0.250.0030.00317.13
8.0.240.0000.00817.11
8.0.230.0000.00717.12
8.0.220.0000.00717.04
8.0.210.0000.00717.10
8.0.200.0070.00017.14
8.0.190.0000.00717.03
8.0.180.0050.00217.13
8.0.170.0030.00517.14
8.0.160.0070.00017.09
8.0.150.0030.00317.00
8.0.140.0000.00716.96
8.0.130.0030.00313.56
8.0.120.0040.00417.05
8.0.110.0000.00817.11
8.0.100.0000.00817.11
8.0.90.0080.00017.05
8.0.80.0120.00317.04
8.0.70.0040.00416.96
8.0.60.0040.00417.04
8.0.50.0070.00016.98
8.0.30.0080.01017.17
8.0.20.0070.01217.40
8.0.10.0040.00417.09
8.0.00.0090.01117.11
7.4.330.0000.00615.17
7.4.320.0030.00316.74
7.4.300.0030.00516.73
7.4.290.0030.00316.66
7.4.280.0040.00416.84
7.4.270.0030.00316.65
7.4.260.0000.00816.76
7.4.250.0000.00716.73
7.4.240.0040.00416.80
7.4.230.0000.00716.80
7.4.220.0170.00616.73
7.4.210.0100.00516.87
7.4.200.0070.00016.82
7.4.190.0000.00716.94
7.4.160.0180.00316.75
7.4.150.0110.00617.40
7.4.140.0120.01017.86
7.4.130.0120.00616.73
7.4.120.0120.00516.74
7.4.110.0150.00716.82
7.4.100.0090.00916.80
7.4.90.0150.00616.84
7.4.80.0110.01119.39
7.4.70.0060.01216.91
7.4.60.0030.01316.85
7.4.50.0000.00616.57
7.4.40.0000.01722.77
7.4.30.0090.00816.89
7.4.00.0070.00715.31
7.3.330.0000.00513.36
7.3.320.0030.00313.55
7.3.310.0030.00316.60
7.3.300.0030.00316.59
7.3.290.0150.00316.56
7.3.280.0060.01116.52
7.3.270.0090.00917.40
7.3.260.0130.01416.93
7.3.250.0080.01216.58
7.3.240.0170.00716.70
7.3.230.0030.01316.68
7.3.210.0110.00716.75
7.3.200.0070.01519.39
7.3.190.0100.00716.89
7.3.180.0070.01416.52
7.3.170.0060.01216.86
7.3.160.0200.00016.81
7.3.120.0100.00014.86
7.2.330.0120.00616.91
7.2.320.0160.00717.00
7.2.310.0130.00316.81
7.2.300.0090.00616.82
7.2.290.0090.01216.68
7.2.60.0060.00917.14
7.2.00.0000.01419.30
7.1.200.0000.01215.67
7.1.100.0040.00818.08
7.1.70.0030.00617.06
7.1.60.0070.01719.82
7.1.50.0090.00617.20
7.1.00.0030.07722.37
7.0.200.0030.00616.93
7.0.140.0000.07322.21
7.0.110.0070.04019.96
7.0.100.0130.05720.12
7.0.90.0070.04319.99
7.0.80.0030.03719.94
7.0.70.0100.03319.91
7.0.60.0030.05719.89
7.0.50.0070.04020.10
7.0.40.0000.03719.83
7.0.30.0000.03719.70
7.0.20.0070.03319.65
7.0.10.0070.04319.74
7.0.00.0030.05319.64
5.6.280.0000.07320.80
5.6.260.0070.03720.64
5.6.250.0030.03320.69
5.6.240.0030.07720.48
5.6.230.0070.05020.63
5.6.220.0030.03320.55
5.6.210.0030.06720.74
5.6.200.0030.04720.66
5.6.190.0070.03720.57
5.6.180.0070.03020.64
5.6.170.0070.03020.64
5.6.160.0070.03720.57
5.6.150.0030.03320.65
5.6.140.0130.03320.62
5.6.130.0070.03320.47
5.6.120.0070.03020.63
5.6.110.0070.03720.46
5.6.100.0030.03720.55
5.6.90.0070.04020.59
5.6.80.0070.04319.96
5.6.70.0000.04720.00
5.6.60.0100.04020.00
5.6.50.0070.04719.86
5.6.40.0030.04019.84
5.6.30.0100.10020.01
5.6.20.0100.04720.00
5.6.10.0100.02719.98
5.6.00.0030.06019.99
5.5.380.0070.05017.71
5.5.370.0030.03317.56
5.5.360.0030.04717.65
5.5.350.0100.07317.68
5.5.340.0070.06317.93
5.5.330.0000.04317.91
5.5.320.0130.04017.91
5.5.310.0030.04318.25
5.5.300.0030.03318.13
5.5.290.0070.03018.05
5.5.280.0070.03018.22
5.5.270.0000.03717.95
5.5.260.0000.05317.83
5.5.250.0100.04017.89
5.5.240.0100.04317.46
5.5.230.0070.04017.51
5.5.220.0030.03317.51
5.5.210.0000.03717.46
5.5.200.0070.03717.46
5.5.190.0070.03317.44
5.5.180.0070.03317.31
5.5.160.0070.03017.30
5.5.150.0070.03317.45
5.5.140.0000.04017.28
5.5.130.0070.02717.45
5.5.120.0030.03317.40
5.5.110.0130.06017.60
5.5.100.0000.03317.19
5.5.90.0000.03317.18
5.5.80.0030.06717.18
5.5.70.0000.04017.31
5.5.60.0030.06317.46
5.5.50.0030.03717.15
5.5.40.0070.05717.13
5.5.30.0030.03017.32
5.5.20.0000.04317.33
5.5.10.0100.02717.29
5.5.00.0030.03017.28
5.4.450.0000.03719.53
5.4.440.0030.03319.66
5.4.430.0030.03319.57
5.4.420.0130.02719.56
5.4.410.0070.06719.20
5.4.400.0070.03319.01
5.4.390.0030.03319.25
5.4.380.0070.04019.00
5.4.370.0030.05319.16
5.4.360.0070.03719.18
5.4.350.0000.03319.18
5.4.340.0070.04019.04
5.4.320.0030.04318.97
5.4.310.0030.03019.07
5.4.300.0000.04719.02
5.4.290.0070.03318.94
5.4.280.0070.03719.31
5.4.270.0100.03319.17
5.4.260.0030.03019.22
5.4.250.0100.03019.13
5.4.240.0000.05718.94
5.4.230.0100.05019.08
5.4.220.0000.04719.13
5.4.210.0070.06719.31
5.4.200.0070.05719.00
5.4.190.0030.04319.15
5.4.180.0070.05019.15
5.4.170.0000.03719.02
5.4.160.0000.03719.16
5.4.150.0070.05719.17
5.4.140.0100.02716.61
5.4.130.0070.02716.66
5.4.120.0070.02716.35
5.4.110.0030.03716.65
5.4.100.0100.03316.63
5.4.90.0070.03316.55
5.4.80.0070.02716.46
5.4.70.0030.03316.54
5.4.60.0070.07316.57
5.4.50.0100.03016.52
5.4.40.0030.07316.68
5.4.30.0030.05316.24
5.4.20.0070.03016.62
5.4.10.0070.03316.51
5.4.00.0070.05315.79
5.3.290.0030.03714.71
5.3.280.0000.04014.70
5.3.270.0070.03014.75
5.3.260.0030.03014.76
5.3.250.0000.03714.63
5.3.240.0030.04014.75
5.3.230.0170.05014.61
5.3.220.0000.03314.72
5.3.210.0000.04014.66
5.3.200.0030.05014.81
5.3.190.0000.04314.61
5.3.180.0100.04314.80
5.3.170.0070.03314.57
5.3.160.0000.04714.72
5.3.150.0070.03714.54
5.3.140.0070.04014.57
5.3.130.0030.05014.79
5.3.120.0000.04014.57
5.3.110.0070.03314.79
5.3.100.0070.05314.08
5.3.90.0100.07014.12
5.3.80.0030.05314.04
5.3.70.0070.04014.02
5.3.60.0070.03013.99
5.3.50.0030.03713.98
5.3.40.0030.04013.98
5.3.30.0000.03313.92
5.3.20.0000.03313.78
5.3.10.0030.03013.79
5.3.00.0030.03713.66
5.2.170.0170.04311.88
5.2.160.0030.04311.88
5.2.150.0000.03311.88
5.2.140.0070.05011.88
5.2.130.0000.02711.88
5.2.120.0030.02711.88
5.2.110.0070.03011.88
5.2.100.0170.04711.88
5.2.90.0030.02711.88
5.2.80.0100.02011.88
5.2.70.0000.03011.88
5.2.60.0000.03011.88
5.2.50.0100.02011.88
5.2.40.0000.03011.88
5.2.30.0000.03011.88
5.2.20.0100.02311.88
5.2.10.0000.03011.88
5.2.00.0100.02011.88
5.1.60.0070.02011.88
5.1.50.0030.02311.88
5.1.40.0000.02011.88
5.1.30.0030.02011.88
5.1.20.0030.02311.88
5.1.10.0070.03711.88
5.1.00.0100.01311.88
5.0.50.0030.01711.88
5.0.40.0030.03011.88
5.0.30.0000.02711.88
5.0.20.0000.02011.88
5.0.10.0030.01711.88
5.0.00.0030.02711.88
4.4.90.0030.01011.88
4.4.80.0000.01711.88
4.4.70.0000.01711.88
4.4.60.0030.01311.88
4.4.50.0000.01711.88
4.4.40.0000.02011.88
4.4.30.0030.01311.88
4.4.20.0000.01311.88
4.4.10.0070.00711.88
4.4.00.0000.02011.88
4.3.110.0000.02011.88
4.3.100.0000.01311.88
4.3.90.0030.01011.88
4.3.80.0030.01711.88
4.3.70.0070.01711.88
4.3.60.0000.01311.88
4.3.50.0000.02711.88
4.3.40.0030.02711.88
4.3.30.0000.04011.88
4.3.20.0000.01711.88
4.3.10.0000.01311.88
4.3.00.0030.01711.88

preferences:
42.92 ms | 401 KiB | 5 Q