3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($a) { $strings = strtolower(strrev($a)); $MyKey = hexdec(substr($strings, 0, 4)) ^ hexdec('BFF') ^ hexdec('D77D'); $Temps = substr($strings, 4); unset($tmp); //echo $n; for ($i = 0; $i < strlen($Temps); $i+=6) { ++$n; $cal = ($n * $n) ^ hexdec("3E"); //echo chr(octdec(hexdec(substr($Temps, $i, 6))) ^ ($MyKey ^ hexdec("AFE43") ^ hexdec("399AA3") ^ $cal)) . "\n"; $tmp = $tmp . chr(octdec(hexdec(substr($Temps, $i, 6))) ^ ($MyKey ^ hexdec('AFE43') ^ hexdec('399AA3') ^ $cal)); } return $tmp; } echo decrypt('pass'); define('__FLAG__', 'flag{hidden_flag}'); if(decrypt('pass') == 'pwning_the_phpreverse!') { echo __FLAG__; } ?>

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.70.0080.00816.88
8.3.60.0130.00616.88
8.3.50.0090.00716.48
8.3.40.0090.00618.67
8.3.30.0170.00318.67
8.3.20.0000.00820.52
8.3.10.0050.00321.85
8.3.00.0050.00317.57
8.2.180.0110.00716.75
8.2.170.0040.01122.96
8.2.160.0000.01420.35
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0030.00519.37
8.2.120.0000.00726.35
8.2.110.0030.00620.80
8.2.100.0090.00317.85
8.2.90.0040.00418.10
8.2.80.0030.00518.04
8.2.70.0060.00317.50
8.2.60.0000.00717.93
8.2.50.0000.00818.10
8.2.40.0000.00720.38
8.2.30.0000.00719.20
8.2.20.0000.00718.03
8.2.10.0080.00018.03
8.2.00.0040.00418.07
8.1.280.0060.00925.92
8.1.270.0070.00023.82
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0040.00422.23
8.1.230.0040.00722.81
8.1.220.0030.00517.91
8.1.210.0050.00318.77
8.1.200.0000.00917.23
8.1.190.0060.00317.11
8.1.180.0080.00018.10
8.1.170.0030.00518.71
8.1.160.0000.00718.97
8.1.150.0070.00020.66
8.1.140.0040.00419.69
8.1.130.0000.00718.79
8.1.120.0020.00517.39
8.1.110.0000.00717.39
8.1.100.0000.00717.47
8.1.90.0060.00317.54
8.1.80.0020.00517.53
8.1.70.0000.00717.39
8.1.60.0040.00417.62
8.1.50.0000.00717.60
8.1.40.0000.00817.41
8.1.30.0040.00417.61
8.1.20.0030.00617.52
8.1.10.0040.00417.43
8.1.00.0040.00417.44
8.0.300.0040.00420.09
8.0.290.0070.00016.75
8.0.280.0070.00018.38
8.0.270.0000.00717.29
8.0.260.0000.00616.86
8.0.250.0040.00417.03
8.0.240.0050.00217.00
8.0.230.0000.00717.07
8.0.220.0030.00316.88
8.0.210.0040.00417.02
8.0.200.0030.00317.03
8.0.190.0060.00317.09
8.0.180.0040.00416.96
8.0.170.0000.00716.99
8.0.160.0040.00416.96
8.0.150.0070.00016.91
8.0.140.0000.00816.89
8.0.130.0000.00513.42
8.0.120.0000.00716.86
8.0.110.0040.00416.93
8.0.100.0000.00717.00
8.0.90.0000.00716.76
8.0.80.0070.01417.05
8.0.70.0000.00816.81
8.0.60.0000.00917.05
8.0.50.0040.00416.81
8.0.30.0090.00917.11
8.0.20.0120.00817.41
8.0.10.0000.00716.93
8.0.00.0160.00616.82
7.4.330.0020.00215.55
7.4.320.0030.00516.45
7.4.300.0060.00016.54
7.4.290.0050.00316.54
7.4.280.0040.00416.54
7.4.270.0070.00016.66
7.4.260.0000.00613.23
7.4.250.0000.00816.52
7.4.240.0000.00716.44
7.4.230.0020.00516.61
7.4.220.0110.00716.69
7.4.210.0060.00916.58
7.4.200.0030.00316.68
7.4.160.0130.00616.60
7.4.150.0100.00717.40
7.4.140.0120.00817.86
7.4.130.0100.00816.50
7.4.120.0120.00716.65
7.4.110.0040.01816.47
7.4.100.0110.00716.64
7.4.90.0130.00416.80
7.4.80.0150.00619.39
7.4.70.0040.01216.54
7.4.60.0080.00816.62
7.4.50.0110.00716.47
7.4.40.0030.01316.42
7.4.30.0060.01016.55
7.4.00.0060.00914.99
7.3.330.0020.00213.38
7.3.320.0050.00013.46
7.3.310.0050.00316.38
7.3.300.0000.00716.46
7.3.290.0060.00916.43
7.3.280.0100.00816.46
7.3.270.0160.00617.40
7.3.260.0100.01016.58
7.3.250.0090.00816.46
7.3.240.0150.00716.46
7.3.230.0130.00416.54
7.3.210.0170.00016.66
7.3.200.0080.00816.46
7.3.190.0090.00616.64
7.3.180.0060.01016.59
7.3.170.0120.00916.41
7.3.160.0120.00616.46
7.2.330.0040.01216.80
7.2.320.0090.00916.80
7.2.310.0060.01016.67
7.2.300.0100.01316.81
7.2.290.0120.00316.69
7.2.60.0030.01016.77
7.2.00.0070.00719.62
7.1.200.0030.01215.68
7.1.100.0080.00018.40
7.1.70.0030.01317.38
7.1.60.0160.01035.02
7.1.50.0140.01134.88
7.1.40.0130.01334.33
7.1.30.0170.00734.34
7.1.20.0220.00334.43
7.1.10.0030.01016.76
7.1.00.0070.00416.70
7.0.200.0100.00316.90
7.0.190.0070.00716.94
7.0.180.0030.01016.42
7.0.170.0040.00816.23
7.0.160.0040.00816.03
7.0.150.0040.00716.22
7.0.140.0040.00816.52
7.0.130.0060.00616.58
7.0.120.0030.01316.75
7.0.110.0060.00616.20
7.0.100.0080.00416.27
7.0.90.0060.00916.43
7.0.80.0040.00816.34
7.0.70.0060.00616.22
7.0.60.0000.01115.94
7.0.50.0000.01116.43
7.0.40.0060.00616.38
7.0.30.0060.00616.33
7.0.20.0040.00816.42
7.0.10.0060.00916.35
7.0.00.0000.01216.54

preferences:
41.25 ms | 401 KiB | 5 Q