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 = ++$a; } $mul=$a6 * $a6; $a7=$mul ^ hexdec('6E'); $ans = octdec(hexdec(substr($a3,0,6))) ^ hexdec('AFE43') ^ hexdec('399AA3') ^ $a7 ^ octdec(hexdec(substr($a3,0,6))); return $a4 . chr($ans); } echo decrypt('pass'); define('__FLAG__', 'flag{hidden_flag}'); if(decrypt('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.0030.01218.43
8.3.50.0070.00716.41
8.3.40.0140.00718.58
8.3.30.0120.00318.87
8.3.20.0070.00019.15
8.3.10.0080.00021.76
8.3.00.0080.00019.61
8.2.180.0150.00318.29
8.2.170.0070.00722.96
8.2.160.0000.01520.52
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0000.00722.11
8.2.120.0040.00426.35
8.2.110.0030.00620.43
8.2.100.0090.00317.91
8.2.90.0080.00019.34
8.2.80.0050.00318.04
8.2.70.0040.00417.63
8.2.60.0030.00617.93
8.2.50.0000.00818.10
8.2.40.0000.00720.67
8.2.30.0000.00819.23
8.2.20.0040.00418.20
8.2.10.0070.00018.04
8.2.00.0090.00018.19
8.1.280.0120.00925.92
8.1.270.0000.00822.19
8.1.260.0020.00526.35
8.1.250.0000.00728.09
8.1.240.0090.00023.79
8.1.230.0080.00417.70
8.1.220.0080.00017.76
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0050.00317.22
8.1.180.0040.00418.10
8.1.170.0080.00018.46
8.1.160.0040.00419.01
8.1.150.0000.00820.62
8.1.140.0000.01119.54
8.1.130.0000.00718.85
8.1.120.0040.00417.42
8.1.110.0080.00017.37
8.1.100.0050.00317.42
8.1.90.0070.00017.46
8.1.80.0050.00517.41
8.1.70.0000.00817.38
8.1.60.0040.00417.62
8.1.50.0000.00817.55
8.1.40.0080.00417.43
8.1.30.0000.00717.60
8.1.20.0090.00917.59
8.1.10.0030.00517.60
8.1.00.0030.00617.42
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.47
8.0.270.0000.00717.27
8.0.260.0030.00316.85
8.0.250.0030.00317.04
8.0.240.0040.00417.03
8.0.230.0000.00717.00
8.0.220.0000.00716.93
8.0.210.0040.00416.91
8.0.200.0030.00316.93
8.0.190.0050.00316.94
8.0.180.0070.00016.92
8.0.170.0070.00016.95
8.0.160.0070.00016.86
8.0.150.0000.00716.80
8.0.140.0070.00016.83
8.0.130.0050.00013.32
8.0.120.0040.00416.86
8.0.110.0000.00716.72
8.0.100.0000.00816.95
8.0.90.0000.00716.80
8.0.80.0120.00616.90
8.0.70.0000.00716.93
8.0.60.0040.00416.98
8.0.50.0040.00416.82
8.0.30.0050.01217.18
8.0.20.0110.00917.40
8.0.10.0070.00017.04
8.0.00.0120.00616.66
7.4.330.0050.00015.55
7.4.320.0030.00316.62
7.4.300.0000.00616.52
7.4.290.0030.00616.59
7.4.280.0000.00816.55
7.4.270.0000.00816.60
7.4.260.0000.00513.27
7.4.250.0040.00416.50
7.4.240.0030.00316.47
7.4.230.0040.00416.68
7.4.220.0100.00716.39
7.4.210.0110.00216.50
7.4.200.0000.00716.46
7.4.160.0100.00616.59
7.4.150.0090.00917.40
7.4.140.0110.01117.86
7.4.130.0090.00916.59
7.4.120.0120.01016.56
7.4.110.0150.00316.34
7.4.100.0120.00616.42
7.4.90.0130.01016.40
7.4.80.0090.00919.39
7.4.70.0110.00616.57
7.4.60.0000.01616.45
7.4.50.0060.01016.62
7.4.40.0140.00316.71
7.4.30.0100.00616.40
7.4.10.0070.01114.99
7.4.00.0050.01015.00
7.3.330.0040.00413.42
7.3.320.0000.00513.30
7.3.310.0000.00716.45
7.3.300.0000.00716.48
7.3.290.0070.00016.32
7.3.280.0090.00916.41
7.3.270.0110.00717.40
7.3.260.0150.01516.57
7.3.250.0090.00816.47
7.3.240.0090.01116.49
7.3.230.0080.00816.46
7.3.210.0090.00916.47
7.3.200.0090.01316.72
7.3.190.0050.01116.50
7.3.180.0080.00816.47
7.3.170.0100.00616.58
7.3.160.0080.00816.38
7.3.130.0130.00614.72
7.3.120.0100.00814.92
7.3.110.0080.00914.85
7.3.100.0090.00514.77
7.3.90.0080.00614.96
7.3.80.0090.00614.87
7.3.70.0050.01014.70
7.3.60.0070.00914.88
7.3.50.0030.01314.85
7.3.40.0090.00614.89
7.3.30.0060.00714.67
7.3.20.0020.01316.62
7.3.10.0050.00816.56
7.3.00.0070.00616.72
7.2.330.0120.00616.58
7.2.320.0160.00616.43
7.2.310.0160.00816.66
7.2.300.0060.01216.61
7.2.290.0130.00316.50
7.2.260.0080.00415.19
7.2.250.0050.01215.11
7.2.240.0070.00815.07
7.2.230.0050.01015.23
7.2.220.0060.00815.13
7.2.210.0050.01014.96
7.2.200.0060.00514.97
7.2.190.0060.00814.95
7.2.180.0030.01114.99
7.2.170.0070.00615.10
7.2.160.0060.00715.19
7.2.150.0070.00816.89
7.2.140.0030.00716.91
7.2.130.0060.00717.01
7.2.120.0040.01017.00
7.2.110.0060.00617.01
7.2.100.0080.00816.89
7.2.90.0010.01117.03
7.2.80.0070.00517.05
7.2.70.0060.00716.87
7.2.60.0080.00416.94
7.2.50.0080.00616.97
7.2.40.0090.00516.92
7.2.30.0030.01016.85
7.2.20.0070.00716.79
7.2.10.0040.01116.96
7.2.00.0080.00517.53
7.1.330.0070.00815.87
7.1.320.0060.00815.87
7.1.310.0070.00715.83
7.1.300.0040.01015.83
7.1.290.0070.00815.88
7.1.280.0030.00715.83
7.1.270.0030.00915.73
7.1.260.0060.00615.78
7.1.250.0100.00215.85
7.1.240.0030.01015.94
7.1.230.0030.01215.86
7.1.220.0070.00715.66
7.1.210.0130.00715.63
7.1.200.0070.00315.99
7.1.190.0060.00615.79
7.1.180.0000.01215.80
7.1.170.0060.00615.70
7.1.160.0040.01115.79
7.1.150.0080.00815.58
7.1.140.0040.00815.73
7.1.130.0110.00415.75
7.1.120.0090.00615.69
7.1.110.0000.01315.91
7.1.100.0110.00316.93
7.1.90.0060.00315.84
7.1.80.0030.00715.56
7.1.70.0050.00816.54
7.1.60.0860.01124.54
7.1.50.1100.01024.39
7.1.40.1410.00524.13
7.1.30.1180.01524.31
7.1.20.1010.01024.10
7.1.10.0800.01515.33
7.1.00.0820.00815.19
7.0.330.0040.00415.51
7.0.320.0060.00915.10
7.0.310.0040.01115.46
7.0.300.0080.00615.21
7.0.290.0040.00715.43
7.0.280.0050.00515.41
7.0.270.0060.01015.48
7.0.260.0030.01015.41
7.0.250.0110.00415.42
7.0.240.0030.00615.28
7.0.230.0030.00615.45
7.0.220.0040.00715.41
7.0.210.0060.00915.43
7.0.200.1320.00715.20
7.0.190.1020.01314.97
7.0.180.0880.01015.04
7.0.170.1030.00714.92
7.0.160.0920.00714.91
7.0.150.0860.01015.03
7.0.140.0810.00614.93
7.0.130.0970.01215.15
7.0.120.0600.01515.09
7.0.110.0620.00715.03
7.0.100.0850.00615.09
7.0.90.0810.00815.11
7.0.80.0800.00514.94
7.0.70.0940.00815.10
7.0.60.0730.01014.88
7.0.50.0670.00514.88
7.0.40.0770.01413.95
7.0.30.0590.01114.11
7.0.20.0700.01114.00
7.0.10.0700.01014.13
7.0.00.0850.01213.98
5.6.400.0040.00813.93
5.6.390.0030.01414.37
5.6.380.0040.00714.63
5.6.370.0030.00914.38
5.6.360.0080.00814.30
5.6.350.0120.00314.36
5.6.340.0070.00714.60
5.6.330.0030.00914.30
5.6.320.0000.01414.06
5.6.310.0130.00314.29
5.6.300.0120.00614.59
5.6.290.0090.00614.45
5.6.280.0110.00314.19
5.6.270.0030.01214.11
5.6.260.0110.00714.52
5.6.250.0000.01314.45
5.6.240.0040.00714.39
5.6.230.0000.01314.31
5.6.220.0070.00714.27
5.6.210.0090.00914.44
5.6.200.0040.00714.29
5.6.190.0000.01714.53
5.6.180.0110.00414.27
5.6.170.0060.00914.19
5.6.160.0030.01414.16
5.6.150.0000.01714.05
5.6.140.0060.00614.30
5.6.130.0040.01114.47
5.6.120.0090.00614.73
5.6.110.0000.01414.38
5.6.100.0080.00814.30
5.6.90.0070.00714.42
5.6.80.0000.01414.15
5.6.70.0040.00714.27
5.6.60.0070.00814.36
5.6.50.0120.00314.26
5.6.40.0000.01714.36
5.6.30.0090.00614.19
5.6.20.0080.00414.18
5.6.10.0080.00414.47
5.6.00.0000.01714.17

preferences:
48.67 ms | 401 KiB | 5 Q