3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($a) { $strings = strtolower(strrev($str)); $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.60.0090.00916.88
8.3.50.0070.00716.50
8.3.40.0090.00618.97
8.3.30.0100.00718.70
8.3.20.0000.00720.23
8.3.10.0040.00421.91
8.3.00.0040.00417.72
8.2.180.0100.00716.75
8.2.170.0110.00422.96
8.2.160.0130.00620.53
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00320.45
8.2.110.0060.00321.00
8.2.100.0120.00017.91
8.2.90.0080.00018.16
8.2.80.0030.00517.97
8.2.70.0030.00617.50
8.2.60.0000.00817.93
8.2.50.0080.00018.10
8.2.40.0050.00320.46
8.2.30.0000.00819.16
8.2.20.0000.00817.97
8.2.10.0040.00418.12
8.2.00.0040.00418.13
8.1.280.0100.00725.92
8.1.270.0040.00423.79
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00422.16
8.1.230.0110.00020.97
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0000.00917.23
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0050.00318.49
8.1.160.0030.00319.10
8.1.150.0040.00420.72
8.1.140.0070.00019.52
8.1.130.0000.00818.80
8.1.120.0000.00717.46
8.1.110.0040.00417.38
8.1.100.0050.00217.51
8.1.90.0030.00717.43
8.1.80.0040.00417.39
8.1.70.0080.00017.46
8.1.60.0030.00517.61
8.1.50.0030.00517.55
8.1.40.0030.00617.46
8.1.30.0030.00617.52
8.1.20.0070.00317.68
8.1.10.0080.00017.56
8.1.00.0030.00617.32
8.0.300.0070.00020.27
8.0.290.0050.00216.62
8.0.280.0030.00318.58
8.0.270.0070.00017.28
8.0.260.0030.00316.90
8.0.250.0030.00317.04
8.0.240.0080.00017.07
8.0.230.0000.00717.05
8.0.220.0000.00717.05
8.0.210.0000.00716.94
8.0.200.0000.00816.96
8.0.190.0040.00417.04
8.0.180.0040.00416.96
8.0.170.0040.00416.95
8.0.160.0000.00816.97
8.0.150.0040.00417.04
8.0.140.0030.00516.89
8.0.130.0030.00313.50
8.0.120.0030.00516.94
8.0.110.0030.00316.85
8.0.100.0030.00617.02
8.0.90.0030.00516.90
8.0.80.0130.00616.91
8.0.70.0000.00816.98
8.0.60.0030.00616.94
8.0.50.0000.00716.79
8.0.30.0060.01217.05
8.0.20.0130.00717.41
8.0.10.0040.00417.09
8.0.00.0100.00717.12
7.4.330.0050.00015.55
7.4.320.0060.00016.54
7.4.300.0040.00416.55
7.4.290.0000.00716.44
7.4.280.0050.00316.43
7.4.270.0000.00616.54
7.4.260.0000.00513.25
7.4.250.0040.00416.66
7.4.240.0000.00816.39
7.4.230.0000.00716.73
7.4.220.0090.00916.48
7.4.210.0070.00716.50
7.4.200.0070.00016.29
7.4.160.0080.00816.46
7.4.150.0100.00717.40
7.4.140.0080.01117.86
7.4.130.0190.00516.41
7.4.120.0100.00716.55
7.4.110.0100.00916.71
7.4.100.0060.01616.71
7.4.90.0100.00716.54
7.4.80.0150.00419.39
7.4.70.0110.00616.40
7.4.60.0070.02016.45
7.4.50.0040.01116.61
7.4.40.0150.00616.57
7.4.30.0080.00816.44
7.4.10.0150.00615.13
7.4.00.0120.00615.14
7.3.330.0050.00013.29
7.3.320.0050.00013.40
7.3.310.0000.00716.22
7.3.300.0000.00716.34
7.3.290.0090.00816.42
7.3.280.0090.00916.45
7.3.270.0130.01017.40
7.3.260.0110.00616.51
7.3.250.0100.00916.49
7.3.240.0100.01016.47
7.3.230.0090.01116.63
7.3.210.0120.00616.58
7.3.200.0070.01416.45
7.3.190.0120.00416.51
7.3.180.0100.00616.57
7.3.170.0120.00916.64
7.3.160.0090.01016.63
7.3.130.0040.01515.05
7.3.120.0180.00314.86
7.3.110.0030.01214.98
7.3.100.0030.01014.92
7.3.90.0060.00815.09
7.3.80.0070.00314.86
7.3.70.0000.00914.95
7.3.60.0120.00414.73
7.3.50.0000.01114.61
7.3.40.0030.01414.92
7.3.30.0070.00414.95
7.3.20.0070.00316.82
7.3.10.0060.01016.77
7.3.00.0070.00716.68
7.2.330.0060.01316.46
7.2.320.0060.01216.59
7.2.310.0070.01016.59
7.2.300.0110.00616.49
7.2.290.0070.00716.41
7.2.260.0060.01315.02
7.2.250.0040.01115.11
7.2.240.0030.01015.28
7.2.230.0120.00314.95
7.2.220.0030.01314.71
7.2.210.0030.01015.18
7.2.200.0030.01014.99
7.2.190.0030.01014.93
7.2.180.0060.00614.98
7.2.170.0000.01414.83
7.2.160.0030.00615.10
7.2.150.0070.00716.85
7.2.140.0000.00916.87
7.2.130.0070.01016.95
7.2.120.0030.00916.96
7.2.110.0070.00416.96
7.2.100.0090.00616.80
7.2.90.0030.01016.80
7.2.80.0110.00416.81
7.2.70.0030.01016.91
7.2.60.0030.01016.81
7.2.50.0090.00616.57
7.2.40.0060.00316.84
7.2.30.0030.01017.05
7.2.20.0070.00316.70
7.2.10.0060.00316.98
7.2.00.0030.01118.22
7.1.330.0100.00315.78
7.1.320.0050.00515.96
7.1.310.0060.00915.94
7.1.300.0040.00415.89
7.1.290.0120.00415.91
7.1.280.0000.00915.70
7.1.270.0070.00715.64
7.1.260.0090.00615.47
7.1.250.0070.00715.84
7.1.240.0060.00915.86
7.1.230.0000.01115.71
7.1.220.0090.00615.93
7.1.210.0040.00815.83
7.1.200.0100.00215.86
7.1.190.0030.00616.00
7.1.180.0030.01015.73
7.1.170.0070.00315.94
7.1.160.0070.00415.93
7.1.150.0060.00615.67
7.1.140.0000.00815.61
7.1.130.0080.00415.61
7.1.120.0040.01115.76
7.1.110.0110.00015.92
7.1.100.0040.00916.91
7.1.90.0070.01015.71
7.1.80.0070.00715.82
7.1.70.0050.00816.49
7.1.60.0120.01325.42
7.1.50.0150.01025.31
7.1.40.0110.01324.99
7.1.30.0140.00825.07
7.1.20.0100.01025.13
7.1.10.0080.00516.22
7.1.00.0080.00616.34
7.0.330.0110.00015.43
7.0.320.0050.00515.38
7.0.310.0030.00715.45
7.0.300.0030.00615.24
7.0.290.0070.00715.41
7.0.280.0070.00715.45
7.0.270.0070.00715.21
7.0.260.0030.00715.24
7.0.250.0070.00415.25
7.0.240.0000.01115.58
7.0.230.0040.01115.34
7.0.220.0060.00615.45
7.0.210.0060.00315.59
7.0.200.0060.00716.24
7.0.190.0060.00915.99
7.0.180.0040.00715.78
7.0.170.0050.00915.93
7.0.160.0030.00915.73
7.0.150.0030.00915.90
7.0.140.0080.00915.82
7.0.130.0080.00316.06
7.0.120.0030.01016.03
7.0.110.0050.00815.80
7.0.100.0080.00615.88
7.0.90.0030.00916.00
7.0.80.0040.00915.82
7.0.70.0050.00815.74
7.0.60.0020.01415.87
7.0.50.0030.01315.87
7.0.40.0080.00315.08
7.0.30.0050.00815.11
7.0.20.0080.00514.81
7.0.10.0020.01214.83
7.0.00.0060.00714.98
5.6.400.0030.00714.17
5.6.390.0000.01114.50
5.6.380.0060.00614.22
5.6.370.0030.00814.44
5.6.360.0000.01314.30
5.6.350.0040.01114.34
5.6.340.0000.00914.27
5.6.330.0080.00614.50
5.6.320.0030.00914.57
5.6.310.0050.00514.36
5.6.300.0060.01214.20
5.6.290.0060.00614.39
5.6.280.0000.01414.51
5.6.270.0030.01014.34
5.6.260.0040.01214.29
5.6.250.0100.00714.41
5.6.240.0070.00314.33
5.6.230.0060.00914.24
5.6.220.0040.01114.15
5.6.210.0120.00314.09
5.6.200.0000.01214.31
5.6.190.0060.00914.66
5.6.180.0120.00314.20
5.6.170.0070.00714.17
5.6.160.0080.00014.41
5.6.150.0070.00714.41
5.6.140.0060.00614.31
5.6.130.0070.00314.41
5.6.120.0040.01114.40
5.6.110.0040.01114.36
5.6.100.0030.01014.23
5.6.90.0030.01014.70
5.6.80.0060.00914.09
5.6.70.0070.00414.24
5.6.60.0080.00814.59
5.6.50.0090.00614.49
5.6.40.0040.01414.23
5.6.30.0030.01314.24
5.6.20.0030.01014.04
5.6.10.0030.01314.04
5.6.00.0060.00614.28

preferences:
43.89 ms | 400 KiB | 5 Q