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"; 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.60.0140.00718.68
8.3.50.0150.00522.18
8.3.40.0160.00018.95
8.3.30.0070.00719.09
8.3.20.0050.00320.16
8.3.10.0080.00022.09
8.3.00.0080.00022.45
8.2.180.0110.00717.00
8.2.170.0140.00022.96
8.2.160.0110.00722.21
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0050.00319.61
8.2.110.0060.00322.37
8.2.100.0070.00419.82
8.2.90.0040.00419.35
8.2.80.0000.00819.91
8.2.70.0040.00417.88
8.2.60.0060.00317.93
8.2.50.0050.00318.07
8.2.40.0000.00818.34
8.2.30.0000.00918.13
8.2.20.0020.00517.97
8.2.10.0000.00717.85
8.2.00.0060.00318.04
8.1.280.0040.01125.92
8.1.270.0040.00422.13
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0090.00023.61
8.1.230.0040.00719.10
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0060.00317.50
8.1.190.0040.00417.76
8.1.180.0000.00818.10
8.1.170.0030.00618.95
8.1.160.0000.00722.11
8.1.150.0040.00418.82
8.1.140.0000.00717.63
8.1.130.0040.00417.88
8.1.120.0000.00717.69
8.1.110.0040.00417.65
8.1.100.0020.00517.68
8.1.90.0050.00217.63
8.1.80.0000.00717.63
8.1.70.0040.00417.66
8.1.60.0030.00617.73
8.1.50.0030.00617.72
8.1.40.0040.00417.60
8.1.30.0040.00417.64
8.1.20.0050.00317.75
8.1.10.0000.00817.79
8.1.00.0000.00817.66
8.0.300.0070.00018.77
8.0.290.0040.00417.16
8.0.280.0040.00418.50
8.0.270.0040.00417.30
8.0.260.0050.00317.00
8.0.250.0070.00017.17
8.0.240.0040.00717.11
8.0.230.0060.00317.17
8.0.220.0000.00717.14
8.0.210.0000.00716.94
8.0.200.0060.00317.04
8.0.190.0000.00817.04
8.0.180.0060.00317.09
8.0.170.0030.00517.09
8.0.160.0030.00617.02
8.0.150.0000.00716.87
8.0.140.0030.00417.00
8.0.130.0000.00613.40
8.0.120.0080.00017.06
8.0.110.0000.00717.07
8.0.100.0040.00417.02
8.0.90.0040.00417.01
8.0.80.0090.01417.08
8.0.70.0000.00716.98
8.0.60.0030.00617.07
8.0.50.0040.00416.94
8.0.30.0100.01217.20
8.0.20.0060.01517.40
8.0.10.0070.00017.04
8.0.00.0140.00616.84
7.4.330.0060.00015.00
7.4.320.0000.00716.85
7.4.300.0060.00016.86
7.4.290.0040.00416.86
7.4.280.0090.00016.83
7.4.270.0030.00316.83
7.4.260.0000.01016.85
7.4.250.0040.00416.71
7.4.240.0020.00516.77
7.4.230.0040.00416.79
7.4.220.0190.00016.94
7.4.210.0120.00516.78
7.4.200.0000.00716.94
7.4.190.0070.00017.02
7.4.160.0100.00716.80
7.4.150.0150.00417.40
7.4.140.0110.01117.86
7.4.130.0100.00716.82
7.4.120.0050.01316.69
7.4.110.0070.01016.88
7.4.100.0120.00616.85
7.4.90.0120.01216.78
7.4.80.0090.01119.39
7.4.70.0070.01016.70
7.4.60.0140.00316.60
7.4.50.0080.00016.70
7.4.40.0040.01522.77
7.4.30.0130.00316.66
7.4.00.0070.01114.98
7.3.330.0000.00513.50
7.3.320.0060.00013.49
7.3.310.0000.00716.45
7.3.300.0050.00216.47
7.3.290.0100.00316.48
7.3.280.0060.00916.53
7.3.270.0110.00717.40
7.3.260.0090.00916.80
7.3.250.0120.00516.83
7.3.240.0040.01416.55
7.3.230.0070.01016.77
7.3.210.0110.00516.39
7.3.200.0070.01119.39
7.3.190.0110.01316.66
7.3.180.0100.00716.81
7.3.170.0130.00316.68
7.3.160.0100.00716.54
7.3.120.0030.01015.29
7.2.330.0120.00616.79
7.2.320.0180.00016.85
7.2.310.0110.00516.91
7.2.300.0070.01017.03
7.2.290.0100.00616.73
7.1.200.0030.01016.11
7.1.70.0100.00017.49
7.1.60.0000.01519.82
7.1.50.0070.01417.28
7.1.00.0070.07322.32
7.0.200.0030.00616.89
7.0.140.0070.07022.12
7.0.100.0070.04720.00
7.0.90.0100.04719.93
7.0.80.0070.08320.04
7.0.70.0070.07719.86
7.0.60.0070.07719.98
7.0.50.0130.03320.25
7.0.40.0070.08020.09
7.0.30.0070.04720.14
7.0.20.0100.07720.10
7.0.10.0070.07320.07
7.0.00.0070.08320.04
5.6.280.0030.07021.10
5.6.250.0100.08320.48
5.6.240.0070.04320.52
5.6.230.0130.04320.68
5.6.220.0000.05020.49
5.6.210.0070.08020.64
5.6.200.0070.05021.11
5.6.190.0170.07721.17
5.6.180.0070.04021.02
5.6.170.0070.07021.11
5.6.160.0100.04021.17
5.6.150.0130.07721.11
5.6.140.0170.06720.95
5.6.130.0070.08021.02
5.6.120.0100.07021.07
5.6.110.0130.06720.95
5.6.100.0070.06321.16
5.6.90.0130.08021.00
5.6.80.0000.05720.47
5.6.70.0100.06720.43
5.6.60.0000.07020.32
5.6.50.0170.03720.50
5.6.40.0070.07720.39
5.6.30.0070.09320.31
5.6.20.0030.08020.29
5.6.10.0070.03320.47
5.6.00.0070.06020.29
5.5.380.0070.04020.45
5.5.370.0030.07320.43
5.5.360.0030.05320.39
5.5.350.0100.04020.39
5.5.340.0000.04720.81
5.5.330.0070.08320.78
5.5.320.0100.05020.83
5.5.310.0100.08020.89
5.5.300.0070.04720.81
5.5.290.0100.08720.92
5.5.280.0030.08320.64
5.5.270.0070.06720.87
5.5.260.0030.07020.80
5.5.250.0130.08020.57
5.5.240.0100.04020.22
5.5.230.0000.05320.31
5.5.220.0200.04720.18
5.5.210.0100.03720.16
5.5.200.0100.07320.28
5.5.190.0100.07320.15
5.5.180.0030.04720.27
5.5.160.0030.07720.21
5.5.150.0070.03320.21
5.5.140.0100.07320.13
5.5.130.0070.06020.19
5.5.120.0030.08319.98
5.5.110.0100.03319.99
5.5.100.0070.07320.18
5.5.90.0070.07020.09
5.5.80.0100.05020.07
5.5.70.0200.06719.94
5.5.60.0070.08020.05
5.5.50.0100.04320.00
5.5.40.0100.04020.03
5.5.30.0130.06020.14
5.5.20.0100.07720.09
5.5.10.0100.06719.96
5.5.00.0070.07720.02
5.4.450.0000.05319.21
5.4.440.0030.04319.50
5.4.430.0170.06719.37
5.4.420.0030.03719.35
5.4.410.0030.05319.34
5.4.400.0030.04718.91
5.4.390.0070.04319.09
5.4.380.0070.06019.11
5.4.370.0070.04018.89
5.4.360.0030.05019.09
5.4.350.0000.05018.89
5.4.340.0030.04319.16
5.4.320.0070.03719.14
5.4.310.0070.07018.88
5.4.300.0030.08019.13
5.4.290.0030.05319.02
5.4.280.0100.07018.84
5.4.270.0100.05319.14
5.4.260.0030.08319.09
5.4.250.0130.07019.21
5.4.240.0030.04318.85
5.4.230.0070.04019.04
5.4.220.0130.05718.94
5.4.210.0070.06019.22
5.4.200.0030.04018.83
5.4.190.0070.07319.15
5.4.180.0130.06718.89
5.4.170.0100.06719.03
5.4.160.0070.07019.17
5.4.150.0000.07019.01
5.4.140.0100.05016.52
5.4.130.0000.05016.37
5.4.120.0030.07016.48
5.4.110.0030.04016.55
5.4.100.0130.06716.32
5.4.90.0070.06716.44
5.4.80.0170.05716.48
5.4.70.0100.03716.38
5.4.60.0130.07016.47
5.4.50.0070.07016.37
5.4.40.0070.07316.46
5.4.30.0170.03016.46
5.4.20.0130.05316.39
5.4.10.0030.04316.35
5.4.00.0130.03015.94
5.3.290.0000.08014.61
5.3.280.0030.08014.52
5.3.270.0070.06714.59
5.3.260.0100.04314.59
5.3.250.0100.05314.61
5.3.240.0070.04014.65
5.3.230.0170.05014.61
5.3.220.0000.04714.64
5.3.210.0070.06314.57
5.3.200.0000.04714.61
5.3.190.0030.06714.57
5.3.180.0070.04314.65
5.3.170.0070.04714.56
5.3.160.0100.07014.61
5.3.150.0100.06314.68
5.3.140.0100.07014.61
5.3.130.0130.05714.47
5.3.120.0030.05014.56
5.3.110.0030.04014.54
5.3.100.0070.03314.17
5.3.90.0000.04014.05
5.3.80.0070.03714.17
5.3.70.0000.04014.04
5.3.60.0030.04014.11
5.3.50.0000.04013.93
5.3.40.0070.03013.84
5.3.30.0030.04013.91
5.3.20.0030.03313.79
5.3.10.0070.03313.77
5.3.00.0070.03013.65
5.2.170.0030.03011.15
5.2.160.0070.02711.25
5.2.150.0000.03011.03
5.2.140.0030.03011.19
5.2.130.0070.02311.23
5.2.120.0030.04311.21
5.2.110.0070.02311.18
5.2.100.0000.03011.08
5.2.90.0000.03011.00
5.2.80.0030.03011.14
5.2.70.0000.03011.21
5.2.60.0000.03710.93
5.2.50.0070.02311.11
5.2.40.0000.03010.92
5.2.30.0030.03010.89
5.2.20.0070.03711.03
5.2.10.0100.01710.81
5.2.00.0000.03010.70
5.1.60.0070.02010.04
5.1.50.0000.0239.99
5.1.40.0030.0309.82
5.1.30.0070.02710.43
5.1.20.0030.02310.28
5.1.10.0000.0309.91
5.1.00.0030.02310.05
5.0.50.0000.0209.08
5.0.40.0030.0179.08
5.0.30.0030.0279.08
5.0.20.0070.0179.08
5.0.10.0070.0179.08
5.0.00.0030.0309.08
4.4.90.0030.0139.08
4.4.80.0000.0179.08
4.4.70.0000.0209.08
4.4.60.0000.0239.08
4.4.50.0000.0209.08
4.4.40.0030.0239.08
4.4.30.0030.0139.08
4.4.20.0030.0179.08
4.4.10.0030.0139.08
4.4.00.0000.0279.08
4.3.110.0000.0139.08
4.3.100.0030.0139.08
4.3.90.0030.0139.08
4.3.80.0000.0239.08
4.3.70.0030.0139.08
4.3.60.0030.0239.08
4.3.50.0030.0139.08
4.3.40.0000.0239.08
4.3.30.0000.0179.08
4.3.20.0030.0139.08
4.3.10.0030.0139.08
4.3.00.0000.0139.08

preferences:
46.18 ms | 401 KiB | 5 Q