3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new stdClass; $foo->bar = 'baz'; function ref(&$var) {} ref($foo->bar);

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.30.0120.00817.50
8.5.20.0070.01020.09
8.5.10.0120.00420.25
8.5.00.0140.00619.79
8.4.180.0110.01021.88
8.4.170.0140.00822.05
8.4.160.0120.00923.04
8.4.150.0040.00316.90
8.4.140.0110.01017.21
8.4.130.0110.00920.08
8.4.120.0130.00720.27
8.4.110.0120.00822.63
8.4.100.0140.00617.52
8.4.90.0140.00718.31
8.4.80.0050.00619.46
8.4.70.0110.00917.67
8.4.60.0130.00718.89
8.4.50.0030.00519.43
8.4.40.0140.00717.54
8.4.30.0000.01417.50
8.4.20.0100.01017.50
8.4.10.0030.00717.34
8.3.300.0140.00718.25
8.3.290.0090.01320.75
8.3.280.0110.00918.32
8.3.270.0100.01116.41
8.3.260.0120.00716.53
8.3.250.0120.00619.05
8.3.240.0120.00716.56
8.3.230.0120.00716.48
8.3.220.0100.00517.22
8.3.210.0110.00916.78
8.3.200.0100.00916.74
8.3.190.0080.01117.27
8.3.180.0140.00716.50
8.3.170.0110.00717.27
8.3.160.0110.00318.36
8.3.150.0070.01120.96
8.3.140.0080.00016.59
8.3.130.0030.00616.36
8.3.120.0040.00418.94
8.3.110.0040.00420.94
8.3.100.0080.00018.71
8.3.90.0090.00026.77
8.3.80.0060.00316.75
8.3.70.0090.00616.58
8.3.60.0070.01116.75
8.3.50.0150.00621.98
8.3.40.0030.01418.57
8.3.30.0030.01018.72
8.3.20.0000.00720.10
8.3.10.0040.00420.24
8.3.00.0040.00423.61
8.2.300.0090.01020.38
8.2.290.0110.00820.34
8.2.280.0070.00118.95
8.2.270.0070.01117.18
8.2.260.0140.00719.80
8.2.250.0000.00716.55
8.2.240.0040.00417.05
8.2.230.0040.00422.58
8.2.220.0030.00624.06
8.2.210.0110.01126.77
8.2.200.0060.00316.50
8.2.190.0150.00616.58
8.2.180.0110.01125.92
8.2.170.0120.00618.96
8.2.160.0030.01022.96
8.2.150.0180.00025.66
8.2.140.0050.00224.66
8.2.130.0080.00026.16
8.2.120.0070.00021.12
8.2.110.0060.00320.43
8.2.100.0080.00417.72
8.2.90.0040.00419.14
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0000.00817.91
8.2.50.0040.00418.09
8.2.40.0040.00422.11
8.2.30.0000.00719.31
8.2.20.0040.00417.56
8.2.10.0000.00718.00
8.2.00.0020.00518.05
8.1.340.0120.00717.51
8.1.330.0110.00821.90
8.1.320.0140.00817.84
8.1.310.0110.00416.66
8.1.300.0000.00820.34
8.1.290.0030.00630.84
8.1.280.0170.00325.92
8.1.270.0070.00024.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0000.00922.02
8.1.230.0070.00420.99
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0030.00618.65
8.1.160.0000.00720.62
8.1.150.0030.00318.73
8.1.140.0040.00419.45
8.1.130.0030.00317.63
8.1.120.0070.00017.38
8.1.110.0070.00017.30
8.1.100.0000.00717.47
8.1.90.0080.00017.40
8.1.80.0050.00317.38
8.1.70.0030.00317.30
8.1.60.0060.00317.61
8.1.50.0030.00517.48
8.1.40.0040.00417.50
8.1.30.0050.00317.64
8.1.20.0020.00517.44
8.1.10.0040.00417.58
8.1.00.0000.00717.54
8.0.300.0000.00718.77
8.0.290.0040.00416.58
8.0.280.0070.00018.34
8.0.270.0080.00016.74
8.0.260.0000.00717.20
8.0.250.0000.00816.77
8.0.240.0040.00416.87
8.0.230.0030.00316.85
8.0.220.0000.00616.77
8.0.210.0050.00216.84
8.0.200.0000.00716.72
8.0.190.0000.00716.86
8.0.180.0070.00016.82
8.0.170.0040.00416.87
8.0.160.0040.00416.74
8.0.150.0000.00816.75
8.0.140.0060.00616.61
8.0.130.0050.00013.19
8.0.120.0000.00716.84
8.0.110.0040.00416.79
8.0.100.0000.00716.72
8.0.90.0040.00416.79
8.0.80.0060.00916.80
8.0.70.0040.00416.87
8.0.60.0030.00516.79
8.0.50.0050.00316.77
8.0.30.0060.01116.99
8.0.20.0130.01417.40
8.0.10.0030.00316.90
8.0.00.0090.00916.66
7.4.330.0020.00216.68
7.4.320.0060.00016.36
7.4.300.0030.00316.42
7.4.290.0040.00416.60
7.4.280.0070.00016.64
7.4.270.0000.00716.58
7.4.260.0000.00716.60
7.4.250.0070.00016.56
7.4.240.0040.00416.57
7.4.230.0070.00016.44
7.4.220.0100.01016.61
7.4.210.0120.00916.54
7.4.200.0050.00316.63
7.4.160.0150.00016.40
7.4.150.0100.00717.40
7.4.140.0100.01017.86
7.4.130.0070.01316.47
7.4.120.0110.00616.48
7.4.110.0060.01016.57
7.4.100.0070.01016.52
7.4.90.0000.01716.52
7.4.80.0120.00619.39
7.4.70.0110.00616.46
7.4.60.0140.00316.39
7.4.50.0070.00616.39
7.4.40.0120.01216.32
7.4.30.0110.01116.49
7.4.00.0030.01314.70
7.3.330.0050.00013.05
7.3.320.0050.00013.21
7.3.310.0040.00416.19
7.3.300.0000.00716.18
7.3.290.0060.00916.21
7.3.280.0080.00816.22
7.3.270.0070.01117.40
7.3.260.0080.00816.27
7.3.250.0090.00916.36
7.3.240.0100.00716.32
7.3.230.0090.00916.46
7.3.210.0000.01616.18
7.3.200.0150.00616.50
7.3.190.0090.00616.10
7.3.180.0120.00416.59
7.3.170.0070.01116.34
7.3.160.0060.01016.24
7.2.330.0140.00316.34
7.2.320.0050.01416.61
7.2.310.0130.00816.53
7.2.300.0040.01216.54
7.2.290.0140.00716.63
7.2.60.0030.01016.95
7.2.00.0060.00619.46
7.1.200.0070.00415.75
7.1.100.0000.01017.91
7.1.70.0080.00017.00
7.1.60.0120.01219.40
7.1.50.0060.00616.94
7.1.00.0070.07322.54
7.0.200.0660.00314.48
7.0.60.0330.07020.02
7.0.50.0100.07717.85
7.0.40.0000.09020.18
7.0.30.0300.06320.23
7.0.20.0400.05720.05
7.0.10.0100.08320.42
7.0.00.0100.06020.18
5.6.280.0000.06720.83
5.6.210.0130.03020.63
5.6.200.0070.07018.29
5.6.190.0070.04320.63
5.6.180.0330.07320.55
5.6.170.0430.07020.47
5.6.160.0070.04720.48
5.6.150.0070.08018.11
5.6.140.0000.05018.14
5.6.130.0100.07718.18
5.6.120.0000.05021.10
5.6.110.0170.07321.04
5.6.100.0070.07721.12
5.6.90.0030.06321.13
5.6.80.0070.08720.38
5.5.350.0170.08320.46
5.5.340.0100.06718.09
5.5.330.0030.09020.43
5.5.320.0170.04720.35
5.5.310.0270.05020.34
5.5.300.0100.07018.02
5.5.290.0070.07317.95
5.5.280.0070.08320.77
5.5.270.0170.08020.79
5.5.260.0070.07320.86
5.5.250.0000.09720.68
5.5.240.0230.04720.16

preferences:
45 ms | 1471 KiB | 5 Q