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"; 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 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])) 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); 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.0110.00418.89
8.3.30.0110.00319.24
8.3.20.0070.00020.38
8.3.10.0040.00422.10
8.3.00.0050.00322.57
8.2.170.0040.01422.96
8.2.160.0100.00321.07
8.2.150.0070.00024.18
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0080.00017.75
8.2.110.0000.00822.33
8.2.100.0110.00018.03
8.2.90.0030.00619.22
8.2.80.0040.00419.78
8.2.70.0030.00517.88
8.2.60.0050.00818.16
8.2.50.0050.00318.07
8.2.40.0000.00818.34
8.2.30.0050.00518.22
8.2.20.0050.00317.80
8.2.10.0030.00619.68
8.2.00.0000.00917.76
8.1.270.0060.00322.18
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00324.02
8.1.230.0110.00019.09
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.47
8.1.190.0030.00617.55
8.1.180.0030.00518.10
8.1.170.0050.00318.71
8.1.160.0080.00021.96
8.1.150.0020.00518.79
8.1.140.0030.00617.67
8.1.130.0030.00517.71
8.1.120.0080.00017.53
8.1.110.0040.00417.52
8.1.100.0000.00717.57
8.1.90.0070.00017.58
8.1.80.0040.00417.60
8.1.70.0030.00317.54
8.1.60.0000.00817.65
8.1.50.0000.00817.71
8.1.40.0080.00017.57
8.1.30.0000.00917.86
8.1.20.0000.00817.70
8.1.10.0040.00417.70
8.1.00.0040.00417.68
8.0.300.0000.00818.77
8.0.290.0000.00717.05
8.0.280.0030.00318.46
8.0.270.0030.00517.35
8.0.260.0030.00316.88
8.0.250.0030.00317.10
8.0.240.0030.00317.09
8.0.230.0030.00517.09
8.0.220.0030.00317.09
8.0.210.0000.00717.07
8.0.200.0030.00317.12
8.0.190.0080.00017.12
8.0.180.0000.00817.07
8.0.170.0070.00016.98
8.0.160.0040.00417.04
8.0.150.0000.00916.98
8.0.140.0000.00716.90
8.0.130.0060.00013.46
8.0.120.0000.00816.97
8.0.110.0040.00416.95
8.0.100.0020.00516.94
8.0.90.0070.00017.00
8.0.80.0120.00317.02
8.0.70.0000.00716.96
8.0.60.0000.00716.94
8.0.50.0000.00817.04
8.0.30.0170.00617.06
8.0.20.0120.00817.40
8.0.10.0050.00217.19
8.0.00.0060.01217.03
7.4.330.0000.00615.17
7.4.320.0060.00016.72
7.4.300.0000.00716.75
7.4.290.0040.00416.73
7.4.280.0000.00716.84
7.4.270.0080.00016.86
7.4.260.0070.00016.80
7.4.250.0000.00716.70
7.4.240.0040.00416.79
7.4.230.0000.00716.70
7.4.220.0100.00716.76
7.4.210.0050.00916.81
7.4.200.0000.00716.58
7.4.190.0030.00516.98
7.4.160.0100.00716.88
7.4.150.0180.00017.40
7.4.140.0190.01517.86
7.4.130.0100.00716.81
7.4.120.0050.01216.65
7.4.110.0090.00916.73
7.4.100.0070.01016.65
7.4.90.0100.00716.73
7.4.80.0060.01819.39
7.4.70.0080.00816.78
7.4.60.0040.01216.83
7.4.50.0060.00316.80
7.4.40.0030.01322.77
7.4.30.0060.01016.72
7.4.10.0100.01015.01
7.4.00.0070.01015.18
7.3.330.0030.00213.34
7.3.320.0030.00513.45
7.3.310.0070.00016.44
7.3.300.0040.00416.58
7.3.290.0090.00616.50
7.3.280.0120.00516.49
7.3.270.0150.00417.40
7.3.260.0030.01816.70
7.3.250.0120.01016.64
7.3.240.0140.00316.90
7.3.230.0140.01216.88
7.3.210.0130.00316.76
7.3.200.0070.01419.39
7.3.190.0140.00316.44
7.3.180.0060.01016.52
7.3.170.0030.01516.57
7.3.160.0130.00416.85
7.3.130.0130.00715.27
7.3.120.0050.01115.14
7.3.110.0100.01015.00
7.3.100.0070.01015.01
7.3.90.0110.00314.76
7.3.80.0060.00315.15
7.3.70.0040.00915.20
7.3.60.0050.00514.72
7.3.50.0000.01315.00
7.3.40.0030.01414.91
7.3.30.0040.01114.96
7.3.20.0060.00916.97
7.3.10.0000.01316.95
7.3.00.0070.00716.91
7.2.330.0130.01016.68
7.2.320.0090.00916.75
7.2.310.0070.01016.99
7.2.300.0120.00416.71
7.2.290.0080.01116.59
7.2.260.0060.01315.17
7.2.250.0080.00815.21
7.2.240.0070.01015.16
7.2.230.0070.00715.14
7.2.220.0030.01214.90
7.2.210.0030.01315.13
7.2.200.0060.01015.11
7.2.190.0060.00915.28
7.2.180.0150.00015.14
7.2.170.0160.00015.38
7.2.160.0130.00614.97
7.2.150.0130.00716.71
7.2.140.0130.00316.98
7.2.130.0030.01316.86
7.2.120.0150.00317.16
7.2.110.0170.00017.06
7.2.100.0060.00617.14
7.2.90.0110.00717.12
7.2.80.0110.00417.23
7.2.70.0040.01117.17
7.2.60.0070.00717.22
7.2.50.0110.00416.84
7.2.40.0040.00817.24
7.2.30.0030.01016.82
7.2.20.0030.01016.93
7.2.10.0130.00017.16
7.2.00.0000.01118.32
7.1.330.0060.00915.88
7.1.320.0100.00315.84
7.1.310.0000.00916.22
7.1.300.0000.01416.09
7.1.290.0030.00916.06
7.1.280.0100.01015.99
7.1.270.0090.00615.66
7.1.260.0060.00315.82
7.1.250.0030.00716.01
7.1.240.0040.01115.96
7.1.230.0060.00615.85
7.1.220.0030.01015.96
7.1.210.0000.01516.04
7.1.200.0080.00816.00
7.1.190.0050.00815.90
7.1.180.0000.01315.65
7.1.170.0070.00715.93
7.1.160.0030.01315.88
7.1.150.0030.00916.06
7.1.140.0070.00715.97
7.1.130.0070.00415.72
7.1.120.0000.01415.98
7.1.110.0060.00316.19
7.1.100.0090.00317.10
7.1.90.0030.01416.00
7.1.80.0070.00316.22
7.1.70.0090.00416.62
7.1.60.0080.00817.99
7.1.50.0070.00916.55
7.1.40.0000.01016.25
7.1.30.0060.00615.66
7.1.20.0070.00715.97
7.1.10.0040.00815.96
7.1.00.0050.04219.15
7.0.330.0100.00715.68
7.0.320.0060.00615.60
7.0.310.0060.00315.55
7.0.300.0060.00315.70
7.0.290.0100.00315.58
7.0.280.0060.00315.62
7.0.270.0030.00715.49
7.0.260.0070.00715.64
7.0.250.0000.01115.69
7.0.240.0040.01415.58
7.0.230.0080.00315.68
7.0.220.0060.00615.76
7.0.210.0000.01315.62
7.0.200.0070.00616.32
7.0.190.0030.00615.69
7.0.180.0000.01515.71
7.0.170.0070.00715.49
7.0.160.0090.00615.66
7.0.150.0040.01115.30
7.0.140.0050.04018.91
7.0.130.0100.00015.35
7.0.120.0070.00715.67
7.0.110.0000.01515.48
7.0.100.0170.03217.76
7.0.90.0000.02617.81
7.0.80.0050.02517.85
7.0.70.0100.02017.76
7.0.60.0060.02117.64
7.0.50.0100.02017.98
7.0.40.0050.02716.98
7.0.30.0000.02816.77
7.0.20.0050.02517.03
7.0.10.0100.02016.97
7.0.00.0070.02216.79
5.6.400.0070.00714.72
5.6.390.0070.00714.53
5.6.380.0070.01014.18
5.6.370.0060.00914.50
5.6.360.0110.00314.33
5.6.350.0070.00714.49
5.6.340.0060.00614.88
5.6.330.0030.00714.40
5.6.320.0000.01514.92
5.6.310.0070.00714.04
5.6.300.0040.01114.74
5.6.290.0000.01214.61
5.6.280.0050.03917.83
5.6.270.0090.00314.63
5.6.260.0060.00914.54
5.6.250.0030.03017.46
5.6.240.0060.02917.61
5.6.230.0020.02917.72
5.6.220.0040.02217.62
5.6.210.0050.02517.63
5.6.200.0110.02317.78
5.6.190.0060.02517.71
5.6.180.0050.02617.80
5.6.170.0070.02017.76
5.6.160.0020.02517.85
5.6.150.0070.02417.90
5.6.140.0080.02517.70
5.6.130.0050.02517.91
5.6.120.0050.02517.64
5.6.110.0070.02317.77
5.6.100.0060.03817.66
5.6.90.0090.03117.77
5.6.80.0070.04117.28
5.6.70.0100.02517.40
5.6.60.0100.04217.34
5.6.50.0100.03717.51
5.6.40.0050.03817.38
5.6.30.0110.03517.30
5.6.20.0070.03517.48
5.6.10.0090.04217.42
5.6.00.0080.04117.40
5.5.380.0090.02317.35
5.5.370.0030.02917.45
5.5.360.0120.01517.48
5.5.350.0130.01817.49
5.5.340.0030.02817.62
5.5.330.0090.02117.73
5.5.320.0020.02617.79
5.5.310.0030.02517.71
5.5.300.0080.02017.62
5.5.290.0090.02517.69
5.5.280.0090.02017.58
5.5.270.0020.04217.65
5.5.260.0070.04717.64
5.5.250.0020.04217.42
5.5.240.0050.04417.29
5.5.230.0070.04317.46
5.5.220.0090.04217.27
5.5.210.0080.04417.34
5.5.200.0050.03917.19
5.5.190.0020.04417.23
5.5.180.0070.03217.27
5.5.170.0070.00714.62
5.5.160.0050.03317.04
5.5.150.0120.03517.09
5.5.140.0050.03817.30
5.5.130.0050.03817.31
5.5.120.0050.04317.39
5.5.110.0100.03617.22
5.5.100.0030.04817.12
5.5.90.0080.02317.21
5.5.80.0080.03917.28
5.5.70.0050.04517.31
5.5.60.0090.03717.19
5.5.50.0120.03717.09
5.5.40.0020.03817.36
5.5.30.0050.04517.14
5.5.20.0050.04717.23
5.5.10.0050.04417.38
5.5.00.0070.04217.28
5.4.450.0040.02315.26
5.4.440.0030.02715.39
5.4.430.0030.02215.27
5.4.420.0050.04515.23
5.4.410.0030.04315.11
5.4.400.0030.04315.05
5.4.390.0060.03215.22
5.4.380.0090.03915.11
5.4.370.0020.04915.08
5.4.360.0050.04415.05
5.4.350.0030.04415.17
5.4.340.0100.02815.11
5.4.330.0000.01011.16
5.4.320.0070.04015.06
5.4.310.0070.04015.14
5.4.300.0060.04015.11
5.4.290.0030.04315.19
5.4.280.0070.03815.19
5.4.270.0130.03514.95
5.4.260.0030.02115.11
5.4.250.0030.04015.12
5.4.240.0050.03314.99
5.4.230.0020.04615.10
5.4.220.0050.03015.05
5.4.210.0100.03015.14
5.4.200.0040.04015.01
5.4.190.0120.03714.95
5.4.180.0050.04315.11
5.4.170.0070.04215.21
5.4.160.0120.03915.00
5.4.150.0030.04215.10
5.4.140.0030.04413.75
5.4.130.0060.03613.84
5.4.120.0020.04413.69
5.4.110.0000.03213.65
5.4.100.0130.01713.83
5.4.90.0120.01813.90
5.4.80.0050.03013.78
5.4.70.0030.02013.86
5.4.60.0050.03713.78
5.4.50.0070.04213.79
5.4.40.0050.02413.86
5.4.30.0050.04313.83
5.4.20.0110.03213.75
5.4.10.0100.02013.78
5.4.00.0020.04013.34
5.3.290.0050.02512.74
5.3.280.0060.02312.58
5.3.270.0030.03712.57
5.3.260.0050.03812.70
5.3.250.0100.03512.69
5.3.240.0060.04612.62
5.3.230.0050.02712.56
5.3.220.0020.03412.37
5.3.210.0050.04112.48
5.3.200.0070.04012.51
5.3.190.0100.03812.58
5.3.180.0060.03812.68
5.3.170.0030.02312.66
5.3.160.0050.03712.63
5.3.150.0050.03912.68
5.3.140.0030.04112.68
5.3.130.0050.03912.63
5.3.120.0030.04312.52
5.3.110.0020.02812.56
5.3.100.0050.02312.46
5.3.90.0030.03912.35
5.3.80.0020.03012.21
5.3.70.0070.03712.25
5.3.60.0070.02212.37
5.3.50.0020.03512.29
5.3.40.0020.04412.10
5.3.30.0050.03512.25
5.3.20.0120.01611.99
5.3.10.0040.03912.01
5.3.00.0030.03412.06
5.2.170.0070.06011.05
5.2.160.0030.07011.04
5.2.150.0030.05711.17
5.2.140.0000.07011.25
5.2.130.0070.04010.97
5.2.120.0100.03311.14
5.2.110.0000.04011.09
5.2.100.0000.04311.17
5.2.90.0030.04711.17
5.2.80.0070.06011.09
5.2.70.0070.06011.19
5.2.60.0000.03311.11
5.2.50.0000.06010.93
5.2.40.0070.06010.90
5.2.30.0100.04311.05
5.2.20.0100.05311.10
5.2.10.0130.03010.89
5.2.00.0070.04710.77
5.1.60.0070.05310.08
5.1.50.0070.04010.14
5.1.40.0030.0539.98
5.1.30.0130.05310.49
5.1.20.0000.03310.38
5.1.10.0030.05710.20
5.1.00.0070.04010.18
5.0.50.0070.0209.49
5.0.40.0030.0239.49
5.0.30.0070.0579.49
5.0.20.0030.0339.49
5.0.10.0070.0409.49
5.0.00.0130.0409.49
4.4.90.0000.0339.49
4.4.80.0100.0209.49
4.4.70.0000.0179.49
4.4.60.0070.0139.49
4.4.50.0030.0379.49
4.4.40.0000.0479.49
4.4.30.0030.0309.49
4.4.20.0070.0209.49
4.4.10.0030.0279.49
4.4.00.0000.0539.49
4.3.110.0070.0339.49
4.3.100.0000.0339.49
4.3.90.0100.0279.49
4.3.80.0000.0539.49
4.3.70.0000.0379.49
4.3.60.0030.0309.49
4.3.50.0000.0379.49
4.3.40.0030.0509.49
4.3.30.0000.0279.49
4.3.20.0070.0309.49
4.3.10.0000.0339.49
4.3.00.0030.0339.49

preferences:
49.81 ms | 400 KiB | 5 Q