3v4l.org

run code in 300+ PHP versions simultaneously
<?php $convert_error_to_exception = function ($level, $message, $file, $line, $context=null){ throw new ErrorException($message, 0, $level, $file, $line); }; set_error_handler($convert_error_to_exception); class boop { } $boop = new boop(); $boop->biip();

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.0100.01018.43
8.3.50.0040.01118.08
8.3.40.0040.01118.84
8.3.30.0090.00618.79
8.3.20.0040.00419.07
8.3.10.0040.00421.89
8.3.00.0040.00420.79
8.2.180.0150.00318.54
8.2.170.0040.01122.96
8.2.160.0100.01020.34
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0000.00726.16
8.2.120.0050.00319.87
8.2.110.0060.00319.04
8.2.100.0040.00817.84
8.2.90.0000.01217.75
8.2.80.0030.00617.97
8.2.70.0050.00317.80
8.2.60.0000.00718.03
8.2.50.0060.00318.10
8.2.40.0040.00419.52
8.2.30.0050.00219.24
8.2.20.0070.00418.04
8.2.10.0000.00818.05
8.2.00.0000.00817.76
8.1.280.0070.01425.92
8.1.270.0000.00820.64
8.1.260.0090.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00022.46
8.1.230.0040.00822.14
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0050.00318.68
8.1.160.0080.00018.80
8.1.150.0020.00518.90
8.1.140.0040.00422.03
8.1.130.0040.00422.05
8.1.120.0000.00717.48
8.1.110.0030.00317.49
8.1.100.0000.00817.35
8.1.90.0000.00817.46
8.1.80.0000.00717.44
8.1.70.0050.00317.46
8.1.60.0060.00317.58
8.1.50.0000.00817.55
8.1.40.0040.00417.57
8.1.30.0080.00017.57
8.1.20.0040.00417.64
8.1.10.0000.00717.51
8.1.00.0040.00417.48
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0000.00718.36
8.0.270.0030.00317.10
8.0.260.0070.00018.29
8.0.250.0030.00316.85
8.0.240.0040.00416.83
8.0.230.0070.00016.86
8.0.220.0040.00416.84
8.0.210.0000.00716.95
8.0.200.0030.00316.90
8.0.190.0030.00516.93
8.0.180.0050.00317.00
8.0.170.0040.00416.95
8.0.160.0020.00517.07
8.0.150.0030.00616.80
8.0.140.0000.00816.92
8.0.130.0000.00513.39
8.0.120.0040.00416.82
8.0.110.0080.00016.84
8.0.100.0060.00316.83
8.0.90.0040.00416.98
8.0.80.0130.00516.92
8.0.70.0040.00416.72
8.0.60.0020.00516.91
8.0.50.0070.00016.98
8.0.30.0100.00716.96
8.0.20.0170.00517.40
8.0.10.0070.00016.85
8.0.00.0050.01416.81
7.4.330.0030.00315.55
7.4.320.0000.00616.51
7.4.300.0080.00016.51
7.4.290.0000.00716.61
7.4.280.0000.00916.60
7.4.270.0030.00316.53
7.4.260.0000.00816.43
7.4.250.0000.00716.46
7.4.240.0040.00416.59
7.4.230.0040.00416.62
7.4.220.0000.00916.43
7.4.210.0100.00816.58
7.4.200.0040.00416.52
7.4.160.0100.00816.58
7.4.140.0100.00917.86
7.4.130.0070.01016.51
7.4.120.0100.00716.53
7.4.110.0120.01216.51
7.4.100.0080.00816.58
7.4.90.0130.01016.67
7.4.80.0120.00319.39
7.4.70.0090.00916.60
7.4.60.0070.01016.66
7.4.50.0100.00716.33
7.4.40.0130.01016.41
7.4.00.0000.01615.05
7.3.330.0000.00513.26
7.3.320.0000.00613.27
7.3.310.0000.00816.32
7.3.300.0000.00716.31
7.3.290.0030.00316.25
7.3.280.0130.00516.31
7.3.260.0090.00816.47
7.3.240.0110.00716.40
7.3.230.0080.00816.51
7.3.210.0060.00916.38
7.3.200.0090.00816.41
7.3.190.0090.00916.33
7.3.180.0030.01616.46
7.3.170.0030.01816.42
7.3.160.0080.00816.23
7.2.330.0120.00616.59
7.2.320.0100.00716.73
7.2.310.0060.01116.78
7.2.300.0130.00416.53
7.2.290.0090.00916.69
7.2.110.0190.01014.75
7.2.100.0590.00614.79
7.2.90.0180.00414.61
7.2.80.0210.01214.80
7.2.70.0160.00614.98
7.2.60.0210.00915.25
7.2.50.0090.01215.02
7.2.40.0150.00615.07
7.2.30.0210.00315.14
7.2.20.0100.01015.06
7.2.10.0210.00314.92
7.2.00.0340.00015.02
7.1.230.0200.00713.43
7.1.220.0170.00313.50
7.1.210.0220.01013.71
7.1.200.0250.00613.83
7.1.190.0150.00314.06
7.1.180.0270.00313.60
7.1.170.0120.00613.81
7.1.160.0130.00713.94
7.1.150.0130.00913.78
7.1.140.0160.01313.48
7.1.130.0230.00013.75
7.1.120.0190.00313.95
7.1.110.0140.01113.80
7.1.100.0190.00713.52
7.1.90.0240.00013.50
7.1.80.1050.01613.67
7.1.70.0220.00013.66
7.1.60.0310.01231.82
7.1.50.0370.00331.48
7.1.40.0320.01631.86
7.1.30.0300.01531.92
7.1.20.0460.01031.89
7.1.10.0160.00613.81
7.1.00.0250.00713.65
5.6.380.0110.00714.21

preferences:
49.21 ms | 401 KiB | 5 Q