3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Create a handler function function my_assert_handler($file, $line, $code) { echo "<hr>Assertion Failed: File '$file'<br /> Line '$line'<br /> Code '$code'<br /><hr />"; // exit; } // Set up the callback assert_options(ASSERT_CALLBACK, 'my_assert_handler'); // Make an assertion that should fail assert('false');

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.70.0180.00018.30
8.3.60.0180.00416.75
8.3.50.0130.00322.89
8.3.40.0130.00318.77
8.3.30.0110.00318.96
8.3.20.0040.00420.30
8.3.10.0040.00423.53
8.3.00.0080.00019.25
8.2.180.0200.00716.32
8.2.170.0100.00722.96
8.2.160.0090.00620.53
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0030.00626.16
8.2.120.0040.00420.96
8.2.110.0090.00020.36
8.2.100.0030.00718.03
8.2.90.0040.00419.11
8.2.80.0080.00017.97
8.2.70.0030.00617.50
8.2.60.0040.00417.68
8.2.50.0030.00618.07
8.2.40.0040.00419.69
8.2.30.0040.00418.00
8.2.20.0030.00617.68
8.2.10.0000.00717.80
8.2.00.0060.00317.49
8.1.280.0160.00425.92
8.1.270.0030.00523.80
8.1.260.0050.00226.35
8.1.250.0060.00328.09
8.1.240.0060.00320.81
8.1.230.0070.00417.70
8.1.220.0050.00317.74
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0040.00416.85
8.1.180.0050.00318.10
8.1.170.0000.00818.52
8.1.160.0040.00422.03
8.1.150.0050.00218.81
8.1.140.0040.00417.26
8.1.130.0000.00617.77
8.1.120.0020.00517.31
8.1.110.0000.00717.32
8.1.100.0030.00417.29
8.1.90.0080.00017.23
8.1.80.0000.00717.40
8.1.70.0030.00317.28
8.1.60.0040.00417.51
8.1.50.0030.00617.36
8.1.40.0050.00217.41
8.1.30.0040.00417.62
8.1.20.0000.00817.51
8.1.10.0000.00717.27
8.1.00.0000.00817.35
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00618.27
8.0.270.0030.00317.07
8.0.260.0000.00617.14
8.0.250.0030.00316.84
8.0.240.0070.00016.88
8.0.230.0070.00016.86
8.0.220.0030.00316.82
8.0.210.0000.00716.80
8.0.200.0030.00316.77
8.0.190.0080.00016.88
8.0.180.0030.00316.75
8.0.170.0030.00616.85
8.0.160.0070.00016.81
8.0.150.0070.00016.81
8.0.140.0070.00016.81
8.0.130.0040.00413.25
8.0.120.0000.00816.73
8.0.110.0040.00416.66
8.0.100.0060.00316.78
8.0.90.0070.00016.65
8.0.80.0070.01016.80
8.0.70.0000.00716.82
8.0.60.0000.00816.83
8.0.50.0080.00016.89
8.0.30.0110.00817.11
8.0.20.0070.01117.40
8.0.10.0070.00016.93
8.0.00.0100.00816.74
7.4.330.0070.00015.00
7.4.320.0000.00616.48
7.4.300.0070.00016.39
7.4.290.0000.00716.30
7.4.280.0040.00416.48
7.4.270.0070.00016.38
7.4.260.0020.00516.41
7.4.250.0040.00416.34
7.4.240.0000.00816.47
7.4.230.0030.00316.23
7.4.220.0060.01316.43
7.4.210.0090.00616.45
7.4.200.0000.00816.55
7.4.160.0100.00816.30
7.4.150.0070.01117.40
7.4.140.0080.01817.86
7.4.130.0090.01416.36
7.4.120.0080.01316.51
7.4.110.0100.00716.36
7.4.100.0130.00316.26
7.4.90.0150.00316.48
7.4.80.0100.00719.39
7.4.70.0030.01316.46
7.4.60.0100.00516.41
7.4.50.0000.00816.38
7.4.40.0100.01016.48
7.4.30.0210.00016.51
7.4.00.0040.01415.14
7.3.330.0000.00613.34
7.3.320.0030.00313.21
7.3.310.0040.00416.36
7.3.300.0030.00316.17
7.3.290.0090.01216.29
7.3.280.0100.00616.38
7.3.270.0070.01017.40
7.3.260.0090.00916.36
7.3.250.0090.00916.46
7.3.240.0060.01216.36
7.3.230.0120.00416.55
7.3.210.0120.00616.43
7.3.200.0110.00619.39
7.3.190.0160.00616.39
7.3.180.0080.00816.61
7.3.170.0060.00916.34
7.3.160.0070.01016.38
7.3.10.0070.00716.64
7.3.00.0060.00616.64
7.2.330.0080.00816.73
7.2.320.0130.01016.66
7.2.310.0110.00716.68
7.2.300.0120.00616.39
7.2.290.0050.01116.66
7.2.130.0030.00716.95
7.2.120.0060.00316.53
7.2.110.0160.00516.49
7.2.100.0000.00916.57
7.2.90.0000.01616.50
7.2.80.0000.01416.43
7.2.70.0100.00716.63
7.2.60.0080.00516.71
7.2.50.0030.00617.03
7.2.40.0090.00316.85
7.2.30.0120.00616.92
7.2.20.0090.00616.65
7.2.10.0030.01316.89
7.2.00.0040.00517.81
7.1.250.0040.00815.43
7.1.200.0070.00715.45
7.1.100.0030.00717.99
7.1.70.0050.00217.21
7.1.60.0150.00919.46
7.1.50.0030.01016.84
7.1.00.0000.08022.30
7.0.200.0040.00416.82
7.0.140.0030.07322.01
7.0.60.0070.08319.93
7.0.50.0070.04017.92
7.0.40.0130.06020.10
7.0.30.0430.06720.30
7.0.20.0300.08020.08
7.0.10.0170.05720.10
7.0.00.0070.09020.09
5.6.280.0170.06021.12
5.6.210.0030.08320.46
5.6.200.0070.08718.18
5.6.190.0000.04320.34
5.6.180.0270.08320.63
5.6.170.0170.04320.44
5.6.160.0070.04720.54
5.6.150.0100.07018.23
5.6.140.0030.07018.19
5.6.130.0070.07718.21
5.6.120.0100.08021.09
5.6.110.0170.07321.05
5.6.100.0030.05721.04
5.6.90.0070.06721.01
5.6.80.0070.08020.40
5.6.70.2500.03020.35
5.5.350.0100.08720.38
5.5.340.0100.07717.98
5.5.330.0070.03720.21
5.5.320.0370.07320.29
5.5.310.0330.08020.34
5.5.300.0070.08018.08
5.5.290.0100.03717.95
5.5.280.0100.07720.90
5.5.270.0030.04320.73
5.5.260.0130.07720.89
5.5.250.0200.06720.68
5.5.240.4130.04020.26
5.4.450.0100.05019.55
5.4.440.0200.04019.32
5.4.430.0230.04019.45
5.4.420.0170.04319.34
5.4.410.0070.04719.33
5.4.400.0200.03019.07
5.4.390.0130.04019.11
5.4.380.0330.05318.63
5.4.370.0300.05718.75
5.4.360.0370.05318.55
5.4.350.0330.05718.72
5.4.340.0330.05018.46
5.4.320.0100.04012.50
5.4.310.0050.04112.50
5.4.300.0070.03912.51
5.4.290.0070.03612.50
5.4.280.0070.03712.40
5.4.270.0050.03612.39
5.4.260.0070.03612.39
5.4.250.0040.04312.40
5.4.240.0050.03612.40
5.4.230.0070.03612.39
5.4.220.0050.03612.39
5.4.210.0060.03512.39
5.4.200.0050.03812.39
5.4.190.0050.03612.38
5.4.180.0070.03512.39
5.4.170.0030.03912.39
5.4.160.0050.03812.39
5.4.150.0040.03812.38
5.4.140.0060.03612.07
5.4.130.0070.03812.06
5.4.120.0030.04612.02
5.4.110.0070.04012.02
5.4.100.0060.03312.01
5.4.90.0080.04312.01
5.4.80.0080.03712.01
5.4.70.0060.03512.01
5.4.60.0020.03712.01
5.4.50.0040.04112.01
5.4.40.0070.03912.00
5.4.30.0020.03912.00
5.4.20.0050.03612.00
5.4.10.0070.04112.00
5.4.00.0050.04011.48
5.3.290.0040.04612.80
5.3.280.0050.03812.71
5.3.270.0060.03912.73
5.3.260.0060.03912.72
5.3.250.0060.03712.71
5.3.240.0070.03512.72
5.3.230.0080.03912.71
5.3.220.0060.03612.68
5.3.210.0080.04412.68
5.3.200.0070.04512.68
5.3.190.0080.04112.68
5.3.180.0050.04312.67
5.3.170.0050.03712.67
5.3.160.0050.04112.67
5.3.150.0050.03912.68
5.3.140.0040.03812.66
5.3.130.0060.04312.66
5.3.120.0080.03912.66
5.3.110.0130.03712.66
5.3.100.0040.04112.12
5.3.90.0060.03412.10
5.3.80.0060.04212.09
5.3.70.0040.03712.10
5.3.60.0040.03712.08
5.3.50.0080.03612.03
5.3.40.0080.03312.02
5.3.30.0040.04011.98
5.3.20.0050.03511.76
5.3.10.0070.03211.73
5.3.00.0120.03311.72
5.2.170.0030.0319.22
5.2.160.0020.0319.22
5.2.150.0050.0299.21
5.2.140.0070.0279.21
5.2.130.0040.0309.18
5.2.120.0060.0299.18
5.2.110.0020.0399.18
5.2.100.0030.0309.18
5.2.90.0020.0319.18
5.2.80.0070.0319.17
5.2.70.0030.0389.16
5.2.60.0070.0289.13
5.2.50.0050.0419.10
5.2.40.0060.0279.08
5.2.30.0050.0309.04
5.2.20.0020.0329.04
5.2.10.0060.0328.95
5.2.00.0030.0328.82
5.1.60.0080.0198.10
5.1.50.0060.0258.10
5.1.40.0060.0288.07
5.1.30.0030.0318.42
5.1.20.0060.0318.45
5.1.10.0040.0298.18
5.1.00.0020.0298.18
5.0.50.0050.0236.65
5.0.40.0040.0186.51
5.0.30.0030.0326.32
5.0.20.0040.0186.29
5.0.10.0050.0176.27
5.0.00.0030.0306.26
4.4.90.0030.0164.78
4.4.80.0080.0104.76
4.4.70.0030.0154.75
4.4.60.0010.0184.75
4.4.50.0030.0144.77
4.4.40.0010.0264.71
4.4.30.0030.0154.76
4.4.20.0020.0174.84
4.4.10.0030.0154.85
4.4.00.0040.0234.76
4.3.110.0020.0164.67
4.3.100.0020.0164.66
4.3.90.0040.0144.63
4.3.80.0050.0254.58
4.3.70.0040.0134.63
4.3.60.0020.0144.63
4.3.50.0040.0164.63
4.3.40.0020.0244.54
4.3.30.0020.0233.31
4.3.20.0030.0183.29
4.3.10.0020.0153.25
4.3.00.0000.01714.87

preferences:
43.92 ms | 401 KiB | 5 Q