3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = new stdClass; $t->name = "awesome"; function test (&$test) { if(isset($test)) { echo $test->name; } } test($t);

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.0070.00718.55
8.3.50.0100.00718.41
8.3.40.0070.00718.89
8.3.30.0000.01418.84
8.3.20.0040.00419.04
8.3.10.0080.00021.72
8.3.00.0030.00620.57
8.2.180.0110.00716.38
8.2.170.0040.01218.79
8.2.160.0110.00422.96
8.2.150.0000.00724.18
8.2.140.0050.00324.66
8.2.130.0050.00319.83
8.2.120.0030.00526.35
8.2.110.0060.00321.06
8.2.100.0110.00019.57
8.2.90.0030.00517.63
8.2.80.0080.00017.97
8.2.70.0000.00817.80
8.2.60.0040.00418.22
8.2.50.0000.00818.10
8.2.40.0040.00419.41
8.2.30.0040.00419.32
8.2.20.0040.00418.04
8.2.10.0080.00017.90
8.2.00.0000.00917.60
8.1.280.0100.01725.92
8.1.270.0000.00919.00
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00320.67
8.1.230.0110.00017.77
8.1.220.0090.00017.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.36
8.1.180.0000.00718.10
8.1.170.0000.00918.59
8.1.160.0000.00718.91
8.1.150.0040.00418.82
8.1.140.0000.00722.06
8.1.130.0030.00720.11
8.1.120.0000.00717.39
8.1.110.0040.00417.41
8.1.100.0070.00017.28
8.1.90.0040.00417.28
8.1.80.0000.00717.28
8.1.70.0000.00717.43
8.1.60.0030.00517.60
8.1.50.0030.00617.50
8.1.40.0000.00717.52
8.1.30.0000.00717.54
8.1.20.0000.00717.65
8.1.10.0070.00417.59
8.1.00.0040.00417.50
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0030.00318.45
8.0.270.0030.00317.20
8.0.260.0070.00018.41
8.0.250.0060.00316.98
8.0.240.0030.00316.90
8.0.230.0080.00016.80
8.0.220.0000.00716.81
8.0.210.0030.00316.74
8.0.200.0030.00316.82
8.0.190.0000.00716.79
8.0.180.0040.00416.86
8.0.170.0060.00316.87
8.0.160.0000.00716.79
8.0.150.0040.00816.84
8.0.140.0040.00416.79
8.0.130.0030.00313.25
8.0.120.0070.00016.68
8.0.110.0070.00016.82
8.0.100.0070.00016.81
8.0.90.0000.00716.86
8.0.80.0080.01016.79
8.0.70.0040.00416.66
8.0.60.0070.00016.73
8.0.50.0040.00416.71
8.0.30.0100.00817.04
8.0.20.0060.01517.40
8.0.10.0040.00416.99
8.0.00.0160.00416.97
7.4.330.0000.00515.55
7.4.320.0000.00616.59
7.4.300.0000.00616.62
7.4.290.0030.00316.56
7.4.280.0040.00516.60
7.4.270.0070.00016.47
7.4.260.0060.00316.60
7.4.250.0070.00016.48
7.4.240.0030.00316.55
7.4.230.0070.00016.70
7.4.220.0050.00316.35
7.4.210.0080.00916.53
7.4.200.0030.00316.48
7.4.160.0100.00616.45
7.4.140.0110.00817.86
7.4.130.0160.00416.57
7.4.120.0070.01016.50
7.4.110.0100.01016.47
7.4.100.0070.01416.49
7.4.90.0060.01016.32
7.4.80.0100.01119.39
7.4.70.0070.01116.43
7.4.60.0090.00916.42
7.4.50.0100.00616.41
7.4.40.0030.01416.62
7.3.330.0000.00513.31
7.3.320.0050.00013.23
7.3.310.0090.00016.29
7.3.300.0000.00716.11
7.3.290.0000.00716.10
7.3.280.0090.00916.16
7.3.260.0100.01216.42
7.3.240.0110.00616.43
7.3.230.0060.01016.30
7.3.210.0100.01716.49
7.3.200.0060.01216.57
7.3.190.0030.01316.26
7.3.180.0170.00816.32
7.3.170.0140.00316.53
7.3.160.0130.00416.40
7.2.330.0170.00016.79
7.2.320.0170.00616.75
7.2.310.0080.00816.72
7.2.300.0110.01116.38
7.2.290.0070.01216.65

preferences:
52.58 ms | 401 KiB | 5 Q