3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function () {}); //error_reporting(0); // Yeah, not the best solution class SomeClass {} function test(SomeClass $instance) { echo 'wtf: '.$instance; } // NOTE: E_RECOVERABLE_ERROR (4096) occurs here test(1); q(); test(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.0090.00618.68
8.3.50.0110.00921.10
8.3.40.0040.01118.84
8.3.30.0140.00019.22
8.3.20.0040.00420.25
8.3.10.0000.00823.70
8.3.00.0040.00419.23
8.2.180.0090.00916.38
8.2.170.0150.00022.96
8.2.160.0140.00020.52
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0030.00522.05
8.2.110.0030.00722.11
8.2.100.0060.00617.88
8.2.90.0030.00519.17
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0030.00519.82
8.2.30.0050.00318.07
8.2.20.0080.00017.74
8.2.10.0000.00718.05
8.2.00.0040.00417.74
8.1.280.0040.01225.92
8.1.270.0080.00023.88
8.1.260.0060.00326.35
8.1.250.0050.00228.09
8.1.240.0080.00023.86
8.1.230.0110.00020.79
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0000.01017.23
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0040.00818.50
8.1.160.0040.00421.93
8.1.150.0040.00418.82
8.1.140.0070.00017.36
8.1.130.0030.00317.74
8.1.120.0000.00717.39
8.1.110.0000.00717.34
8.1.100.0030.00317.30
8.1.90.0030.00417.39
8.1.80.0000.00717.34
8.1.70.0000.00717.41
8.1.60.0090.00017.42
8.1.50.0000.00817.38
8.1.40.0040.00417.36
8.1.30.0050.00317.54
8.1.20.0000.00717.46
8.1.10.0030.00517.39
8.1.00.0050.00217.41
8.0.300.0050.00218.77
8.0.290.0030.00516.75
8.0.280.0000.00818.29
8.0.270.0070.00017.18
8.0.260.0030.00317.11
8.0.250.0070.00016.92
8.0.240.0030.00316.95
8.0.230.0000.00716.87
8.0.220.0080.00016.78
8.0.210.0000.00816.89
8.0.200.0040.00416.95
8.0.190.0000.00817.00
8.0.180.0000.00816.98
8.0.170.0040.00416.89
8.0.160.0080.00017.02
8.0.150.0050.00316.89
8.0.140.0050.00316.78
8.0.130.0050.00013.33
8.0.120.0050.00216.90
8.0.110.0000.00717.00
8.0.100.0000.00716.81
8.0.90.0030.00316.75
8.0.80.0040.01216.95
8.0.70.0070.00017.06
8.0.60.0040.00416.82
8.0.50.0000.00816.93
8.0.30.0110.01217.08
8.0.20.0050.01317.40
8.0.10.0000.00717.03
8.0.00.0070.01316.73
7.4.330.0060.00015.02
7.4.320.0000.00616.53
7.4.300.0050.00316.45
7.4.290.0030.00316.41
7.4.280.0000.00816.55
7.4.270.0060.00016.43
7.4.260.0000.00716.46
7.4.250.0040.00416.48
7.4.240.0000.00716.50
7.4.230.0000.00816.31
7.4.220.0120.00616.33
7.4.210.0040.01616.33
7.4.200.0070.00016.32
7.4.160.0190.00016.36
7.4.150.0170.00717.40
7.4.140.0100.01017.86
7.4.130.0110.00616.52
7.4.120.0120.00416.45
7.4.110.0120.00616.57
7.4.100.0060.01216.62
7.4.90.0030.01416.73
7.4.80.0090.00919.39
7.4.70.0110.00716.55
7.4.60.0100.00616.36
7.4.50.0000.00816.40
7.4.40.0130.00716.58
7.4.30.0090.00616.66
7.4.00.0030.01215.11
7.3.330.0030.00313.15
7.3.320.0050.00013.24
7.3.310.0030.00316.27
7.3.300.0030.00316.34
7.3.290.0090.00816.27
7.3.280.0040.01116.31
7.3.270.0170.00717.40
7.3.260.0090.00916.50
7.3.250.0110.00516.43
7.3.240.0120.00716.30
7.3.230.0060.01016.39
7.3.210.0090.01216.39
7.3.200.0120.00619.39
7.3.190.0080.00816.43
7.3.180.0080.00816.37
7.3.170.0130.00616.46
7.3.160.0060.00916.27
7.3.10.0030.01216.66
7.3.00.0050.00716.70
7.2.330.0060.01116.57
7.2.320.0130.00716.57
7.2.310.0100.01016.66
7.2.300.0150.00616.68
7.2.290.0120.00916.66
7.2.130.0070.00916.95
7.2.120.0110.00416.87
7.2.110.0030.00816.78
7.2.100.0060.00616.62
7.2.90.0050.00916.91
7.2.80.0050.00916.54
7.2.70.0130.00516.92
7.2.60.0040.00916.71
7.2.50.0070.00716.86
7.2.40.0050.00916.94
7.2.30.0110.00616.83
7.2.20.0060.00916.71
7.2.10.0060.00616.79
7.2.00.0050.00917.63
7.1.250.0030.00715.52
7.1.240.0030.00915.64
7.1.230.0100.00315.76
7.1.220.0090.00615.73
7.1.210.0030.00615.59
7.1.200.0040.00815.55
7.1.190.0000.01515.74
7.1.180.0000.01415.64
7.1.170.0060.00315.74
7.1.160.0060.00915.75
7.1.150.0090.00615.65
7.1.140.0060.00615.79
7.1.130.0040.00715.66
7.1.120.0180.00315.41
7.1.110.0070.00715.84
7.1.100.0030.00915.53
7.1.90.0040.01115.82
7.1.80.0040.00815.48
7.1.70.0090.00316.45
7.1.60.0050.00616.36
7.1.50.0080.00816.27
7.1.40.0130.00015.32
7.1.30.0040.01215.69
7.1.20.0090.00615.76
7.1.10.0100.00315.46
7.1.00.0030.04319.17
7.0.330.0090.00015.01
7.0.320.0020.00515.30
7.0.310.0120.00315.25
7.0.300.0100.00314.90
7.0.290.0000.01115.36
7.0.280.0060.00915.27
7.0.270.0060.01215.26
7.0.260.0060.00615.45
7.0.250.0030.00615.28
7.0.240.0060.00615.27
7.0.230.0060.00615.29
7.0.220.0000.00915.40
7.0.210.0100.00315.38
7.0.200.0040.01015.87
7.0.190.0000.01115.29
7.0.180.0090.00415.31
7.0.170.0030.01015.07
7.0.160.0090.00315.29
7.0.150.0130.00315.49
7.0.140.0060.04118.48
7.0.130.0030.00814.97
7.0.120.0130.00015.38
7.0.110.0110.00315.48
7.0.100.0000.00714.91
7.0.90.0100.00715.04
7.0.80.0000.01315.28
7.0.70.0120.00315.30
7.0.60.0070.02117.56
7.0.50.0080.04816.72
7.0.40.0120.04016.82
7.0.30.0200.03716.81
7.0.20.0170.03216.69
7.0.10.0070.03316.80
7.0.00.0030.03616.59
5.6.380.0070.00714.34
5.6.370.0060.00314.39
5.6.360.0030.00613.76
5.6.350.0040.00414.40
5.6.340.0070.00714.19
5.6.330.0100.00714.18
5.6.320.0100.00314.48
5.6.310.0000.01514.29
5.6.300.0030.00614.41
5.6.290.0030.01014.13
5.6.280.0020.04317.43
5.6.270.0040.01114.14
5.6.260.0030.00614.13
5.6.250.0090.00314.33
5.6.240.0030.01014.14
5.6.230.0040.01114.11
5.6.220.0130.00014.35
5.6.210.0020.04717.44
5.6.200.0010.02516.46
5.6.190.0060.04317.41
5.6.180.0120.02717.32
5.6.170.0120.02417.29
5.6.160.0130.02317.54
5.6.150.0090.04716.21
5.6.140.0100.03916.30
5.6.130.0030.02516.21
5.6.120.0030.02717.69
5.6.110.0080.04817.54
5.6.100.0100.04317.69
5.6.90.0050.03917.66
5.6.80.0110.04317.25
5.6.70.2150.02017.31
5.6.60.0110.01114.26
5.6.50.0100.00314.13
5.6.40.0100.00313.94
5.6.30.0140.00314.23
5.6.20.0060.00614.17
5.6.10.0100.01014.09
5.6.00.0110.00714.18
5.5.380.0000.00610.84
5.5.370.0000.00611.14
5.5.360.0000.01011.26
5.5.350.0100.04215.72
5.5.340.0090.02214.39
5.5.330.0020.02615.57
5.5.320.0170.03615.63
5.5.310.0150.03315.68
5.5.300.0050.04214.56
5.5.290.0040.02214.67
5.5.280.0030.05015.92
5.5.270.0050.02615.83
5.5.260.0160.03515.92
5.5.250.0080.04015.82
5.5.240.0100.04415.54
5.5.230.0030.00610.95
5.5.220.0060.00310.88
5.5.210.0040.00410.94
5.5.200.0060.00311.11
5.5.190.0040.00811.00
5.5.180.0090.00610.85
5.5.170.0040.00711.17
5.5.160.0000.00810.66
5.5.150.0060.00611.26
5.5.140.0030.00511.10
5.5.130.0030.00710.97
5.5.120.0060.00610.90
5.5.110.0000.01111.27
5.5.100.0060.00010.73
5.5.90.0060.00010.54
5.5.80.0060.00610.48
5.5.70.0060.00610.86
5.5.60.0100.00311.06
5.5.50.0030.00910.92
5.5.40.0070.00311.16
5.5.30.0000.01110.96
5.5.20.0060.00011.16
5.5.10.0040.00710.73
5.5.00.0030.00610.85
5.4.450.0090.03215.16
5.4.440.0090.03115.05
5.4.430.0090.03015.17
5.4.420.0430.00015.29
5.4.410.0340.00215.12
5.4.400.0370.00215.05
5.4.390.0320.00514.79
5.4.380.0350.00515.04
5.4.370.0360.00114.99
5.4.360.0430.00314.94
5.4.350.0390.00215.05
5.4.340.0040.02011.42
5.4.330.0000.00610.74
5.4.320.0040.02011.56
5.4.310.0040.02411.79
5.4.300.0030.02011.52
5.4.290.0040.02111.71
5.4.280.0050.02211.59
5.4.270.0060.02111.64
5.4.260.0080.02111.49
5.4.250.0070.02111.66
5.4.240.0080.02211.60
5.4.230.0040.02211.59
5.4.220.0060.01911.54
5.4.210.0030.02211.71
5.4.200.0070.01711.65
5.4.190.0040.02111.45
5.4.180.0070.02311.67
5.4.170.0070.01911.46
5.4.160.0020.02211.67
5.4.150.0040.02311.62
5.4.140.0070.02011.43
5.4.130.0040.02011.50
5.4.120.0060.01911.51
5.4.110.0070.01911.41
5.4.100.0050.02111.25
5.4.90.0040.02311.26
5.4.80.0050.02211.54
5.4.70.0170.01611.49
5.4.60.0060.02211.56
5.4.50.0130.01811.49
5.4.40.0020.02311.28
5.4.30.0060.01911.47
5.4.20.0050.01811.31
5.4.10.0080.02011.40
5.4.00.0060.02210.91
5.3.290.0060.02311.74
5.3.280.0040.02311.55
5.3.270.0090.01911.70
5.3.260.0050.02611.61
5.3.250.0050.02411.62
5.3.240.0050.02211.56
5.3.230.0050.02311.56
5.3.220.0090.02111.55
5.3.210.0080.02011.46
5.3.200.0070.02111.40
5.3.190.0040.02511.61
5.3.180.0100.02211.56
5.3.170.0050.02311.67
5.3.160.0080.01911.66
5.3.150.0060.02111.64
5.3.140.0080.01711.61
5.3.130.0030.02511.61
5.3.120.0060.02111.66
5.3.110.0070.02211.60
5.3.100.0060.01911.35
5.3.90.0060.02111.38
5.3.80.0080.01811.14
5.3.70.0040.02511.35
5.3.60.0050.02211.31
5.3.50.0060.02011.30
5.3.40.0080.01911.15
5.3.30.0070.02111.17
5.3.20.0100.01711.14
5.3.10.0060.01910.95
5.3.00.0050.02110.93
5.2.170.0030.0209.54
5.2.160.0050.0179.54
5.2.150.0070.0179.54
5.2.140.0080.0189.54
5.2.130.0080.0149.52
5.2.120.0040.0189.52
5.2.110.0070.0199.52
5.2.100.0050.0219.52
5.2.90.0060.0169.52
5.2.80.0020.0209.52
5.2.70.0050.0169.52
5.2.60.0040.0179.49
5.2.50.0030.0219.48
5.2.40.0040.0189.46
5.2.30.0050.0229.46
5.2.20.0060.0189.45
5.2.10.0040.0189.41
5.2.00.0050.0179.34
5.1.60.0030.0158.98
5.1.50.0020.0168.98
5.1.40.0060.0128.97
5.1.30.0020.0179.15
5.1.20.0080.0159.16
5.1.10.0110.0159.02
5.1.00.0090.0129.02
5.0.50.0060.0108.26
5.0.40.0060.0098.19
5.0.30.0040.0168.10
5.0.20.0020.0128.08
5.0.10.0050.0108.07
5.0.00.0050.0148.06
4.4.90.0050.0097.34
4.4.80.0040.0077.33
4.4.70.0030.0097.33
4.4.60.0030.0087.33
4.4.50.0020.0097.34
4.4.40.0040.0127.30
4.4.30.0020.0127.33
4.4.20.0100.0087.37
4.4.10.0010.0127.37
4.4.00.0040.0147.33
4.3.110.0010.0117.28
4.3.100.0030.0097.28
4.3.90.0030.0097.27
4.3.80.0040.0137.24
4.3.70.0030.0117.26
4.3.60.0030.0097.26
4.3.50.0030.0097.26
4.3.40.0050.0137.22
4.3.30.0020.0106.59
4.3.20.0040.0096.58
4.3.10.0010.0116.56
4.3.00.0040.0108.45

preferences:
29.01 ms | 401 KiB | 5 Q