3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function($ErrLevel, $ErrMessage) { if ($ErrLevel == E_RECOVERABLE_ERROR) // order this according to what your app uses most return strpos($ErrMessage, 'must be an instance of string, string') || strpos($ErrMessage, 'must be an instance of integer, integer') || strpos($ErrMessage, 'must be an instance of float, double') || strpos($ErrMessage, 'must be an instance of boolean, boolean') || strpos($ErrMessage, 'must be an instance of resource, resource'); }); function miauw(string $string) { echo 'de catchable error wordt onderdrukt wanneer $string een string is'; } miauw(2);

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.0110.00718.06
8.3.50.0120.00821.14
8.3.40.0210.00018.80
8.3.30.0090.00620.37
8.3.20.0040.00420.16
8.3.10.0050.00322.05
8.3.00.0040.00422.45
8.2.180.0060.01216.63
8.2.170.0030.01022.96
8.2.160.0070.00722.09
8.2.150.0080.00024.18
8.2.140.0030.00724.66
8.2.130.0070.00026.16
8.2.120.0000.00720.62
8.2.110.0030.00722.11
8.2.100.0090.00317.66
8.2.90.0000.00719.22
8.2.80.0000.00719.45
8.2.70.0040.00417.38
8.2.60.0050.00317.93
8.2.50.0030.00618.07
8.2.40.0050.00519.88
8.2.30.0030.00619.41
8.2.20.0030.00517.61
8.2.10.0050.00317.56
8.2.00.0060.00317.70
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0070.00323.83
8.1.230.0030.00919.16
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0030.00617.28
8.1.180.0060.00318.10
8.1.170.0040.00418.56
8.1.160.0000.00718.84
8.1.150.0000.00818.59
8.1.140.0000.00817.38
8.1.130.0030.00317.77
8.1.120.0040.00417.48
8.1.110.0040.00417.36
8.1.100.0030.00317.40
8.1.90.0080.00017.41
8.1.80.0000.00717.38
8.1.70.0000.00717.38
8.1.60.0060.00317.42
8.1.50.0070.00017.37
8.1.40.0040.00417.47
8.1.30.0080.00017.47
8.1.20.0040.00417.50
8.1.10.0000.00817.41
8.1.00.0000.00817.47
8.0.300.0040.00418.77
8.0.290.0040.00417.04
8.0.280.0070.00018.52
8.0.270.0030.00317.25
8.0.260.0000.00716.82
8.0.250.0000.00716.93
8.0.240.0040.00716.89
8.0.230.0000.00716.99
8.0.220.0070.00016.93
8.0.210.0000.00816.89
8.0.200.0040.00416.95
8.0.190.0040.00416.92
8.0.180.0030.00317.01
8.0.170.0090.00017.04
8.0.160.0030.00416.95
8.0.150.0000.00917.02
8.0.140.0000.00716.93
8.0.130.0030.00313.38
8.0.120.0000.00816.81
8.0.110.0040.00416.89
8.0.100.0050.00317.03
8.0.90.0040.00416.88
8.0.80.0090.01016.96
8.0.70.0040.00416.94
8.0.60.0000.00817.04
8.0.50.0050.00316.93
8.0.30.0110.00817.18
8.0.20.0100.00817.40
8.0.10.0070.00016.95
8.0.00.0160.00516.82
7.4.330.0060.00015.00
7.4.320.0000.00616.60
7.4.300.0030.00316.35
7.4.290.0000.00716.47
7.4.280.0080.00016.53
7.4.270.0030.00316.42
7.4.260.0030.00413.22
7.4.250.0040.00416.51
7.4.240.0050.00316.50
7.4.230.0070.00016.44
7.4.220.0140.01216.45
7.4.210.0070.00716.56
7.4.200.0030.00316.31
7.4.190.0000.00716.64
7.4.160.0090.00616.47
7.4.150.0170.00017.40
7.4.140.0100.00817.86
7.4.130.0070.01216.48
7.4.120.0090.00816.40
7.4.110.0090.01516.45
7.4.100.0160.00716.30
7.4.90.0120.01216.32
7.4.80.0100.01319.39
7.4.70.0110.00716.40
7.4.60.0080.00816.39
7.4.50.0050.00316.62
7.4.40.0060.00922.77
7.4.30.0130.00316.59
7.4.00.0030.01415.07
7.3.330.0030.00313.25
7.3.320.0060.00013.01
7.3.310.0030.00316.25
7.3.300.0030.00316.26
7.3.290.0070.00716.23
7.3.280.0120.00416.28
7.3.270.0100.01017.40
7.3.260.0090.00916.48
7.3.250.0110.00816.44
7.3.240.0080.00816.51
7.3.230.0030.01316.39
7.3.210.0100.01016.38
7.3.200.0120.00619.39
7.3.190.0120.00916.14
7.3.180.0050.01416.19
7.3.170.0110.00416.52
7.3.160.0040.01516.50
7.3.120.0100.01014.74
7.3.110.0070.01114.53
7.3.100.0070.00714.81
7.3.90.0100.00014.77
7.3.80.0100.00714.64
7.3.70.0030.00714.92
7.3.60.0000.01514.90
7.3.50.0040.01114.49
7.3.40.0030.01014.81
7.3.30.0030.01114.85
7.3.20.0030.01416.36
7.3.10.0070.00616.38
7.3.00.0060.01216.33
7.2.330.0100.00716.65
7.2.320.0120.00616.29
7.2.310.0050.01016.52
7.2.300.0030.01316.77
7.2.290.0100.00716.63
7.2.240.0120.00614.78
7.2.230.0070.01114.96
7.2.220.0030.00615.26
7.2.210.0140.00414.65
7.2.200.0060.00615.02
7.2.190.0040.01115.05
7.2.180.0000.01014.80
7.2.170.0130.00315.11
7.2.160.0090.00914.91
7.2.150.0120.00316.68
7.2.140.0040.01116.79
7.2.130.0140.01016.75
7.2.120.0090.00816.65
7.2.110.0110.00916.69
7.2.100.0130.01016.47
7.2.90.0090.01216.48
7.2.80.0100.01016.68
7.2.70.0110.00716.49
7.2.60.0070.00816.64
7.2.50.0050.01016.62
7.2.40.0090.00516.43
7.2.30.0070.01116.50
7.2.20.0150.00416.72
7.2.10.0050.01416.35
7.2.00.0070.01117.60
7.1.330.0090.00615.75
7.1.320.0080.00415.80
7.1.310.0000.01315.80
7.1.300.0100.00015.73
7.1.290.0060.00615.46
7.1.280.0070.00315.46
7.1.270.0100.00315.53
7.1.260.0080.00815.59
7.1.250.0070.01215.26
7.1.200.0000.01215.70
7.1.100.0090.00617.73
7.1.70.0000.00816.96
7.1.60.0090.01619.32
7.1.50.0000.02116.90
7.1.00.0000.04022.24
7.0.200.0040.00416.46
7.0.140.0030.07722.08
7.0.100.0030.06319.95
7.0.90.0030.04319.86
7.0.80.0030.04019.98
7.0.70.0030.05319.95
7.0.60.0000.04320.05
7.0.50.0070.04020.24
7.0.40.0070.04020.00
7.0.30.0030.04320.03
7.0.20.0030.04320.16
7.0.10.0070.04020.14
7.0.00.0030.04320.13
5.6.250.0030.06720.76
5.6.240.0100.06020.69
5.6.230.0070.04320.63
5.6.220.0000.04020.53
5.6.210.0070.05320.68
5.6.200.0100.06020.94
5.6.190.0000.06721.10
5.6.180.0100.05321.03
5.6.170.0070.04020.97
5.6.160.0030.04320.95
5.6.150.0030.04320.95
5.6.140.0070.05021.02
5.6.130.0100.05321.14
5.6.120.0000.04721.05
5.6.110.0100.04321.04
5.6.100.0100.03720.93
5.6.90.0070.05321.16
5.6.80.0070.03720.41
5.6.70.0100.04320.45
5.6.60.0030.04720.49
5.6.50.0100.03020.31
5.6.40.0000.08720.40
5.6.30.0030.05720.47
5.6.20.0130.04720.46
5.6.10.0000.08720.43
5.6.00.0030.08020.33
5.5.380.0030.07020.36
5.5.370.0130.03320.36
5.5.360.0030.05020.40
5.5.350.0030.04320.42
5.5.340.0100.05320.92
5.5.330.0030.04320.85
5.5.320.0100.03720.72
5.5.310.0070.04320.74
5.5.300.0130.03720.78
5.5.290.0030.04720.89
5.5.280.0070.04020.78
5.5.270.0030.04020.64
5.5.260.0000.04720.87
5.5.250.0070.03720.72
5.5.240.0030.04020.04
5.5.230.0130.03320.26
5.5.220.0070.04020.18
5.5.210.0030.04020.27
5.5.200.0070.03720.20
5.5.190.0100.07720.25
5.5.180.0070.07720.22
5.5.160.0030.06720.11
5.5.150.0030.08020.11
5.5.140.0130.07719.98
5.5.130.0070.04720.28
5.5.120.0130.07720.27
5.5.110.0030.08020.16
5.5.100.0030.08020.11
5.5.90.0130.07320.10
5.5.80.0030.08020.10
5.5.70.0130.07020.07
5.5.60.0270.05720.06
5.5.50.0170.07020.16
5.5.40.0070.08019.95
5.5.30.0030.05720.15
5.5.20.0100.07720.05
5.5.10.0070.08020.01
5.5.00.0100.07320.05
5.4.450.0100.03019.38
5.4.440.0030.04019.42
5.4.430.0030.04019.45
5.4.420.0070.04019.41
5.4.410.0070.04719.42
5.4.400.0070.03719.09
5.4.390.0030.05018.95
5.4.380.0070.03019.13
5.4.370.0100.04719.15
5.4.360.0070.03719.04
5.4.350.0100.07718.85
5.4.340.0100.08019.21
5.4.320.0100.06718.91
5.4.310.0070.07719.03
5.4.300.0100.06019.24
5.4.290.0130.07019.03
5.4.280.0130.07019.02
5.4.270.0000.04719.25
5.4.260.0170.06718.84
5.4.250.0030.07018.93
5.4.240.0100.06319.18
5.4.230.0130.06318.87
5.4.220.0070.06019.03
5.4.210.0070.08319.12
5.4.200.0130.06719.20
5.4.190.0030.06319.21
5.4.180.0030.06319.14
5.4.170.0130.06719.17
5.4.160.0170.07318.83
5.4.150.0130.07719.02
5.4.140.0100.06316.47
5.4.130.0070.04716.37
5.4.120.0130.06316.45
5.4.110.0030.07016.56
5.4.100.0000.05316.44
5.4.90.0030.04316.52
5.4.80.0100.06716.52
5.4.70.0070.05716.52
5.4.60.0130.06716.41
5.4.50.0070.07316.34
5.4.40.0130.06316.45
5.4.30.0170.07716.30
5.4.20.0000.06016.47
5.4.10.0070.07716.23
5.4.00.0030.07315.86
5.3.290.0000.08014.73
5.3.280.0130.07314.70
5.3.270.0070.06314.58
5.3.260.0100.06714.53
5.3.250.0100.05314.61
5.3.240.0000.08014.53
5.3.230.0130.05714.61
5.3.220.0070.04714.57
5.3.210.0070.08014.54
5.3.200.0100.06714.52
5.3.190.0070.07014.70
5.3.180.0170.07714.56
5.3.170.0030.07714.68
5.3.160.0030.06314.55
5.3.150.0100.07714.55
5.3.140.0100.07314.56
5.3.130.0100.07314.52
5.3.120.0100.07314.62
5.3.110.0070.04314.51
5.3.100.0100.07714.09
5.3.90.0130.06714.04
5.3.80.0030.04713.91
5.3.70.0100.06314.00
5.3.60.0070.07314.04
5.3.50.0130.04014.00
5.3.40.0030.07713.84
5.3.30.0100.07013.92
5.3.20.0070.05013.75
5.3.10.0030.07713.55
5.3.00.0030.06313.62
5.2.170.0030.06311.16
5.2.160.0100.06011.06
5.2.150.0030.06011.14
5.2.140.0070.06010.93
5.2.130.0000.03310.93
5.2.120.0100.05311.09
5.2.110.0100.05711.09
5.2.100.0030.06311.08
5.2.90.0100.06010.93
5.2.80.0200.04311.09
5.2.70.0000.06711.09
5.2.60.0030.06310.99
5.2.50.0070.04010.85
5.2.40.0070.06010.97
5.2.30.0030.06310.76
5.2.20.0200.04310.94
5.2.10.0030.04710.91
5.2.00.0030.06010.57
5.1.60.0100.05010.07
5.1.50.0030.0279.82
5.1.40.0070.05010.01
5.1.30.0070.04010.39
5.1.20.0030.03710.28
5.1.10.0000.05310.05
5.1.00.0030.05710.08
5.0.50.0070.0408.53
5.0.40.0000.0438.36
5.0.30.0030.0608.23
5.0.20.0030.0238.27
5.0.10.0000.0508.23
5.0.00.0030.0338.23
4.4.90.0000.0378.23
4.4.80.0030.0338.23
4.4.70.0030.0338.23
4.4.60.0030.0338.23
4.4.50.0030.0178.23
4.4.40.0000.0338.23
4.4.30.0000.0278.23
4.4.20.0030.0178.23
4.4.10.0000.0308.23
4.4.00.0070.0508.23
4.3.110.0070.0238.23
4.3.100.0030.0238.23
4.3.90.0030.0338.23
4.3.80.0070.0508.23
4.3.70.0000.0378.23
4.3.60.0070.0308.23
4.3.50.0000.0278.23
4.3.40.0070.0438.23
4.3.30.0000.0238.23
4.3.20.0070.0238.23
4.3.10.0030.0208.23
4.3.00.0000.0178.23

preferences:
55.41 ms | 401 KiB | 5 Q