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: $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); 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.60.0100.00718.68
8.3.50.0130.00822.11
8.3.40.0140.00318.93
8.3.30.0040.01118.88
8.3.20.0030.00618.89
8.3.10.0030.00621.23
8.3.00.0060.00321.63
8.2.180.0070.01416.50
8.2.170.0140.00722.96
8.2.160.0100.00619.14
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00421.12
8.2.110.0060.00320.35
8.2.100.0090.00318.09
8.2.90.0050.00319.25
8.2.80.0100.00017.97
8.2.70.0060.00617.63
8.2.60.0080.00017.93
8.2.50.0060.00318.07
8.2.40.0000.00818.34
8.2.30.0030.00521.17
8.2.20.0000.00817.97
8.2.10.0050.00317.93
8.2.00.0040.00417.85
8.1.280.0060.00925.92
8.1.270.0000.00823.99
8.1.260.0030.00526.35
8.1.250.0060.00328.09
8.1.240.0000.01022.59
8.1.230.0070.00420.98
8.1.220.0050.00318.77
8.1.210.0060.00318.89
8.1.200.0050.00517.48
8.1.190.0030.00519.29
8.1.180.0080.00018.10
8.1.170.0050.00318.78
8.1.160.0040.00418.93
8.1.150.0040.00418.73
8.1.140.0040.00417.53
8.1.130.0000.00817.93
8.1.120.0100.00017.53
8.1.110.0070.00317.63
8.1.100.0050.00317.57
8.1.90.0000.00817.52
8.1.80.0050.00317.67
8.1.70.0000.00717.65
8.1.60.0050.00317.66
8.1.50.0080.00017.63
8.1.40.0000.00917.72
8.1.30.0040.00417.79
8.1.20.0030.00617.66
8.1.10.0000.00717.65
8.1.00.0000.01017.58
8.0.300.0040.00420.10
8.0.290.0000.00717.30
8.0.280.0040.00418.38
8.0.270.0050.00217.30
8.0.260.0000.00817.04
8.0.250.0070.00017.12
8.0.240.0040.00417.10
8.0.230.0030.00317.05
8.0.220.0050.00217.07
8.0.210.0040.00417.07
8.0.200.0030.00317.02
8.0.190.0080.00017.00
8.0.180.0000.00717.05
8.0.170.0090.00017.04
8.0.160.0050.00317.08
8.0.150.0040.00417.11
8.0.140.0040.00416.98
8.0.130.0000.00513.49
8.0.120.0000.00717.07
8.0.110.0050.00217.03
8.0.100.0000.00717.04
8.0.90.0000.00716.87
8.0.80.0090.00917.09
8.0.70.0040.00416.94
8.0.60.0040.00417.05
8.0.50.0040.00417.18
8.0.30.0160.00517.32
8.0.20.0120.01117.40
8.0.10.0000.00717.23
8.0.00.0060.01116.96
7.4.330.0050.00014.94
7.4.320.0070.00016.84
7.4.300.0040.00416.64
7.4.290.0000.00716.74
7.4.280.0070.00016.82
7.4.270.0030.00316.86
7.4.260.0000.00513.53
7.4.250.0000.00716.61
7.4.240.0000.00716.61
7.4.230.0000.00716.94
7.4.220.0060.01916.71
7.4.210.0050.00916.83
7.4.200.0050.00316.87
7.4.190.0070.00017.00
7.4.160.0070.01416.55
7.4.150.0060.01217.40
7.4.140.0130.00717.86
7.4.130.0080.01116.82
7.4.120.0070.01016.83
7.4.110.0130.00416.52
7.4.100.0140.00316.87
7.4.90.0060.01216.66
7.4.80.0090.01019.39
7.4.70.0100.00616.65
7.4.60.0160.00616.89
7.4.50.0040.00416.65
7.4.40.0000.01422.52
7.4.30.0150.00616.68
7.4.00.0030.01215.04
7.3.330.0050.00013.53
7.3.320.0000.00613.50
7.3.310.0040.00416.57
7.3.300.0040.00416.59
7.3.290.0100.01016.52
7.3.280.0130.00516.56
7.3.270.0070.01017.40
7.3.260.0110.01118.24
7.3.250.0120.00716.68
7.3.240.0060.01016.57
7.3.230.0100.00716.62
7.3.210.0060.01216.56
7.3.200.0120.00919.39
7.3.190.0120.00816.75
7.3.180.0100.01016.89
7.3.170.0110.00716.48
7.3.160.0090.00616.52
7.3.120.0080.00815.17
7.2.330.0070.01116.71
7.2.320.0170.00716.92
7.2.310.0150.00316.96
7.2.300.0070.01016.60
7.2.290.0110.00716.87
7.2.00.0000.01319.76
7.1.200.0040.00715.98
7.1.100.0030.01017.86
7.1.70.0080.00317.38
7.1.60.0070.01819.40
7.1.50.0070.01017.24
7.1.00.0070.03022.44
7.0.200.0050.00317.09
7.0.140.0030.07322.06
7.0.70.0070.08321.62
7.0.60.0070.07721.68
7.0.50.0100.07722.04
7.0.40.0100.08020.18
7.0.30.0030.09020.14
7.0.20.0000.07720.09
7.0.10.0000.07720.09
7.0.00.0070.07720.14
5.6.280.0070.06721.07
5.6.220.0030.07720.53
5.6.210.0000.07720.59
5.6.200.0170.07321.05
5.6.190.0000.08320.96
5.6.180.0100.06020.95
5.6.170.0030.08721.05
5.6.160.0030.08321.05
5.6.150.0100.07021.05
5.6.140.0070.04321.04
5.6.130.0000.04721.05
5.6.120.0000.07721.05
5.6.110.0000.08721.13
5.6.100.0030.06321.16
5.6.90.0030.08321.02
5.6.80.0070.07720.44
5.6.70.0070.07720.48
5.6.60.0100.07320.39
5.6.50.0000.08320.45
5.6.40.0100.06320.35
5.6.30.0000.08320.45
5.6.20.0100.04720.44
5.6.10.0070.06020.48
5.6.00.0070.07720.30
5.5.360.0030.08320.48
5.5.350.0000.07020.36
5.5.340.0100.08020.80
5.5.330.0000.08720.90
5.5.320.0030.06320.64
5.5.310.0000.08320.91
5.5.300.0070.08320.88
5.5.290.0070.08320.87
5.5.280.0070.08020.80
5.5.270.0030.08320.73
5.5.260.0000.08020.92
5.5.250.0100.06320.70
5.5.240.0030.06320.21
5.5.230.0030.08020.25
5.5.220.0000.07320.20
5.5.210.0030.08720.02
5.5.200.0070.05320.11
5.5.190.0000.07320.27
5.5.180.0030.06020.21
5.5.160.0000.07720.23
5.5.150.0000.04320.23
5.5.140.0100.04320.25
5.5.130.0170.07720.21
5.5.120.0070.07320.27
5.5.110.0000.08320.23
5.5.100.0000.08320.01
5.5.90.0070.06720.07
5.5.80.0000.05320.10
5.5.70.0000.06720.06
5.5.60.0070.05320.12
5.5.50.0030.07320.03
5.5.40.0000.05019.93
5.5.30.0070.06319.99
5.5.20.0070.06020.04
5.5.10.0030.05720.04
5.5.00.0000.05320.07
5.4.450.0070.08319.56
5.4.440.0030.08019.46
5.4.430.0130.07019.53
5.4.420.0070.07719.36
5.4.410.0030.07319.24
5.4.400.0030.07019.21
5.4.390.0000.07019.15
5.4.380.0000.08018.91
5.4.370.0000.06719.07
5.4.360.0000.04318.87
5.4.350.0000.05719.12
5.4.340.0070.04019.14
5.4.320.0000.08019.04
5.4.310.0030.08018.95
5.4.300.0000.05019.23
5.4.290.0030.07318.93
5.4.280.0030.04319.20
5.4.270.0070.07019.15
5.4.260.0070.07319.19
5.4.250.0030.04719.17
5.4.240.0000.06319.20
5.4.230.0070.07319.08
5.4.220.0100.04719.20
5.4.210.0030.08019.08
5.4.200.0130.06019.20
5.4.190.0000.08019.02
5.4.180.0030.08019.02
5.4.170.0030.07319.19
5.4.160.0070.07019.10
5.4.150.0070.07719.02
5.4.140.0030.06316.46
5.4.130.0000.07316.41
5.4.120.0000.07716.40
5.4.110.0000.06716.47
5.4.100.0070.06016.38
5.4.90.0000.07716.55
5.4.80.0030.06316.44
5.4.70.0000.07016.46
5.4.60.0030.06016.35
5.4.50.0030.05316.36
5.4.40.0070.06016.30
5.4.30.0000.07016.27
5.4.20.0000.06316.36
5.4.10.0100.07316.30
5.4.00.0030.06715.80
5.3.290.0030.08014.65
5.3.280.0030.06714.57
5.3.270.0030.06714.68
5.3.260.0070.07714.70
5.3.250.0000.04314.63
5.3.240.0030.07314.55
5.3.230.0000.07014.62
5.3.220.0000.06714.55
5.3.210.0170.07014.56
5.3.200.0070.07014.65
5.3.190.0030.06714.51
5.3.180.0030.06314.57
5.3.170.0000.08314.58
5.3.160.0030.06714.49
5.3.150.0000.06714.50
5.3.140.0070.06314.58
5.3.130.0070.07314.68
5.3.120.0030.08014.68
5.3.110.0030.08014.49
5.3.100.0000.07014.10
5.3.90.0000.07014.07
5.3.80.0030.07014.15
5.3.70.0000.07714.03
5.3.60.0000.07714.05
5.3.50.0070.07014.09
5.3.40.0000.08013.99
5.3.30.0000.06014.02
5.3.20.0030.03313.70
5.3.10.0000.03713.58
5.3.00.0000.03713.77
5.2.170.0070.06011.20
5.2.160.0030.06311.02
5.2.150.0070.05311.20
5.2.140.0000.03011.08
5.2.130.0030.03011.09
5.2.120.0000.03011.15
5.2.110.0000.03010.95
5.2.100.0030.02711.09
5.2.90.0000.03011.20
5.2.80.0000.03011.14
5.2.70.0000.03011.22
5.2.60.0000.03311.13
5.2.50.0030.02710.95
5.2.40.0070.02310.89
5.2.30.0070.02010.86
5.2.20.0000.03010.86
5.2.10.0000.02310.93
5.2.00.0030.02010.57
5.1.60.0000.02010.06
5.1.50.0000.02010.05
5.1.40.0000.02010.06
5.1.30.0030.01710.44
5.1.20.0030.02010.26
5.1.10.0000.02310.17
5.1.00.0000.02710.18
5.0.50.0000.0179.86
5.0.40.0000.0209.86
5.0.30.0000.0239.86
5.0.20.0030.0139.86
5.0.10.0000.0179.86
5.0.00.0000.0239.86
4.4.90.0000.0209.86
4.4.80.0000.0179.86
4.4.70.0030.0139.86
4.4.60.0000.0179.86
4.4.50.0000.0139.86
4.4.40.0000.0239.86
4.4.30.0000.0209.86
4.4.20.0000.0179.86
4.4.10.0000.0179.86
4.4.00.0000.0209.86
4.3.110.0000.0139.86
4.3.100.0030.0109.86
4.3.90.0000.0109.86
4.3.80.0030.0179.86
4.3.70.0000.0179.86
4.3.60.0000.0179.86
4.3.50.0000.0139.86
4.3.40.0000.0239.86
4.3.30.0000.0139.86
4.3.20.0000.0209.86
4.3.10.0000.0139.86
4.3.00.0030.0109.86

preferences:
38.9 ms | 401 KiB | 5 Q