3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * Solve this puzzle by entering correct parameters. * Use http://3v4l.org/ if you don't have proper php or mcrypt versions installed. */ $a = false; /* [true|false] */ $b = true; /* [true|false] */ $c = true; /* [true|false] */ $name = 'ffff'; /* Your first name here */ function get_halt_data() { return trim(file_get_contents(__FILE__, false, null, __COMPILER_HALT_OFFSET__)); } if ($a) { if ($b && !$c) { echo "No secret here!"; } else if(!$b && !$c) { echo "Nothing here also!"; } } else { if (!$b) { if (!$a && (!$b && $c)) { echo rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, md5($name), base64_decode(get_halt_data()), MCRYPT_MODE_CBC, md5(md5($name))), "\0"); } else { echo "Nice try buddy. No luck here!"; } } else { echo "Nothing here!"; } } __halt_compiler();

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.40.0070.00718.45
8.3.30.0070.00719.04
8.3.20.0000.00720.27
8.3.10.0090.00023.61
8.3.00.0040.00419.18
8.2.170.0100.00722.96
8.2.160.0030.01022.31
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00021.03
8.2.110.0090.00020.54
8.2.100.0000.01117.72
8.2.90.0000.00817.75
8.2.80.0000.00818.75
8.2.70.0030.00617.89
8.2.60.0040.00418.22
8.2.50.0030.00519.38
8.2.40.0040.00421.11
8.2.30.0040.00419.25
8.2.20.0030.00517.62
8.2.10.0000.00718.14
8.2.00.0070.00017.67
8.1.270.0000.00818.72
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0090.00019.14
8.1.230.0060.00621.11
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0030.00617.23
8.1.180.0040.00419.02
8.1.170.0000.00818.46
8.1.160.0000.01018.89
8.1.150.0000.00718.86
8.1.140.0000.00717.37
8.1.130.0070.00017.83
8.1.120.0000.00717.46
8.1.110.0000.00917.34
8.1.100.0070.00017.51
8.1.90.0070.00017.45
8.1.80.0030.00517.36
8.1.70.0000.00717.35
8.1.60.0080.00017.50
8.1.50.0030.00517.56
8.1.40.0040.00417.38
8.1.30.0050.00217.56
8.1.20.0030.00517.65
8.1.10.0040.00417.43
8.1.00.0040.00417.30
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0030.00318.43
8.0.270.0030.00317.30
8.0.260.0030.00317.13
8.0.250.0080.00016.84
8.0.240.0000.00716.92
8.0.230.0030.00317.02
8.0.220.0030.00316.79
8.0.210.0030.00316.73
8.0.200.0050.00316.95
8.0.190.0060.00316.95
8.0.180.0030.00316.90
8.0.170.0000.00717.00
8.0.160.0030.00316.81
8.0.150.0090.00016.83
8.0.140.0030.00516.84
8.0.130.0060.00313.25
8.0.120.0030.00516.87
8.0.110.0000.00816.78
8.0.100.0070.00016.71
8.0.90.0050.00216.86
8.0.80.0130.01016.91
8.0.70.0000.00716.68
8.0.60.0000.00716.78
8.0.50.0040.00416.70
8.0.30.0160.00816.96
8.0.20.0110.00717.40
8.0.10.0040.00416.92
8.0.00.0110.00716.61
7.4.330.0000.00515.03
7.4.320.0000.00616.50
7.4.300.0060.00016.57
7.4.290.0000.00816.41
7.4.280.0000.00716.54
7.4.270.0000.00716.66
7.4.260.0000.00716.57
7.4.250.0000.00716.46
7.4.240.0000.00716.53
7.4.230.0070.00016.61
7.4.220.0080.00816.64
7.4.210.0070.01416.63
7.4.200.0030.00316.61
7.4.160.0030.01216.51
7.4.150.0130.01017.40
7.4.140.0050.01217.86
7.4.130.0110.00616.47
7.4.120.0090.00716.55
7.4.110.0070.01016.42
7.4.100.0060.01216.52
7.4.90.0110.01116.37
7.4.80.0070.01319.39
7.4.70.0080.00816.50
7.4.60.0130.00316.30
7.4.50.0080.00016.37
7.4.40.0060.00916.13
7.4.30.0070.01616.38
7.4.00.0090.00614.87
7.3.330.0020.00213.09
7.3.320.0050.00013.11
7.3.310.0040.00416.13
7.3.300.0060.00016.18
7.3.290.0100.00616.25
7.3.280.0110.00716.24
7.3.270.0190.00617.40
7.3.260.0060.01116.54
7.3.250.0100.00716.30
7.3.240.0140.00716.43
7.3.230.0060.01216.39
7.3.210.0150.00316.27
7.3.200.0030.02019.39
7.3.190.0120.00916.55
7.3.180.0060.01016.30
7.3.170.0060.01216.41
7.3.160.0130.00316.48
7.2.330.0150.00416.33
7.2.320.0090.00916.33
7.2.310.0070.01116.57
7.2.300.0080.01116.49
7.2.290.0130.00316.74
7.2.60.0130.00316.89
7.2.00.0060.00619.28
7.1.200.0070.00715.68
7.1.100.0030.00717.85
7.1.70.0070.01117.07
7.1.60.0040.01819.22
7.1.50.0070.00716.86
7.1.00.0000.08022.34
7.0.200.0100.00316.82
7.0.140.0070.05322.10
7.0.60.0100.07020.02
7.0.50.0130.05717.95
7.0.40.0030.09320.27
7.0.30.0200.03720.23
7.0.20.0270.05020.12
7.0.10.0030.04320.25
7.0.00.0170.07020.22
5.6.280.0000.07721.04
5.6.210.0100.06320.55
5.6.200.0130.07718.25
5.6.190.0030.04320.48
5.6.180.0370.04320.63
5.6.170.0370.06320.55
5.6.160.0030.04720.55
5.6.150.0100.07318.18
5.6.140.0070.08018.18
5.6.130.0100.03718.15
5.6.120.0100.08020.99
5.6.110.0030.04321.00
5.6.100.0070.09020.98
5.6.90.0070.06021.08
5.6.80.0070.07320.43
5.5.350.0170.05720.37
5.5.340.0130.06318.05
5.5.330.0070.07720.29
5.5.320.0430.07320.25
5.5.310.0470.07020.32
5.5.300.0030.08017.98
5.5.290.0030.06017.98
5.5.280.0130.08020.91
5.5.270.0000.05720.68
5.5.260.0030.06720.85
5.5.250.0130.07320.62
5.5.240.0070.07720.37
5.4.450.0100.05319.39
5.4.440.0100.05719.49
5.4.430.0700.04719.49
5.4.420.0330.04319.49
5.4.410.0770.04319.37
5.4.400.0900.04719.27
5.4.390.0170.05718.48
5.4.380.0200.05318.63
5.4.370.0200.05318.72
5.4.360.0230.05318.78
5.4.350.0170.05718.79
5.4.340.0130.05718.54
5.4.320.0130.05718.83
5.4.310.0200.04718.66
5.4.300.0200.04718.61
5.4.290.0200.05018.77
5.4.280.0130.06018.62
5.4.270.0170.05018.53
5.4.260.0170.05318.73
5.4.250.0170.05718.78
5.4.240.0170.05318.61
5.4.230.0330.03718.51
5.4.220.0200.05318.78
5.4.210.0070.06318.77
5.4.200.0070.06016.73
5.4.190.0230.04318.73
5.4.180.0170.05018.60
5.4.170.0170.05318.77
5.4.160.0170.05018.79
5.4.150.0130.05318.52
5.4.140.0130.05716.20
5.4.130.0200.04316.34
5.4.120.0170.04716.28
5.4.110.0200.04316.28
5.4.100.0130.05016.22
5.4.90.0270.04016.36
5.4.80.0130.05316.34
5.4.70.0130.05316.14
5.4.60.0130.05316.36
5.4.50.0100.05316.29
5.4.40.0230.04716.23
5.4.30.0270.04316.14
5.4.20.0200.05716.18
5.4.10.0230.04016.14
5.4.00.0230.04015.78
5.3.290.0130.06014.79
5.3.280.0070.06014.63
5.3.270.0170.05314.60
5.3.260.0170.05314.73
5.3.250.0170.05014.58
5.3.240.0230.04314.65
5.3.230.0130.06314.59
5.3.220.0200.04714.62
5.3.210.0170.05014.70
5.3.200.0130.05314.59
5.3.190.0200.04714.61
5.3.180.0100.05314.60
5.3.170.0130.05314.68
5.3.160.0170.06314.67
5.3.150.0030.06314.68
5.3.140.0230.04714.72
5.3.130.0200.05314.58
5.3.120.0130.06014.71
5.3.110.0170.05314.57
5.3.100.0100.05714.17
5.3.90.0230.05314.12
5.3.80.0200.04714.12
5.3.70.0170.05314.18
5.3.60.0170.05014.05
5.3.50.0170.05014.01
5.3.40.0270.04314.01
5.3.30.0230.06014.03
5.3.20.0230.06013.73
5.3.10.0200.04713.77
5.3.00.0170.05013.76
5.2.170.0100.04711.14
5.2.160.0100.04711.25
5.2.150.0170.04011.25
5.2.140.0130.04011.36
5.2.130.0170.03711.13
5.2.120.0170.04011.21
5.2.110.0130.04311.08
5.2.100.0100.04311.08
5.2.90.0100.04311.14
5.2.80.0170.04011.32
5.2.70.0100.06311.20
5.2.60.0100.04311.12
5.2.50.0100.04311.09
5.2.40.0170.04711.12
5.2.30.0230.03011.04
5.2.20.0070.04711.10
5.2.10.0000.05010.92
5.2.00.0170.03710.94
5.1.60.0170.03010.03
5.1.50.0130.0409.98
5.1.40.0130.03310.02
5.1.30.0130.03310.43
5.1.20.0030.04310.45
5.1.10.0170.03010.20
5.1.00.0100.03710.16
5.0.50.0030.0338.76
5.0.40.0030.0338.50
5.0.30.0030.0508.35
5.0.20.0030.0308.25
5.0.10.0170.0238.21
5.0.00.0030.0478.30
4.4.90.0070.0235.96
4.4.80.0100.0175.93
4.4.70.0030.0235.89
4.4.60.0170.0105.95
4.4.50.0100.0175.90
4.4.40.0000.0405.88
4.4.30.0070.0235.95
4.4.20.0100.0236.07
4.4.10.0030.0235.95
4.4.00.0100.0335.91
4.3.110.0030.0235.95
4.3.100.0070.0305.96
4.3.90.0030.0235.82
4.3.80.0070.0375.80
4.3.70.0030.0235.89
4.3.60.0030.0275.83
4.3.50.0070.0205.81
4.3.40.0100.0305.79
4.3.30.0030.0234.69
4.3.20.0030.0234.69
4.3.10.0000.0274.69
4.3.00.0130.0207.23

preferences:
45.59 ms | 400 KiB | 5 Q