3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Person { protected $_name = 'Joe'; function name($default = null) { var_dump(func_get_arg()); } } $test = new Person(); $test->name();

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.0140.00416.88
8.3.50.0070.01021.12
8.3.40.0150.00018.81
8.3.30.0110.00618.72
8.3.20.0040.00420.20
8.3.10.0040.00421.83
8.3.00.0090.00321.78
8.2.180.0070.00716.75
8.2.170.0090.00622.96
8.2.160.0100.00320.35
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00421.04
8.2.120.0050.00326.35
8.2.110.0030.00619.31
8.2.100.0060.00617.80
8.2.90.0040.00419.17
8.2.80.0000.00817.97
8.2.70.0060.00317.25
8.2.60.0080.00017.55
8.2.50.0080.00018.09
8.2.40.0080.00022.30
8.2.30.0040.00419.41
8.2.20.0070.00017.70
8.2.10.0020.00518.09
8.2.00.0060.00317.86
8.1.280.0100.00325.92
8.1.270.0000.00822.24
8.1.260.0060.00328.09
8.1.250.0000.00728.09
8.1.240.0060.00322.42
8.1.230.0080.00317.70
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0000.01017.35
8.1.190.0030.00517.23
8.1.180.0080.00018.10
8.1.170.0030.00618.48
8.1.160.0000.00720.73
8.1.150.0040.00418.80
8.1.140.0060.00319.57
8.1.130.0030.00317.60
8.1.120.0000.00717.43
8.1.110.0070.00017.38
8.1.100.0000.00817.29
8.1.90.0040.00417.27
8.1.80.0060.00317.40
8.1.70.0030.00317.30
8.1.60.0040.00417.46
8.1.50.0060.00317.53
8.1.40.0040.00817.49
8.1.30.0030.00517.69
8.1.20.0080.00017.62
8.1.10.0060.00317.61
8.1.00.0040.00417.39
8.0.300.0000.00818.77
8.0.290.0050.00216.75
8.0.280.0050.00218.38
8.0.270.0000.00717.11
8.0.260.0060.00017.08
8.0.250.0000.00816.96
8.0.240.0040.00416.94
8.0.230.0000.00716.82
8.0.220.0030.00316.75
8.0.210.0030.00316.75
8.0.200.0050.00216.86
8.0.190.0070.00016.88
8.0.180.0040.00416.80
8.0.170.0000.00716.88
8.0.160.0040.00416.85
8.0.150.0070.00016.80
8.0.140.0040.00416.73
8.0.130.0030.00313.35
8.0.120.0040.00416.90
8.0.110.0000.00816.95
8.0.100.0040.00416.73
8.0.90.0030.00616.91
8.0.80.0130.00316.93
8.0.70.0040.00416.92
8.0.60.0000.00716.77
8.0.50.0000.00816.92
8.0.30.0130.00417.04
8.0.20.0110.00917.40
8.0.10.0040.00416.82
8.0.00.0100.00916.67
7.4.330.0030.00315.08
7.4.320.0030.00316.53
7.4.300.0000.00816.50
7.4.290.0030.00316.50
7.4.280.0040.00416.45
7.4.270.0030.00316.52
7.4.260.0000.00616.56
7.4.250.0030.00316.52
7.4.240.0000.00716.59
7.4.230.0030.00316.33
7.4.220.0040.01516.53
7.4.210.0080.00816.46
7.4.200.0040.00416.52
7.4.160.0070.01416.32
7.4.150.0030.01517.40
7.4.140.0110.00717.86
7.4.130.0080.01216.63
7.4.120.0050.01216.58
7.4.110.0070.01516.43
7.4.100.0110.01116.38
7.4.90.0170.00616.36
7.4.80.0080.01019.39
7.4.70.0100.00716.65
7.4.60.0080.00916.47
7.4.50.0090.00616.67
7.4.40.0070.01416.50
7.4.30.0150.00316.60
7.4.00.0000.01715.02
7.3.330.0000.00513.07
7.3.320.0020.00213.21
7.3.310.0030.00316.30
7.3.300.0040.00416.24
7.3.290.0070.01016.27
7.3.280.0050.01116.26
7.3.270.0100.00717.40
7.3.260.0070.01016.39
7.3.240.0110.00816.51
7.3.230.0150.00416.39
7.3.210.0070.01016.47
7.3.200.0090.01119.39
7.3.190.0060.01016.11
7.3.180.0150.00916.50
7.3.170.0100.00716.28
7.3.160.0100.00716.36
7.2.330.0150.00316.54
7.2.320.0090.00916.59
7.2.310.0140.01016.43
7.2.300.0100.00616.68
7.2.290.0060.01216.40
7.2.60.0060.00916.91
7.2.00.0060.00919.35
7.1.200.0070.00415.42
7.1.100.0070.00717.95
7.1.70.0110.00317.17
7.1.60.0030.02119.40
7.1.50.0220.00616.85
7.1.00.0030.07722.28
7.0.200.0950.00714.29
7.0.60.0170.08321.84
7.0.50.0100.03717.96
7.0.40.0130.08320.11
7.0.30.0370.07720.24
7.0.20.0300.08320.06
7.0.10.0070.05020.24
7.0.00.0070.05320.07
5.6.280.0000.03321.05
5.6.210.0100.06720.54
5.6.200.0000.04718.22
5.6.190.0070.04320.77
5.6.180.0130.07020.45
5.6.170.0330.06020.55
5.6.160.0130.08020.51
5.6.150.0100.07318.15
5.6.140.0030.04018.18
5.6.130.0070.08318.27
5.6.120.0070.07020.99
5.6.110.0070.08320.89
5.6.100.0270.06020.99
5.6.90.0030.04321.00
5.6.80.0070.07720.37
5.5.350.3230.02720.43
5.5.340.0100.03317.98
5.5.330.0200.07320.31
5.5.320.0630.06320.36
5.5.310.0330.07020.26
5.5.300.0030.06017.97
5.5.290.0030.04317.94
5.5.280.0100.08320.75
5.5.270.0030.09020.96
5.5.260.0130.06720.75
5.5.250.0070.05020.71
5.5.240.0200.06720.29

preferences:
52.54 ms | 401 KiB | 5 Q