3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!function_exists("TC9A16C47DA8EEE87")){function TC9A16C47DA8EEE87($T059EC46CFE335260){$T059EC46CFE335260=base64_decode($T059EC46CFE335260);$TC9A16C47DA8EEE87=0;$TA7FB8B0A1C0E2E9E=0;$T17D35BB9DF7A47E4=0;$T65CE9F6823D588A7=(ord($T059EC46CFE335260[1])<<8)+ord($T059EC46CFE335260[2]);$TBF14159DC7D007D3=3;$T77605D5F26DD5248=0;$T4A747C3263CA7A55=16;$T7C7E72B89B83E235="";$T0D47BDF6FD9DDE2E=strlen($T059EC46CFE335260);$T43D5686285035C13=__FILE__;$T43D5686285035C13=file_get_contents($T43D5686285035C13);$T6BBC58A3B5B11DC4=0;preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"),$T43D5686285035C13,$T6BBC58A3B5B11DC4);for(;$TBF14159DC7D007D3<$T0D47BDF6FD9DDE2E;){if(count($T6BBC58A3B5B11DC4)) exit;if($T4A747C3263CA7A55==0){$T65CE9F6823D588A7=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<8);$T65CE9F6823D588A7+=ord($T059EC46CFE335260[$TBF14159DC7D007D3++]);$T4A747C3263CA7A55=16;}if($T65CE9F6823D588A7&0x8000){$TC9A16C47DA8EEE87=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<4);$TC9A16C47DA8EEE87+=(ord($T059EC46CFE335260[$TBF14159DC7D007D3])>>4);if($TC9A16C47DA8EEE87){$TA7FB8B0A1C0E2E9E=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])&0x0F)+3;for($T17D35BB9DF7A47E4=0;$T17D35BB9DF7A47E4<$TA7FB8B0A1C0E2E9E;$T17D35BB9DF7A47E4++)$T7C7E72B89B83E235[$T77605D5F26DD5248+$T17D35BB9DF7A47E4]=$T7C7E72B89B83E235[$T77605D5F26DD5248-$TC9A16C47DA8EEE87+$T17D35BB9DF7A47E4];$T77605D5F26DD5248+=$TA7FB8B0A1C0E2E9E;}else{$TA7FB8B0A1C0E2E9E=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<8);$TA7FB8B0A1C0E2E9E+=ord($T059EC46CFE335260[$TBF14159DC7D007D3++])+16;for($T17D35BB9DF7A47E4=0;$T17D35BB9DF7A47E4<$TA7FB8B0A1C0E2E9E;$T7C7E72B89B83E235[$T77605D5F26DD5248+$T17D35BB9DF7A47E4++]=$T059EC46CFE335260[$TBF14159DC7D007D3]);$TBF14159DC7D007D3++;$T77605D5F26DD5248+=$TA7FB8B0A1C0E2E9E;}}else $T7C7E72B89B83E235[$T77605D5F26DD5248++]=$T059EC46CFE335260[$TBF14159DC7D007D3++];$T65CE9F6823D588A7<<=1;$T4A747C3263CA7A55--;if($TBF14159DC7D007D3==$T0D47BDF6FD9DDE2E){$T43D5686285035C13=implode("",$T7C7E72B89B83E235);$T43D5686285035C13="?".">".$T43D5686285035C13;return $T43D5686285035C13;}}}}eval(TC9A16C47DA8EEE87("QAAAPCEtLSBTZWFyY2ggQ2FsZQAAbmRhciAtLT4NCjxkaXYgaQkAZD0icwHiLWMB5CIgc3R5bGU9EAAiY2wBkDogYm90aDsgdGV4dAAFLWFsaWduOiBsZWZ0IgQgIAAQjwIEYT48LwTAARAAhgdfciBFbmRzB5I="));?>

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.0120.00918.55
8.3.50.0240.01022.17
8.3.40.0150.00019.17
8.3.30.0060.00918.95
8.3.20.0080.00020.16
8.3.10.0040.00423.52
8.3.00.0060.00319.51
8.2.180.0160.00018.66
8.2.170.0110.00722.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0030.00620.51
8.2.120.0060.00326.35
8.2.110.0040.00419.33
8.2.100.0080.00417.94
8.2.90.0000.00819.20
8.2.80.0000.00818.00
8.2.70.0040.00817.75
8.2.60.0060.00318.03
8.2.50.0030.00618.10
8.2.40.0060.00619.34
8.2.30.0000.00720.56
8.2.20.0060.00318.02
8.2.10.0040.00418.25
8.2.00.0080.00018.16
8.1.280.0120.00925.92
8.1.270.0100.01023.82
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0150.00422.52
8.1.230.0070.00418.02
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.73
8.1.190.0030.00717.38
8.1.180.0000.00818.10
8.1.170.0040.00418.92
8.1.160.0000.00821.99
8.1.150.0040.00419.00
8.1.140.0040.00419.55
8.1.130.0030.00317.64
8.1.120.0000.00717.66
8.1.110.0000.00817.61
8.1.100.0070.00317.68
8.1.90.0040.00417.66
8.1.80.0040.00417.52
8.1.70.0040.00417.67
8.1.60.0000.00817.76
8.1.50.0030.00617.61
8.1.40.0120.00517.70
8.1.30.0130.00317.78
8.1.20.0090.00717.76
8.1.10.0150.00317.68
8.1.00.0100.00717.66
8.0.300.0060.00318.77
8.0.290.0080.00017.00
8.0.280.0030.00318.57
8.0.270.0040.00417.38
8.0.260.0000.00817.29
8.0.250.0030.00317.18
8.0.240.0050.00317.31
8.0.230.0000.00717.18
8.0.220.0040.00417.24
8.0.210.0000.00817.20
8.0.200.0000.00817.30
8.0.190.0040.00417.16
8.0.180.0080.00017.23
8.0.170.0080.00617.10
8.0.160.0130.00117.09
8.0.150.0090.00517.08
8.0.140.0060.00817.11
8.0.130.0080.00615.28
8.0.120.0100.00817.15
8.0.110.0080.00817.07
8.0.100.0070.00817.08
8.0.90.0080.00417.12
8.0.80.0090.00917.04
8.0.70.0080.00317.05
8.0.60.0070.00417.08
8.0.50.0050.00717.09
8.0.30.0110.01017.34
8.0.20.0100.01017.37
8.0.10.0090.00517.22
8.0.00.0130.00617.04
7.4.330.0050.00016.79
7.4.320.0030.00316.75
7.4.300.0000.00616.83
7.4.290.0070.00016.77
7.4.280.0130.00216.73
7.4.270.0150.00216.74
7.4.260.0150.00016.70
7.4.250.0110.00516.67
7.4.240.0070.00616.81
7.4.230.0120.00516.79
7.4.220.0140.00616.82
7.4.210.0120.00716.81
7.4.200.0090.00416.81
7.4.190.0130.00816.64
7.4.180.0160.00316.84
7.4.160.0130.00616.83
7.4.150.0080.01117.05
7.4.140.0150.00517.49
7.4.130.0100.00816.77
7.4.120.0140.00616.70
7.4.110.0070.01116.59
7.4.100.0140.00716.75
7.4.90.0030.01116.78
7.4.80.0110.00618.07
7.4.70.0160.00216.83
7.4.60.0130.00316.80
7.4.50.0150.00316.57
7.4.40.0110.00416.68
7.4.30.0080.00816.69
7.4.20.0040.01116.71
7.4.10.0080.00916.68
7.4.00.0050.00916.00
7.3.330.0130.00215.06
7.3.320.0080.00814.99
7.3.310.0140.00216.64
7.3.300.0100.00616.57
7.3.290.0100.00516.67
7.3.280.0110.00716.66
7.3.270.0160.00417.04
7.3.260.0130.00816.68
7.3.250.0110.00916.62
7.3.240.0130.00816.57
7.3.230.0100.01016.48
7.3.220.0230.00416.52
7.3.210.0160.00516.62
7.3.200.0150.00916.56
7.3.190.0160.00516.63
7.3.180.0160.00516.51
7.3.170.0130.01016.55
7.3.160.0120.01016.54
7.3.150.0210.00416.37
7.3.140.0170.00716.46
7.3.130.0150.00416.43
7.3.120.0110.00916.15
7.3.110.0120.00616.01
7.3.100.0080.00916.10
7.3.90.0100.00716.13
7.3.80.0110.00516.00
7.3.70.0120.00615.88
7.3.60.0100.00816.10
7.3.50.0090.00816.16
7.3.40.0130.00416.06
7.3.30.0070.01016.12
7.3.20.0110.00417.32
7.3.10.0120.00417.11
7.3.00.0120.00817.15
7.2.340.0080.00416.78
7.2.330.0100.01216.80
7.2.320.0160.00316.85
7.2.310.0170.00416.90
7.2.300.0120.00816.72
7.2.290.0120.00716.81
7.2.280.0180.00416.60
7.2.270.0120.00816.80
7.2.260.0090.00916.87
7.2.250.0100.00916.33
7.2.240.0100.00916.35
7.2.230.0060.01016.15
7.2.220.0090.00716.26
7.2.210.0090.00916.37
7.2.200.0130.00516.22
7.2.190.0070.00816.36
7.2.180.0090.00716.32
7.2.170.0080.00816.27
7.2.160.0110.00516.80
7.2.150.0130.00817.81
7.2.140.0100.01017.70
7.2.130.0070.01317.52
7.2.120.0080.01017.54
7.2.110.0180.00717.49
7.2.100.0110.01117.61
7.2.90.0090.00917.39
7.2.80.0130.00617.48
7.2.70.0120.00717.40
7.2.60.0140.00517.49
7.2.50.0090.01117.44
7.2.40.0100.01017.51
7.2.30.0140.00317.52
7.2.20.0140.00317.42
7.2.10.0090.00917.47
7.2.00.0100.00717.97
7.1.330.0050.01016.46
7.1.320.0100.00516.58
7.1.310.0170.00516.58
7.1.300.0090.00616.45
7.1.290.0060.00816.56
7.1.280.0100.00716.43
7.1.270.0090.00716.35
7.1.260.0080.00716.46
7.1.250.0140.00416.35
7.1.240.0120.00516.61
7.1.230.0130.00316.52
7.1.220.0090.00716.55
7.1.210.0100.00816.67
7.1.200.0080.00716.43
7.1.190.0140.00516.64
7.1.180.0120.00716.49
7.1.170.0150.00516.52
7.1.160.0130.00616.43
7.1.150.0100.00516.64
7.1.140.0120.00716.58
7.1.130.0070.00916.61
7.1.120.0120.00616.55
7.1.110.0100.00716.65
7.1.100.0110.00517.24
7.1.90.0250.00816.60
7.1.80.0160.00116.73
7.1.70.0120.00616.92
7.1.60.0120.00817.58
7.1.50.0100.00516.83
7.1.40.0130.00416.79
7.1.30.0080.01016.72
7.1.20.0110.00616.68
7.1.10.0130.00316.60
7.1.00.0070.03018.62
7.0.330.0080.01016.30
7.0.320.0130.00316.34
7.0.310.0100.00616.23
7.0.300.0110.00516.21
7.0.290.0120.00216.44
7.0.280.0110.00516.38
7.0.270.0100.00616.26
7.0.260.0100.01116.42
7.0.250.0150.00416.39
7.0.240.0070.01016.34
7.0.230.0110.00816.42
7.0.220.0100.00616.39
7.0.210.0200.00916.41
7.0.200.0050.01316.67
7.0.190.0110.00416.23
7.0.180.0100.00716.31
7.0.170.0140.00516.44
7.0.160.0140.00416.21
7.0.150.0140.00316.34
7.0.140.0110.00616.35
7.0.130.0100.00816.31
7.0.120.0110.00616.28
7.0.110.0150.00216.26
7.0.100.0120.00416.23
7.0.90.0090.00816.35
7.0.80.0160.00116.27
7.0.70.0110.00516.20
7.0.60.0090.01617.50
7.0.50.0130.01316.78
7.0.40.0080.03016.97
7.0.30.0120.01816.86
7.0.20.0190.02716.91
7.0.10.0090.02216.94
7.0.00.0100.03316.89
5.6.400.0100.00716.16
5.6.390.0120.00616.15
5.6.380.0130.00516.03
5.6.370.0080.01116.04
5.6.360.0110.00416.02
5.6.350.0120.00916.06
5.6.340.0100.00916.04
5.6.330.0100.00716.03
5.6.320.0120.00516.16
5.6.310.0140.00716.13
5.6.300.0140.00315.98
5.6.290.0110.00716.17
5.6.280.0120.01217.81
5.6.270.0090.00816.02
5.6.260.0080.00915.98
5.6.250.0070.01016.12
5.6.240.0120.00516.21
5.6.230.0130.00416.22
5.6.220.0060.01116.07
5.6.210.0070.01917.74
5.6.200.0060.03516.92
5.6.190.0100.02717.55
5.6.180.0160.01817.72
5.6.170.0170.02217.56
5.6.160.0110.02917.59
5.6.150.0110.02916.83
5.6.140.0120.02016.73
5.6.130.0070.02416.91
5.6.120.0110.03117.77
5.6.110.0110.03117.82
5.6.100.0070.03217.77
5.6.90.0060.02017.79
5.6.80.0120.02817.46
5.6.70.0110.00616.19
5.6.60.0130.00515.97
5.6.50.0130.00515.72
5.6.40.0120.00315.96
5.6.30.0110.00516.13
5.6.20.0130.00316.07
5.6.10.0080.00915.95
5.6.00.0120.00515.96
5.5.380.0070.00916.14
5.5.370.0120.00416.02
5.5.360.0080.00815.93
5.5.350.0200.03417.48
5.5.340.0090.02816.68
5.5.330.0080.02317.43
5.5.320.0160.01917.50
5.5.310.0120.02217.56
5.5.300.0070.03516.64
5.5.290.0040.02616.70
5.5.280.0090.02917.66
5.5.270.0080.02117.66
5.5.260.0110.02917.55
5.5.250.0100.02717.59
5.5.240.0140.03617.32
5.5.230.0100.00816.15
5.5.220.0070.00916.00
5.5.210.0110.00416.14
5.5.200.0120.00316.04
5.5.190.0090.00515.89
5.5.180.0070.00716.09
5.5.170.0080.00816.00
5.5.160.0070.00715.99
5.5.150.0090.00916.03
5.5.140.0090.00715.93
5.5.130.0100.00615.90
5.5.120.0100.00615.94
5.5.110.0100.00615.91
5.5.100.0120.00315.85
5.5.90.0080.00615.99
5.5.80.0070.00915.89
5.5.70.0110.00616.06
5.5.60.0110.00616.06
5.5.50.0100.00816.06
5.5.40.0090.00716.08
5.5.30.0090.00716.00
5.5.20.0130.00315.87
5.5.10.0080.00715.96
5.5.00.0070.00715.99

preferences:
64.7 ms | 401 KiB | 5 Q