3v4l.org

run code in 300+ PHP versions simultaneously
<?php $handler = function() { echo 'error handler!'; throw new \ErrorException(); }; set_error_handler($handler); register_shutdown_function($handler); try { mcrypt_decrypt(MCRYPT_RIJNDAEL_256, 'asdf', 'asdf', MCRYPT_MODE_CBC); } catch (\Exception $e) { echo 'caught!'; } echo 'done';

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.0120.00916.88
8.3.50.0110.00521.97
8.3.40.0150.00618.84
8.3.30.0090.00619.22
8.3.20.0000.00820.20
8.3.10.0040.00423.66
8.3.00.0090.00919.33
8.2.180.0150.00618.54
8.2.170.0130.01022.96
8.2.160.0030.01720.13
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0130.00626.16
8.2.120.0140.00422.08
8.2.110.0030.00722.25
8.2.100.0040.00717.84
8.2.90.0040.00419.23
8.2.80.0080.00017.97
8.2.70.0060.00317.72
8.2.60.0030.00517.80
8.2.50.0030.00518.07
8.2.40.0040.00419.75
8.2.30.0040.00419.86
8.2.20.0040.00417.81
8.2.10.0050.00317.98
8.2.00.0070.00417.81
8.1.280.0070.01125.92
8.1.270.0000.00823.71
8.1.260.0110.00726.35
8.1.250.0180.00028.09
8.1.240.0170.00323.97
8.1.230.0070.00418.82
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.55
8.1.180.0030.00618.10
8.1.170.0000.00820.50
8.1.160.0060.00322.02
8.1.150.0000.00818.71
8.1.140.0000.00717.51
8.1.130.0000.00717.84
8.1.120.0000.00717.48
8.1.110.0040.00417.37
8.1.100.0040.00417.43
8.1.90.0040.00417.50
8.1.80.0050.00217.35
8.1.70.0040.00417.30
8.1.60.0030.00617.55
8.1.50.0080.00017.39
8.1.40.0000.00717.42
8.1.30.0050.00317.65
8.1.20.0000.00817.61
8.1.10.0000.00817.56
8.1.00.0040.00417.56
8.0.300.0040.00419.07
8.0.290.0070.00017.05
8.0.280.0030.00318.35
8.0.270.0000.00717.31
8.0.260.0070.00017.18
8.0.250.0000.00716.94
8.0.240.0000.00717.00
8.0.230.0030.00616.87
8.0.220.0060.00016.86
8.0.210.0040.00416.81
8.0.200.0000.00717.02
8.0.190.0000.00817.00
8.0.180.0030.00617.02
8.0.170.0030.00516.96
8.0.160.0000.00716.97
8.0.150.0040.00416.82
8.0.140.0030.00616.89
8.0.130.0060.00013.35
8.0.120.0040.00416.88
8.0.110.0030.00517.03
8.0.100.0090.00016.81
8.0.90.0070.00016.95
8.0.80.0110.00716.94
8.0.70.0000.00716.78
8.0.60.0000.00717.01
8.0.50.0070.00016.83
8.0.30.0070.01117.17
8.0.20.0130.00517.40
8.0.10.0040.00417.02
8.0.00.0110.00616.71
7.4.330.0020.00215.00
7.4.320.0070.00016.46
7.4.300.0030.00316.50
7.4.290.0070.00016.53
7.4.280.0030.00316.52
7.4.270.0040.00416.64
7.4.260.0030.00316.43
7.4.250.0040.00416.55
7.4.240.0010.00616.48
7.4.230.0000.00716.46
7.4.220.0040.01416.50
7.4.210.0070.00816.59
7.4.200.0040.00416.26
7.4.190.0040.00416.70
7.4.160.0040.01216.43
7.4.150.0130.00417.40
7.4.140.0100.00717.86
7.4.130.0100.00816.42
7.4.120.0110.00516.63
7.4.110.0110.00716.65
7.4.100.0030.01616.55
7.4.90.0130.00316.59
7.4.80.0080.00819.39
7.4.70.0130.00316.71
7.4.60.0100.01016.68
7.4.50.0040.00416.60
7.4.40.0100.00722.77
7.4.30.0090.00616.70
7.4.00.0080.00414.94
7.3.330.0060.00013.16
7.3.320.0030.00313.17
7.3.310.0050.00316.42
7.3.300.0000.00716.16
7.3.290.0030.01316.29
7.3.280.0060.01216.34
7.3.270.0030.01417.40
7.3.260.0100.00716.39
7.3.250.0090.00916.45
7.3.240.0140.00316.42
7.3.230.0090.00616.39
7.3.210.0100.01316.32
7.3.200.0090.01319.39
7.3.190.0090.00816.35
7.3.180.0060.00916.29
7.3.170.0160.00016.44
7.3.160.0150.00616.32
7.3.120.0080.00314.84
7.2.330.0140.00316.79
7.2.320.0090.01316.45
7.2.310.0090.01316.74
7.2.300.0120.00616.44
7.2.290.0040.01316.75
7.2.60.0030.01316.82
7.2.00.0030.01219.52
7.1.200.0080.00815.41
7.1.100.0030.00918.34
7.1.70.0000.00716.96
7.1.60.0090.01619.46
7.1.50.0100.01316.86
7.1.00.0070.07022.48
7.0.200.0040.00716.76
7.0.140.0100.06721.92
7.0.60.0100.08019.91
7.0.50.0000.04317.82
7.0.40.0070.08320.29
7.0.30.0230.04720.17
7.0.20.0300.07320.16
7.0.10.0170.05320.34
7.0.00.0070.08720.28
5.6.280.0100.06721.05
5.6.210.0070.06320.44
5.6.200.0070.08718.19
5.6.190.0130.08320.68
5.6.180.0230.06720.50
5.6.170.0170.04320.61
5.6.160.0030.04320.43
5.6.150.0030.07018.34
5.6.140.0130.07318.32
5.6.130.0070.05018.21
5.6.120.0070.05721.05
5.6.110.0100.08321.18
5.6.100.0070.07721.06
5.6.90.0170.07721.20
5.6.80.0030.03720.43
5.6.70.3230.02720.36
5.5.350.0100.02720.45
5.5.340.0070.06718.02
5.5.330.0100.07720.41
5.5.320.0200.05020.33
5.5.310.0200.08320.32
5.5.300.0100.04318.01
5.5.290.0030.05718.03
5.5.280.0100.08720.88
5.5.270.0070.05020.93
5.5.260.0100.08020.75
5.5.250.0130.06320.66
5.5.240.0070.04320.31
5.4.450.0730.06319.63
5.4.440.0130.05019.59
5.4.430.1000.06719.75
5.4.420.0170.04719.21
5.4.410.0900.04719.30
5.4.400.0630.05319.30
5.4.390.0130.05019.30
5.4.380.0230.05718.66
5.4.370.0230.06018.76
5.4.360.0430.04318.55
5.4.350.0400.06018.75
5.4.340.0200.06018.57
5.4.320.0060.04412.50
5.4.310.0070.04612.50
5.4.300.0110.04312.50
5.4.290.0060.06812.50
5.4.280.0110.06012.39
5.4.270.0200.06512.39
5.4.260.0170.07812.39
5.4.250.0150.06612.39
5.4.240.0090.05612.39
5.4.230.0210.06612.38
5.4.220.0090.05712.39
5.4.210.0110.07812.38
5.4.200.0180.07812.38
5.4.190.0160.07912.38
5.4.180.0150.05712.38
5.4.170.0230.08812.38
5.4.160.0270.09312.38
5.4.150.0170.07212.38
5.4.140.0090.07812.07
5.4.130.0180.06212.05
5.4.120.0090.06812.01
5.4.110.0110.07012.01
5.4.100.0100.07812.01
5.4.90.0200.10512.01
5.4.80.0210.10712.01
5.4.70.0150.06512.00
5.4.60.0110.05712.01
5.4.50.0130.07812.00
5.4.40.0320.10812.00
5.4.30.0130.06711.99
5.4.20.0150.05711.99
5.4.10.0170.09111.99
5.4.00.0100.08011.48
5.3.290.0080.04512.80
5.3.280.0080.05912.71
5.3.270.0090.06212.73
5.3.260.0160.07312.71
5.3.250.0090.04212.72
5.3.240.0180.06912.72
5.3.230.0170.08112.70
5.3.220.0350.05912.68
5.3.210.0270.09512.68
5.3.200.0340.06912.68
5.3.190.0130.07112.68
5.3.180.0200.06012.67
5.3.170.0130.05412.67
5.3.160.0090.04212.67
5.3.150.0070.07412.67
5.3.140.0150.07812.66
5.3.130.0060.06312.66
5.3.120.0080.06012.65
5.3.110.0100.09012.66
5.3.100.0180.04812.13
5.3.90.0150.05612.11
5.3.80.0110.05312.11
5.3.70.0090.04812.10
5.3.60.0090.04812.09
5.3.50.0060.04012.04
5.3.40.0160.04512.04
5.3.30.0110.05111.99
5.3.20.0120.04011.77
5.3.10.0100.04711.75
5.3.00.0120.04811.73
5.2.170.0120.0619.18
5.2.160.0060.0379.18
5.2.150.0080.0439.18
5.2.140.0070.0559.18
5.2.130.0100.0389.14
5.2.120.0150.0519.14
5.2.110.0130.0599.14
5.2.100.0110.0409.14
5.2.90.0090.0429.14
5.2.80.0110.0539.14
5.2.70.0110.0589.13
5.2.60.0140.0509.09
5.2.50.0210.0619.05
5.2.40.0310.0749.03
5.2.30.0180.0619.02
5.2.20.0170.0509.00
5.2.10.0230.0688.93
5.2.00.0150.0448.79
5.1.60.0090.0608.06
5.1.50.0090.0438.07
5.1.40.0140.0668.05
5.1.30.0070.0728.39
5.1.20.0100.0508.42
5.1.10.0130.0428.14
5.1.00.0110.0548.14
5.0.50.0110.0516.63
5.0.40.0090.0316.48
5.0.30.0090.0536.29
5.0.20.0060.0476.27
5.0.10.0110.0426.24
5.0.00.0040.0496.23
4.4.90.0050.0264.78
4.4.80.0080.0234.75
4.4.70.0040.0244.76
4.4.60.0120.0274.75
4.4.50.0140.0324.77
4.4.40.0140.0614.71
4.4.30.0290.0504.76
4.4.20.0070.0224.84
4.4.10.0080.0414.84
4.4.00.0100.0464.76
4.3.110.0040.0274.67
4.3.100.0050.0384.66
4.3.90.0070.0374.64
4.3.80.0060.0424.58
4.3.70.0090.0354.63
4.3.60.0090.0374.63
4.3.50.0090.0364.62
4.3.40.0000.0554.54
4.3.30.0030.0233.28
4.3.20.0080.0383.26
4.3.10.0040.0403.22
4.3.00.0130.01010.54

preferences:
40.37 ms | 401 KiB | 5 Q