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 = false; /* [true|false] */ $name = ''; /* 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.43
8.3.50.0040.01117.93
8.3.40.0070.00718.70
8.3.30.0080.00618.84
8.3.20.0040.00420.22
8.3.10.0100.00021.68
8.3.00.0000.00819.08
8.2.180.0110.01125.92
8.2.170.0100.00718.82
8.2.160.0140.00022.96
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0080.00021.18
8.2.110.0050.00519.21
8.2.100.0030.00917.91
8.2.90.0060.00317.75
8.2.80.0000.00818.69
8.2.70.0050.00317.80
8.2.60.0040.00418.03
8.2.50.0050.00318.10
8.2.40.0060.00619.32
8.2.30.0000.00819.18
8.2.20.0040.00417.73
8.2.10.0070.00017.93
8.2.00.0050.00217.68
8.1.270.0030.00618.82
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00619.09
8.1.230.0110.00020.82
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0030.00717.35
8.1.190.0040.00417.23
8.1.180.0040.00418.91
8.1.170.0030.00618.61
8.1.160.0000.00918.88
8.1.150.0040.00418.90
8.1.140.0040.00417.40
8.1.130.0000.00717.73
8.1.120.0030.00317.36
8.1.110.0000.01017.36
8.1.100.0000.00717.36
8.1.90.0030.00417.44
8.1.80.0050.00217.49
8.1.70.0080.00017.46
8.1.60.0060.00317.62
8.1.50.0030.00517.51
8.1.40.0000.00817.41
8.1.30.0000.00817.58
8.1.20.0030.00617.61
8.1.10.0050.00317.41
8.1.00.0000.00917.41
8.0.300.0040.00418.77
8.0.290.0000.00916.63
8.0.280.0070.00018.45
8.0.270.0080.00017.28
8.0.260.0050.00317.21
8.0.250.0030.00516.98
8.0.240.0070.00017.00
8.0.230.0030.00316.80
8.0.220.0000.00716.90
8.0.210.0070.00016.95
8.0.200.0040.00416.78
8.0.190.0050.00216.98
8.0.180.0070.00016.89
8.0.170.0000.00716.81
8.0.160.0030.00516.79
8.0.150.0000.00716.74
8.0.140.0050.00316.92
8.0.130.0070.00013.36
8.0.120.0040.00416.68
8.0.110.0080.00016.91
8.0.100.0040.00416.85
8.0.90.0000.00716.91
8.0.80.0130.00316.81
8.0.70.0070.00016.70
8.0.60.0000.00717.00
8.0.50.0000.00716.75
8.0.30.0110.01017.09
8.0.20.0140.00917.40
8.0.10.0080.00016.96
8.0.00.0100.01016.75
7.4.330.0000.00515.03
7.4.320.0030.00316.50
7.4.300.0000.00716.49
7.4.290.0030.00316.52
7.4.280.0040.00416.61
7.4.270.0040.00416.40
7.4.260.0080.00416.49
7.4.250.0040.00416.55
7.4.240.0050.00216.54
7.4.230.0030.00316.53
7.4.220.0040.01516.61
7.4.210.0090.00616.47
7.4.200.0030.00316.49
7.4.160.0030.01216.59
7.4.150.0140.00417.40
7.4.140.0070.01117.86
7.4.130.0090.01016.54
7.4.120.0070.00916.60
7.4.110.0100.01016.38
7.4.100.0130.01016.50
7.4.90.0070.01416.53
7.4.80.0060.01119.39
7.4.70.0070.01016.46
7.4.60.0100.00716.53
7.4.50.0000.00816.36
7.4.40.0070.01016.40
7.4.30.0070.01316.34
7.4.00.0060.00614.85
7.3.330.0000.00513.16
7.3.320.0000.00513.20
7.3.310.0030.00316.05
7.3.300.0030.00316.09
7.3.290.0050.00916.23
7.3.280.0050.01216.25
7.3.270.0160.00917.40
7.3.260.0100.00716.41
7.3.250.0130.00416.33
7.3.240.0120.00916.49
7.3.230.0130.00316.39
7.3.210.0000.01816.45
7.3.200.0100.00719.39
7.3.190.0030.01316.41
7.3.180.0100.00616.55
7.3.170.0080.00816.48
7.3.160.0060.01116.34
7.2.330.0140.01116.38
7.2.320.0120.00616.32
7.2.310.0060.01416.30
7.2.300.0110.00716.55
7.2.290.0060.01316.61
7.2.60.0030.01016.50
7.2.00.0070.01019.30
7.1.200.0090.00315.32
7.1.100.0760.00716.07
7.1.70.0150.00716.86
7.1.60.0130.01019.22
7.1.50.0040.01116.44
7.1.00.0070.07022.44
7.0.200.0110.00416.83
7.0.140.0030.04022.05
7.0.60.0070.03719.94
7.0.50.0030.06717.96
7.0.40.0070.08320.22
7.0.30.0200.04020.23
7.0.20.0330.08020.22
7.0.10.0130.08020.34
7.0.00.0100.07320.09
5.6.280.0030.07321.04
5.6.210.0130.05720.77
5.6.200.0030.06018.28
5.6.190.0070.08320.39
5.6.180.0100.08320.47
5.6.170.0230.04720.55
5.6.160.0100.07020.54
5.6.150.0130.07318.29
5.6.140.0200.07018.14
5.6.130.0130.08018.18
5.6.120.0170.05720.99
5.6.110.0000.04721.14
5.6.100.0130.08720.98
5.6.90.0100.08021.00
5.6.80.0200.06320.43
5.5.350.4300.04020.43
5.5.340.0070.08017.96
5.5.330.0070.08320.38
5.5.320.0370.04720.31
5.5.310.0300.07320.30
5.5.300.0100.03718.01
5.5.290.0070.07318.05
5.5.280.0030.07020.78
5.5.270.0030.04720.87
5.5.260.0170.07320.88
5.5.250.0070.05720.50
5.5.240.0170.08020.20
5.4.450.0500.06019.61
5.4.440.0870.04719.32
5.4.430.0930.04319.31
5.4.420.1100.06319.61
5.4.410.0800.06019.36
5.4.400.0800.06019.17
5.4.390.0970.06018.61
5.4.380.0970.05318.63
5.4.370.0900.04318.75
5.4.360.0870.04718.78
5.4.350.0800.05718.70
5.4.340.0670.06318.81
5.4.320.0770.05718.62
5.4.310.0870.04718.57
5.4.300.0870.04318.70
5.4.290.0830.04018.74
5.4.280.0730.05718.75
5.4.270.0730.05318.52
5.4.260.0800.05318.60
5.4.250.0730.06318.84
5.4.240.0800.05018.46
5.4.230.0730.05718.83
5.4.220.0930.06018.46
5.4.210.0830.06018.62
5.4.200.0770.05316.50
5.4.190.0800.05018.55
5.4.180.0700.06018.61
5.4.170.0800.05018.61
5.4.160.0800.05018.71
5.4.150.0830.05018.78
5.4.140.0800.04716.36
5.4.130.0730.05316.36
5.4.120.0830.05016.28
5.4.110.0830.04316.44
5.4.100.0800.05016.22
5.4.90.0800.05016.30
5.4.80.0770.05016.35
5.4.70.0870.05016.26
5.4.60.0800.04716.41
5.4.50.0800.05316.29
5.4.40.0870.05016.16
5.4.30.0770.05316.25
5.4.20.0770.05716.15
5.4.10.0700.05316.14
5.4.00.0770.05015.79
5.3.290.0800.05314.76
5.3.280.0800.04714.63
5.3.270.0830.05014.77
5.3.260.0730.05714.63
5.3.250.0830.05014.60
5.3.240.0870.05014.66
5.3.230.0970.04314.76
5.3.220.0800.05314.69
5.3.210.0670.06314.59
5.3.200.0800.05014.59
5.3.190.0770.05714.62
5.3.180.0700.05714.56
5.3.170.0830.04714.69
5.3.160.0800.05714.72
5.3.150.1000.04714.62
5.3.140.0770.05714.66
5.3.130.1200.06314.58
5.3.120.0870.04714.67
5.3.110.0830.05014.75
5.3.100.0730.05714.21
5.3.90.0800.05014.00
5.3.80.0830.04714.06
5.3.70.0830.05014.07
5.3.60.0730.05714.00
5.3.50.0770.05014.07
5.3.40.0730.06013.95
5.3.30.1030.05014.01
5.3.20.0930.05313.79
5.3.10.1030.05013.68
5.3.00.0970.05013.67
5.2.170.0770.04711.17
5.2.160.0770.04311.20
5.2.150.0870.03311.25
5.2.140.0770.03011.13
5.2.130.0730.04311.21
5.2.120.0700.04711.23
5.2.110.0830.03711.11
5.2.100.0770.04011.23
5.2.90.0800.04011.17
5.2.80.0730.04711.14
5.2.70.0770.05311.14
5.2.60.0770.04711.09
5.2.50.0830.03711.24
5.2.40.0700.03311.04
5.2.30.0670.03710.98
5.2.20.0700.03711.14
5.2.10.0600.04010.84
5.2.00.0630.04010.82
5.1.60.0630.03310.04
5.1.50.0500.03710.02
5.1.40.0500.03710.02
5.1.30.0630.03710.40
5.1.20.0630.03710.44
5.1.10.0570.03010.10
5.1.00.0600.03010.10
5.0.50.0300.0238.60
5.0.40.0300.0238.61
5.0.30.0300.0408.34
5.0.20.0270.0278.39
5.0.10.0270.0308.22
5.0.00.0270.0438.38
4.4.90.0300.0176.04
4.4.80.0330.0205.92
4.4.70.0330.0205.91
4.4.60.0300.0235.92
4.4.50.0330.0205.89
4.4.40.0300.0375.93
4.4.30.0300.0235.88
4.4.20.0370.0176.06
4.4.10.0300.0236.02
4.4.00.0330.0336.04
4.3.110.0370.0205.85
4.3.100.0330.0205.92
4.3.90.0300.0235.81
4.3.80.0300.0335.86
4.3.70.0370.0175.84
4.3.60.0230.0275.83
4.3.50.0300.0235.80
4.3.40.0430.0205.80
4.3.30.0170.0204.66
4.3.20.0230.0134.66
4.3.10.0170.0204.66
4.3.00.0100.0237.23

preferences:
65.57 ms | 400 KiB | 5 Q