3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($a) { $a1 = strtolower(strrev($a)); $a2 = hexdec(substr($a1,0, 4)) ^ hexdec('BFF') ^ hexdec('D77D'); $a3 = substr($a2,4); $a4 = ""; $a5 = 0; for($a5=0;$a5<strlen($a3);$a5+=6){ $a6 = ++$a5; } $mul=$a6 * $a6; $a7=$mul ^ hexdec('6E'); $ans = octdec(hexdec(substr($a3,$a5,6))) ^ hexdec('AFE43') ^ hexdec('399AA3') ^ $a7 ^ octdec(hexdec(substr($a3,0,6))); return $a4 . chr($ans); } define('__FLAG__', 'flag{hidden_flag}'); if(decrypt($_REQUEST['pass']) == 'pwning_the_phpreverse!') { __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.0110.00418.68
8.3.50.0160.00016.29
8.3.40.0160.00018.61
8.3.30.0110.00418.71
8.3.20.0050.00321.03
8.3.10.0000.00821.73
8.3.00.0050.00319.60
8.2.180.0150.00316.50
8.2.170.0170.00022.96
8.2.160.0070.00720.47
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0070.00720.39
8.2.120.0110.00326.35
8.2.110.0070.00321.13
8.2.100.0090.00618.00
8.2.90.0000.00818.20
8.2.80.0000.00819.77
8.2.70.0080.00018.04
8.2.60.0060.00317.93
8.2.50.0030.00618.10
8.2.40.0040.00420.66
8.2.30.0000.00819.21
8.2.20.0020.00518.01
8.2.10.0040.00418.19
8.2.00.0030.00618.00
8.1.280.0070.01125.92
8.1.270.0080.00021.83
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00921.96
8.1.230.0080.00322.75
8.1.220.0000.00817.77
8.1.210.0040.00418.77
8.1.200.0000.00817.34
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0000.00818.59
8.1.160.0040.00419.09
8.1.150.0000.00820.68
8.1.140.0080.00019.51
8.1.130.0000.00918.91
8.1.120.0030.00617.39
8.1.110.0050.00317.43
8.1.100.0070.00017.46
8.1.90.0050.00217.47
8.1.80.0000.00817.47
8.1.70.0050.00317.35
8.1.60.0030.00517.48
8.1.50.0030.00517.55
8.1.40.0090.00017.43
8.1.30.0000.00917.64
8.1.20.0030.00617.64
8.1.10.0050.00217.61
8.1.00.0030.00617.61
8.0.300.0070.00019.54
8.0.290.0080.00016.75
8.0.280.0030.00318.41
8.0.270.0070.00017.16
8.0.260.0030.00316.84
8.0.250.0030.00316.91
8.0.240.0050.00316.95
8.0.230.0070.00017.00
8.0.220.0000.00716.95
8.0.210.0040.00416.96
8.0.200.0000.00817.09
8.0.190.0060.00317.03
8.0.180.0040.00416.88
8.0.170.0070.00016.98
8.0.160.0050.00316.93
8.0.150.0050.00316.88
8.0.140.0000.00816.95
8.0.130.0000.00513.33
8.0.120.0030.00516.94
8.0.110.0070.00016.97
8.0.100.0070.00016.84
8.0.90.0030.00516.96
8.0.80.0070.00917.03
8.0.70.0080.00016.95
8.0.60.0040.00417.08
8.0.50.0000.00716.88
8.0.30.0070.01017.11
8.0.20.0100.01017.42
8.0.10.0000.00717.05
8.0.00.0090.00916.77
7.4.330.0000.00515.55
7.4.320.0000.00716.44
7.4.300.0000.00616.52
7.4.290.0000.00716.66
7.4.280.0040.00416.65
7.4.270.0030.00516.41
7.4.260.0050.00013.27
7.4.250.0030.00616.58
7.4.240.0070.00016.50
7.4.230.0000.00716.44
7.4.220.0090.01616.47
7.4.210.0030.01316.46
7.4.200.0030.00316.43
7.4.160.0100.00816.67
7.4.150.0120.00617.40
7.4.140.0080.01317.86
7.4.130.0130.01216.59
7.4.120.0090.01116.63
7.4.110.0040.01416.66
7.4.100.0030.01316.53
7.4.90.0060.01016.49
7.4.80.0100.00619.39
7.4.70.0130.00316.43
7.4.60.0060.01116.57
7.4.50.0060.01116.57
7.4.40.0090.00616.53
7.4.30.0030.01216.50
7.4.00.0090.00614.83
7.3.330.0000.00713.32
7.3.320.0060.00013.45
7.3.310.0070.00016.54
7.3.300.0000.00616.45
7.3.290.0000.00716.28
7.3.280.0100.00716.42
7.3.270.0070.01117.40
7.3.260.0050.01216.64
7.3.250.0140.00616.40
7.3.240.0100.00716.67
7.3.230.0080.01116.60
7.3.210.0090.00916.48
7.3.200.0040.01416.58
7.3.190.0090.00916.38
7.3.180.0100.01316.63
7.3.170.0070.01116.39
7.3.160.0060.00916.57
7.3.120.0070.01314.73
7.3.110.0130.00614.79
7.3.100.0090.00615.16
7.3.90.0060.00915.02
7.3.80.0070.00714.94
7.3.70.0030.01014.75
7.3.60.0080.00814.93
7.3.50.0000.01215.04
7.3.40.0000.01514.70
7.3.30.0030.00714.70
7.3.20.0070.00716.68
7.3.10.0070.01016.38
7.3.00.0120.00316.84
7.2.330.0050.01416.71
7.2.320.0110.00716.68
7.2.310.0140.00316.69
7.2.300.0060.01616.80
7.2.290.0080.00816.82
7.2.250.0100.00714.95
7.2.240.0030.01415.09
7.2.230.0070.01014.99
7.2.220.0060.01014.99
7.2.210.0030.01314.66
7.2.200.0000.01015.19
7.2.190.0040.01115.00
7.2.180.0040.00814.85
7.2.170.0030.00915.13
7.2.60.0100.00317.04
7.2.00.0000.01719.23
7.1.330.0070.01015.77
7.1.320.0070.00715.70
7.1.310.0070.01015.73
7.1.300.0030.00515.55
7.1.290.0030.01015.80
7.1.280.0030.00815.52
7.1.270.0080.00815.88
7.1.260.0070.00715.63
7.1.200.0070.00315.67
7.1.100.0030.00618.04
7.1.70.0150.00417.32
7.1.60.0730.01733.18
7.1.50.0900.00733.08
7.1.40.0770.01732.62
7.1.30.0700.02332.94
7.1.20.0730.02032.71
7.1.10.0670.00714.57
7.1.00.3830.01314.69
7.0.200.0570.01715.12
7.0.190.0530.01014.95
7.0.180.0530.01714.43
7.0.170.0600.01714.65
7.0.160.0600.01314.46
7.0.150.0470.01714.57
7.0.140.0630.01014.69
7.0.130.0470.01014.70
7.0.120.0430.01314.94
7.0.110.0500.01314.78
7.0.100.0930.00314.41
7.0.90.0330.01314.57
7.0.80.0470.00314.52
7.0.70.0530.01314.71
7.0.60.0570.01314.13
7.0.50.0600.01014.51
7.0.40.0600.01014.72
7.0.30.0630.01014.59
7.0.20.0430.01014.55
7.0.10.0600.00714.66
7.0.00.0630.01714.80

preferences:
57 ms | 401 KiB | 5 Q