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 = true; /* [true|false] */ $b = false; /* [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.60.0140.00718.07
8.3.50.0090.00922.05
8.3.40.0110.00318.79
8.3.30.0000.01519.09
8.3.20.0070.00020.16
8.3.10.0040.00421.88
8.3.00.0050.00219.02
8.2.180.0110.00816.50
8.2.170.0030.01022.96
8.2.160.0140.00322.08
8.2.150.0030.00524.18
8.2.140.0070.01124.66
8.2.130.0050.00226.16
8.2.120.0070.00020.98
8.2.110.0080.00019.30
8.2.100.0090.00317.84
8.2.90.0000.00817.62
8.2.80.0030.00618.79
8.2.70.0080.00017.80
8.2.60.0080.00018.03
8.2.50.0060.00318.10
8.2.40.0040.00719.46
8.2.30.0040.00419.31
8.2.20.0000.00717.57
8.2.10.0030.00517.93
8.2.00.0000.00717.61
8.1.280.0170.00025.92
8.1.270.0000.00918.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00319.43
8.1.230.0040.00720.75
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0040.00417.35
8.1.180.0000.00719.05
8.1.170.0060.00318.64
8.1.160.0080.00019.07
8.1.150.0070.00018.80
8.1.140.0050.00217.48
8.1.130.0030.00317.84
8.1.120.0000.00717.45
8.1.110.0070.00317.45
8.1.100.0000.00717.46
8.1.90.0000.00717.47
8.1.80.0050.00217.35
8.1.70.0030.00317.35
8.1.60.0060.00317.60
8.1.50.0090.00017.55
8.1.40.0040.00417.47
8.1.30.0060.00317.61
8.1.20.0040.00417.70
8.1.10.0040.00417.41
8.1.00.0040.00417.35
8.0.300.0090.00218.77
8.0.290.0030.00616.63
8.0.280.0070.00018.35
8.0.270.0040.00417.21
8.0.260.0040.00417.18
8.0.250.0080.00016.94
8.0.240.0040.00416.85
8.0.230.0000.00716.87
8.0.220.0040.00416.91
8.0.210.0030.00316.79
8.0.200.0030.00616.91
8.0.190.0040.00416.93
8.0.180.0040.00416.93
8.0.170.0000.00716.96
8.0.160.0070.00016.81
8.0.150.0030.00316.80
8.0.140.0030.00616.80
8.0.130.0030.00313.32
8.0.120.0000.00816.78
8.0.110.0000.00816.93
8.0.100.0000.00716.84
8.0.90.0070.00016.90
8.0.80.0100.00616.86
8.0.70.0000.00716.90
8.0.60.0000.00716.72
8.0.50.0070.00016.88
8.0.30.0100.00817.13
8.0.20.0060.01517.40
8.0.10.0070.00016.95
8.0.00.0100.01016.77
7.4.330.0000.00515.03
7.4.320.0060.00016.37
7.4.300.0040.00416.45
7.4.290.0030.00316.65
7.4.280.0040.00316.57
7.4.270.0000.00816.46
7.4.260.0040.00716.57
7.4.250.0040.00416.50
7.4.240.0020.00516.57
7.4.230.0040.00416.34
7.4.220.0040.01416.56
7.4.210.0120.00316.50
7.4.200.0000.00716.53
7.4.160.0160.00016.46
7.4.150.0180.00717.40
7.4.140.0130.00417.86
7.4.130.0120.00516.57
7.4.120.0120.00516.53
7.4.110.0090.00916.40
7.4.100.0150.00616.77
7.4.90.0100.00716.51
7.4.80.0030.01419.39
7.4.70.0120.00616.55
7.4.60.0170.00016.41
7.4.50.0030.00316.33
7.4.40.0060.01016.24
7.4.30.0160.00016.43
7.4.00.0090.00914.95
7.3.330.0030.00313.09
7.3.320.0000.00513.05
7.3.310.0040.00416.26
7.3.300.0040.00416.25
7.3.290.0030.01016.22
7.3.280.0080.01116.20
7.3.270.0160.00917.40
7.3.260.0060.01016.46
7.3.250.0140.00616.41
7.3.240.0070.01316.40
7.3.230.0120.00416.39
7.3.210.0070.01016.41
7.3.200.0090.01519.39
7.3.190.0090.01216.46
7.3.180.0100.00716.48
7.3.170.0060.00916.48
7.3.160.0120.00316.47
7.3.10.0120.00316.75
7.3.00.0080.00616.36
7.2.330.0080.01116.59
7.2.320.0060.01216.20
7.2.310.0070.01116.60
7.2.300.0130.01016.36
7.2.290.0120.00416.27
7.2.130.0060.00616.59
7.2.120.0070.00716.79
7.2.110.0060.01016.91
7.2.100.0080.00416.64
7.2.90.0060.00616.84
7.2.80.0090.00916.56
7.2.70.0090.00916.55
7.2.60.0060.01016.70
7.2.50.0030.01416.81
7.2.40.0030.00916.76
7.2.30.0030.00916.74
7.2.20.0030.01216.71
7.2.10.0030.00916.82
7.2.00.0060.00617.93
7.1.250.0030.01015.64
7.1.200.0030.00715.90
7.1.100.0060.00618.15
7.1.70.0220.00017.21
7.1.60.0110.01419.22
7.1.50.0130.01016.67
7.1.00.0000.07722.42
7.0.200.0120.00016.73
7.0.140.0070.05022.19
7.0.60.0100.05719.98
7.0.50.0030.07017.95
7.0.40.0100.04320.04
7.0.30.0300.05320.33
7.0.20.0330.05320.23
7.0.10.0070.08720.26
7.0.00.0130.07720.09
5.6.280.0000.07721.08
5.6.210.0100.07720.69
5.6.200.0130.06718.15
5.6.190.0100.08020.52
5.6.180.0300.08020.63
5.6.170.0100.05320.51
5.6.160.0070.04720.45
5.6.150.0130.07718.14
5.6.140.0030.04318.12
5.6.130.0070.06718.15
5.6.120.0230.06321.14
5.6.110.0030.07721.18
5.6.100.0000.09321.08
5.6.90.0100.06720.96
5.6.80.0070.05320.27
5.5.350.0270.06720.46
5.5.340.0170.07017.99
5.5.330.0030.09320.57
5.5.320.0330.07320.32
5.5.310.0370.05020.21
5.5.300.0030.06718.05
5.5.290.0070.08317.97
5.5.280.0030.05720.98
5.5.270.0130.06020.87
5.5.260.0030.06320.73
5.5.250.0100.03320.70
5.5.240.0000.03320.37
5.4.450.0270.06719.57
5.4.440.0200.07719.39
5.4.430.0200.03319.56
5.4.420.0130.05019.27
5.4.410.0230.04719.39
5.4.400.0200.04719.09
5.4.390.0230.06319.06
5.4.380.0230.06718.88
5.4.370.0270.07019.33
5.4.360.0300.05719.31
5.4.350.0300.06319.14
5.4.340.0230.05318.99
5.4.320.0230.04718.95
5.4.310.0200.07318.87
5.4.300.0370.04019.19
5.4.290.0200.04719.16
5.4.280.0270.04719.22
5.4.270.0230.06319.16
5.4.260.0230.06719.31
5.4.250.0170.04719.32
5.4.240.0170.04019.18
5.4.230.0130.04319.05
5.4.220.0200.08019.08
5.4.210.0170.07319.08
5.4.200.0230.07019.05
5.4.190.0300.06719.13
5.4.180.0270.07018.84
5.4.170.0300.04019.04
5.4.160.0270.05719.08
5.4.150.0230.07719.09
5.4.140.0270.07016.56
5.4.130.0200.07316.55
5.4.120.0200.07316.58
5.4.110.0270.06716.31
5.4.100.0170.06316.61
5.4.90.0230.04716.59
5.4.80.0230.05016.57
5.4.70.0270.05316.30
5.4.60.0200.06316.53
5.4.50.0230.05016.51
5.4.40.0330.06316.49
5.4.30.0270.06716.24
5.4.20.0230.04316.32
5.4.10.0300.06716.32
5.4.00.0300.06315.95
5.3.290.0170.05014.58
5.3.280.0200.06014.56
5.3.270.0230.04014.59
5.3.260.0300.05314.68
5.3.250.0170.06014.68
5.3.240.0170.08014.51
5.3.230.0200.07714.67
5.3.220.0230.07014.55
5.3.210.0300.06714.78
5.3.200.0330.06714.64
5.3.190.0270.05714.57
5.3.180.0200.06314.68
5.3.170.0230.06714.78
5.3.160.0170.07314.57
5.3.150.0270.06714.46
5.3.140.0370.06314.46
5.3.130.0170.07014.45
5.3.120.0170.04314.52
5.3.110.0230.06314.70
5.3.100.0270.05714.09
5.3.90.0270.05713.99
5.3.80.0300.06313.93
5.3.70.0270.07014.10
5.3.60.0300.06014.23
5.3.50.0230.07013.97
5.3.40.0330.06013.93
5.3.30.0200.07313.90
5.3.20.0200.06313.70
5.3.10.0170.06013.71
5.3.00.0230.06713.75
5.2.170.0170.05712.21
5.2.160.0230.05312.21
5.2.150.0230.03712.21
5.2.140.0130.06012.21
5.2.130.0170.06312.21
5.2.120.0100.05312.21
5.2.110.0170.06712.21
5.2.100.0230.05312.21
5.2.90.0170.06012.21
5.2.80.0130.06312.21
5.2.70.0300.05012.21
5.2.60.0270.04012.21
5.2.50.0270.05312.21
5.2.40.0100.04712.21
5.2.30.0130.06712.21
5.2.20.0130.03012.21
5.2.10.0170.05312.21
5.2.00.0170.04712.21
5.1.60.0200.04712.21
5.1.50.0170.05312.21
5.1.40.0170.05312.21
5.1.30.0170.05712.21
5.1.20.0100.03712.21
5.1.10.0170.02312.21
5.1.00.0130.03312.21
5.0.50.0170.04012.21
5.0.40.0130.04012.21
5.0.30.0100.06312.21
5.0.20.0130.03712.21
5.0.10.0070.04312.21
5.0.00.0100.06012.21
4.4.90.0070.02712.21
4.4.80.0070.02312.21
4.4.70.0100.02012.21
4.4.60.0130.03312.21
4.4.50.0100.03012.21
4.4.40.0100.05312.21
4.4.30.0070.02712.21
4.4.20.0030.02012.21
4.4.10.0200.02312.21
4.4.00.0100.04712.21
4.3.110.0070.03712.21
4.3.100.0130.02312.21
4.3.90.0070.03312.21
4.3.80.0200.03712.21
4.3.70.0130.02312.21
4.3.60.0070.03012.21
4.3.50.0030.03012.21
4.3.40.0100.04712.21
4.3.30.0030.03312.21
4.3.20.0070.03012.21
4.3.10.0070.02712.21
4.3.00.0070.03012.21

preferences:
45.13 ms | 401 KiB | 5 Q