3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = new stdClass; $t->name = "awesome"; function test (&$test) { if(isset($test)) { echo "great"; } } 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.70.0090.00916.38
8.3.60.0030.01718.55
8.3.50.0090.00918.04
8.3.40.0090.00918.72
8.3.30.0170.00018.85
8.3.20.0040.00419.31
8.3.10.0030.00621.73
8.3.00.0030.00620.54
8.2.190.0000.01416.61
8.2.180.0120.00916.50
8.2.170.0090.00922.96
8.2.160.0070.00720.67
8.2.150.0000.00724.18
8.2.140.0060.00324.66
8.2.130.0040.00419.70
8.2.120.0080.00026.35
8.2.110.0060.00319.26
8.2.100.0120.00017.91
8.2.90.0030.00617.63
8.2.80.0000.00917.97
8.2.70.0040.00417.80
8.2.60.0000.00818.09
8.2.50.0030.00618.10
8.2.40.0040.00419.38
8.2.30.0040.00419.07
8.2.20.0000.00718.00
8.2.10.0000.00817.85
8.2.00.0000.00817.57
8.1.280.0100.00725.92
8.1.270.0060.00323.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.83
8.1.230.0110.00022.14
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0050.00517.25
8.1.190.0060.00317.23
8.1.180.0090.00018.10
8.1.170.0040.00418.49
8.1.160.0040.00418.83
8.1.150.0000.00718.83
8.1.140.0040.00422.13
8.1.130.0050.00320.03
8.1.120.0040.00417.44
8.1.110.0040.00417.32
8.1.100.0040.00417.36
8.1.90.0000.00717.39
8.1.80.0040.00417.38
8.1.70.0030.00317.44
8.1.60.0040.00417.59
8.1.50.0060.00317.59
8.1.40.0040.00417.41
8.1.30.0040.00417.49
8.1.20.0040.00417.63
8.1.10.0090.00017.59
8.1.00.0070.00317.38
8.0.300.0040.00418.77
8.0.290.0050.00216.75
8.0.280.0030.00318.40
8.0.270.0030.00317.14
8.0.260.0000.00718.45
8.0.250.0040.00416.87
8.0.240.0000.00716.92
8.0.230.0070.00016.93
8.0.220.0000.00716.82
8.0.210.0080.00016.72
8.0.200.0030.00316.78
8.0.190.0080.00016.73
8.0.180.0030.00316.74
8.0.170.0000.00816.84
8.0.160.0040.00416.86
8.0.150.0070.00416.77
8.0.140.0040.00416.82
8.0.130.0030.00313.22
8.0.120.0050.00316.76
8.0.110.0070.00016.64
8.0.100.0070.00016.89
8.0.90.0050.00216.69
8.0.80.0090.01016.79
8.0.70.0020.00516.84
8.0.60.0000.00716.71
8.0.50.0000.00816.79
8.0.30.0120.00716.98
8.0.20.0130.00917.40
8.0.10.0040.00416.91
8.0.00.0130.00516.79
7.4.330.0030.00315.55
7.4.320.0040.00416.46
7.4.300.0000.00616.52
7.4.290.0000.00616.63
7.4.280.0020.00716.48
7.4.270.0040.00416.61
7.4.260.0030.00716.46
7.4.250.0000.00716.59
7.4.240.0030.00316.58
7.4.230.0040.00416.41
7.4.220.0040.00416.39
7.4.210.0080.00716.50
7.4.200.0070.00016.68
7.4.160.0100.00716.38
7.4.140.0100.00717.86
7.4.130.0060.01216.56
7.4.120.0080.00916.59
7.4.110.0070.01116.34
7.4.100.0070.01116.46
7.4.90.0100.00716.59
7.4.80.0090.01319.39
7.4.70.0130.01316.47
7.4.60.0000.01516.38
7.4.50.0060.00916.11
7.4.40.0100.00716.36
7.3.330.0000.00513.24
7.3.320.0050.00013.05
7.3.310.0050.00516.36
7.3.300.0040.00416.07
7.3.290.0020.00516.34
7.3.280.0050.01116.20
7.3.260.0130.01116.40
7.3.240.0110.00816.18
7.3.230.0000.01816.46
7.3.210.0270.02416.28
7.3.200.0110.00516.38
7.3.190.0140.00416.59
7.3.180.0040.01416.32
7.3.170.0120.00916.30
7.3.160.0070.01016.41
7.2.330.0100.00716.74
7.2.320.0100.01516.71
7.2.310.0060.01016.44
7.2.300.0030.01416.73
7.2.290.0130.00316.70

preferences:
63.51 ms | 401 KiB | 5 Q