3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); error_reporting(-1); class Crasse { public $xuplau = "xupleto"; } $bejeto = new Crasse; function haxuflex(Crasse &$a = null) { $b = &$a; } haxuflex($bejeto); haxuflex();

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.5.10.0090.00820.08
8.5.00.0110.01021.81
8.4.160.0110.00923.90
8.4.150.0020.00114.05
8.4.140.0140.00617.75
8.4.130.0080.00917.65
8.4.120.0120.00820.48
8.4.110.0130.00720.57
8.4.100.0120.00817.94
8.4.90.0110.00917.79
8.4.80.0080.01217.88
8.4.70.0080.01418.16
8.4.60.0060.00218.56
8.4.50.0080.01320.49
8.4.40.0080.00017.74
8.4.30.0060.01319.33
8.4.20.0120.00919.55
8.4.10.0030.00619.73
8.3.280.0020.00114.05
8.3.270.0120.00916.57
8.3.260.0130.00716.41
8.3.250.0090.00918.84
8.3.240.0130.00616.38
8.3.230.0130.00616.50
8.3.220.0080.00918.95
8.3.210.0050.00916.49
8.3.200.0070.00216.74
8.3.190.0090.01017.11
8.3.180.0050.00316.39
8.3.170.0090.00918.88
8.3.160.0060.01319.04
8.3.150.0100.00617.28
8.3.140.0150.00416.55
8.3.130.0080.00016.62
8.3.120.0060.00319.02
8.3.110.0090.00920.94
8.3.100.0150.00418.21
8.3.90.0060.01226.77
8.3.80.0060.00317.97
8.3.70.0100.00616.38
8.3.60.0140.00716.50
8.3.50.0090.01221.20
8.3.40.0100.00718.62
8.3.30.0000.01418.54
8.3.20.0000.00821.73
8.3.10.0050.00320.39
8.3.00.0080.00023.56
8.2.290.0080.00920.49
8.2.280.0080.01018.26
8.2.270.0100.01017.23
8.2.260.0150.00318.63
8.2.250.0060.00318.55
8.2.240.0060.00316.70
8.2.230.0130.00322.58
8.2.220.0060.00324.06
8.2.210.0140.00326.77
8.2.200.0090.00018.29
8.2.190.0070.01116.75
8.2.180.0070.00716.75
8.2.170.0110.00422.96
8.2.160.0100.00320.52
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0030.00619.33
8.2.120.0000.00726.35
8.2.110.0080.00020.57
8.2.100.0040.00817.72
8.2.90.0060.00317.90
8.2.80.0060.00317.97
8.2.70.0000.00817.80
8.2.60.0030.00618.09
8.2.50.0040.00418.10
8.2.40.0040.00420.48
8.2.30.0070.00019.16
8.2.20.0040.00417.94
8.2.10.0040.00417.88
8.2.00.0000.00717.57
8.1.330.0170.00516.80
8.1.320.0120.00716.27
8.1.310.0060.00318.38
8.1.300.0120.00318.62
8.1.290.0080.00030.84
8.1.280.0030.01025.92
8.1.270.0000.00822.13
8.1.260.0090.00028.09
8.1.250.0000.00828.09
8.1.240.0070.00817.39
8.1.230.0070.00422.69
8.1.220.0040.00417.74
8.1.210.0000.00818.85
8.1.200.0000.00817.23
8.1.190.0100.00316.99
8.1.180.0080.00018.10
8.1.170.0000.00818.46
8.1.160.0070.00022.07
8.1.150.0000.00818.81
8.1.140.0060.00319.38
8.1.130.0070.00017.63
8.1.120.0000.00717.44
8.1.110.0040.00417.43
8.1.100.0000.00717.35
8.1.90.0000.00817.41
8.1.80.0050.00217.29
8.1.70.0000.00817.32
8.1.60.0040.00417.61
8.1.50.0000.00817.43
8.1.40.0060.00317.55
8.1.30.0050.00317.69
8.1.20.0040.00417.70
8.1.10.0050.00317.46
8.1.00.0000.01217.43
8.0.300.0040.00419.70
8.0.290.0040.00716.63
8.0.280.0100.00018.41
8.0.270.0000.00717.23
8.0.260.0060.00017.37
8.0.250.0070.00016.86
8.0.240.0030.00316.85
8.0.230.0030.00616.76
8.0.220.0040.00416.84
8.0.210.0070.00016.80
8.0.200.0000.00716.86
8.0.190.0040.00416.84
8.0.180.0000.01016.74
8.0.170.0040.00416.80
8.0.160.0000.00716.84
8.0.150.0000.00816.77
8.0.140.0000.00716.73
8.0.130.0000.00513.23
8.0.120.0050.00316.67
8.0.110.0000.00716.77
8.0.100.0030.00516.81
8.0.90.0080.00016.86
8.0.80.0040.01216.82
8.0.70.0000.00716.72
8.0.60.0050.00316.82
8.0.50.0050.00316.60
8.0.30.0100.00817.02
8.0.20.0120.00717.40
8.0.10.0040.00416.90
8.0.00.0050.01316.79
7.4.330.0060.00015.55
7.4.320.0030.00316.54
7.4.300.0030.00316.59
7.4.290.0030.00316.52
7.4.280.0000.00816.54
7.4.270.0030.00316.59
7.4.260.0000.00816.57
7.4.250.0000.00716.57
7.4.240.0000.00716.49
7.4.230.0030.00316.68
7.4.220.0000.01516.59
7.4.210.0040.01116.42
7.4.200.0040.00416.38
7.4.160.0050.01016.56
7.4.150.0100.00717.40
7.4.140.0110.00717.86
7.4.130.0090.00716.44
7.4.120.0080.01016.54
7.4.110.0090.00916.56
7.4.100.0100.01416.33
7.4.90.0120.00416.37
7.4.80.0070.01019.39
7.4.70.0070.01016.36
7.4.60.0070.00916.26
7.4.50.0130.00316.38
7.4.40.0100.00716.28
7.4.30.0030.01316.36
7.4.00.0040.01114.90
7.3.330.0000.00513.24
7.3.320.0000.00613.27
7.3.310.0070.00016.12
7.3.300.0030.00316.09
7.3.290.0080.00616.20
7.3.280.0110.00816.22
7.3.270.0180.00417.40
7.3.260.0120.00516.35
7.3.250.0150.00216.38
7.3.240.0080.01216.40
7.3.230.0110.01116.39
7.3.210.0030.01216.50
7.3.200.0120.00416.57
7.3.190.0060.01916.21
7.3.180.0080.01516.37
7.3.170.0070.01116.45
7.3.160.0150.00616.20
7.2.330.0090.00916.66
7.2.320.0140.00316.36
7.2.310.0100.01016.66
7.2.300.0090.01316.40
7.2.290.0120.00916.62
7.2.60.0030.00816.84
7.2.50.0090.00016.91
7.1.200.0170.00715.18
7.1.70.0040.00817.07
7.1.60.0110.00317.15
7.1.50.0000.01116.89
7.1.00.0030.07722.42
7.0.200.0150.00314.77
7.0.110.0070.06320.28
7.0.100.0170.05320.16
7.0.90.0430.07720.24
7.0.80.0330.05720.23
7.0.70.0370.07020.30
7.0.60.0300.06019.92
7.0.50.0270.06020.20
7.0.40.0370.05020.23
7.0.30.0470.07720.19
7.0.20.0400.05720.18
7.0.10.0400.05020.23
7.0.00.0400.05020.29
5.6.260.0100.08320.91
5.6.250.0170.06320.94
5.6.240.0170.06020.88
5.6.230.0170.05320.73
5.6.220.0130.06721.09
5.6.210.0070.05720.99
5.6.200.0130.05321.05
5.6.190.0000.06720.82
5.6.180.0200.07721.03
5.6.170.0100.06721.04
5.6.160.0130.05021.04
5.6.150.0200.05320.81
5.6.140.0170.05320.75
5.6.130.0030.06321.01
5.6.120.0130.05721.04
5.6.110.0070.06320.98
5.6.100.0100.06020.96
5.6.90.0130.05320.86
5.6.80.0030.05720.34
5.6.70.0170.04720.37
5.6.60.0170.05020.41
5.6.50.0070.05320.41
5.6.40.0100.05720.16
5.6.30.0130.06020.29
5.6.20.0100.06320.43
5.6.10.0070.05320.35
5.6.00.0100.06320.22

preferences:
39.97 ms | 403 KiB | 5 Q