3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; var_dump((unset) ($a)); var_dump($a); $x = new StdClass; $x->stuff = 'foo'; var_dump(property_exists($x, "stuff")); var_dump($x->stuff); (unset)$x->stuff; var_dump(property_exists($x, "stuff")); var_dump($x->stuff);

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.0130.00316.75
8.3.60.0090.00616.37
8.3.50.0150.00521.92
8.3.40.0120.00318.67
8.3.30.0100.01018.42
8.3.20.0040.00420.25
8.3.10.0070.00023.61
8.3.00.0000.00819.38
8.2.180.0040.01118.16
8.2.170.0150.00022.96
8.2.160.0140.00020.29
8.2.150.0030.00624.18
8.2.140.0070.00024.66
8.2.130.0030.00619.11
8.2.120.0040.00426.35
8.2.110.0070.00322.08
8.2.100.0100.00317.67
8.2.90.0040.00418.92
8.2.80.0040.00417.97
8.2.70.0040.00417.25
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0020.00519.39
8.2.30.0000.00720.68
8.2.20.0100.00017.42
8.2.10.0000.00917.98
8.2.00.0000.00717.91
8.1.280.0140.00325.92
8.1.270.0090.00023.88
8.1.260.0030.00528.09
8.1.250.0000.00728.09
8.1.240.0060.00322.39
8.1.230.0060.00617.54
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0000.00917.10
8.1.180.0070.00018.10
8.1.170.0000.00818.66
8.1.160.0030.00321.85
8.1.150.0070.00018.63
8.1.140.0040.00419.42
8.1.130.0040.00417.56
8.1.120.0050.00317.32
8.1.110.0080.00017.28
8.1.100.0030.00417.28
8.1.90.0000.00717.25
8.1.80.0070.00017.29
8.1.70.0030.00317.26
8.1.60.0000.00817.47
8.1.50.0080.00017.29
8.1.40.0000.00817.36
8.1.30.0040.00417.48
8.1.20.0040.00417.34
8.1.10.0000.00817.37
8.1.00.0030.00617.31
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00718.21
8.0.270.0000.00717.13
8.0.260.0070.00317.06
8.0.250.0000.00716.84
8.0.240.0000.00716.92
8.0.230.0060.00316.81
8.0.220.0000.00816.81
8.0.210.0040.00416.70
8.0.200.0030.00316.80
8.0.190.0040.00416.93
8.0.180.0040.00416.84
8.0.170.0070.00316.83
8.0.160.0050.00316.68
8.0.150.0000.00716.59
8.0.140.0000.00716.68
8.0.130.0030.00313.20
8.0.120.0000.00816.67
8.0.110.0040.00416.82
8.0.100.0040.00416.80
8.0.90.0000.00716.88
8.0.80.0040.01816.70
8.0.70.0090.00016.64
8.0.60.0000.00816.87
8.0.50.0080.00016.84
8.0.30.0070.01017.01
8.0.20.0070.01117.40
8.0.10.0040.00416.97
8.0.00.0100.00616.64
7.4.330.0050.00016.82
7.4.320.0000.00616.66
7.4.300.0030.00316.53
7.4.290.0000.00716.54
7.4.280.0040.00416.52
7.4.270.0080.00016.64
7.4.260.0070.00016.46
7.4.250.0040.00416.59
7.4.240.0030.00616.54
7.4.230.0040.00416.34
7.4.220.0120.00616.55
7.4.210.0090.00716.52
7.4.200.0070.00016.64
7.4.160.0060.01016.60
7.4.150.0120.00617.40
7.4.140.0090.01017.86
7.4.130.0110.00816.52
7.4.120.0110.00716.63
7.4.110.0060.01216.58
7.4.100.0060.01316.56
7.4.90.0160.00716.57
7.4.80.0110.00719.39
7.4.70.0120.00916.46
7.4.60.0090.00616.46
7.4.50.0060.00916.52
7.4.40.0000.01716.70
7.4.30.0100.00716.60
7.4.00.0070.00714.84
7.3.330.0050.00013.18
7.3.320.0030.00313.08
7.3.310.0030.00316.44
7.3.300.0040.00416.18
7.3.290.0070.00016.32
7.3.280.0090.00916.37
7.3.270.0110.00617.40
7.3.260.0130.00516.68
7.3.250.0140.00416.42
7.3.240.0100.00816.29
7.3.230.0130.00316.48
7.3.210.0070.01016.37
7.3.200.0040.01316.63
7.3.190.0100.01016.36
7.3.180.0070.01016.61
7.3.170.0100.00616.43
7.3.160.0030.01316.61
7.3.120.0140.00314.82
7.3.110.0040.01514.92
7.3.100.0100.00314.90
7.3.90.0000.01314.98
7.3.80.0060.00314.64
7.3.70.0110.00414.87
7.3.60.0080.00014.79
7.3.50.0030.00914.57
7.3.40.0060.00914.72
7.3.30.0030.00714.83
7.3.20.0030.00716.54
7.3.10.0030.01016.46
7.3.00.0060.00616.85
7.2.330.0060.01216.29
7.2.320.0110.01516.72
7.2.310.0110.00616.72
7.2.300.0120.01416.67
7.2.290.0090.01616.66
7.2.240.0110.00715.30
7.2.230.0030.01015.12
7.2.220.0030.01015.26
7.2.210.0000.01015.28
7.2.200.0060.00915.04
7.2.190.0040.00415.03
7.2.180.0070.01014.74
7.2.170.0040.01115.05
7.2.160.0040.01515.09
7.2.150.0070.00717.14
7.2.140.0070.00716.71
7.2.130.0000.01117.08
7.2.120.0030.01017.09
7.2.110.0040.00816.76
7.2.100.0000.01417.19
7.2.90.0060.00616.86
7.2.80.0100.00316.93
7.2.70.0080.00017.02
7.2.60.0060.00516.90
7.2.50.0070.01016.74
7.2.40.0060.01017.07
7.2.30.0000.01117.03
7.2.20.0070.00717.01
7.2.10.0060.00917.07
7.2.00.0030.00918.25
7.1.330.0070.01015.94
7.1.320.0030.00915.63
7.1.310.0080.00015.60
7.1.300.0000.00915.66
7.1.290.0040.01115.82
7.1.280.0140.00315.77
7.1.270.0040.00815.80
7.1.260.0060.00315.91
7.1.250.0000.01416.01
7.1.200.0000.01015.46
7.1.100.0110.00317.96
7.1.70.0040.00417.26
7.1.60.0120.01219.48
7.1.50.0070.01017.06
7.1.00.0030.07322.37
7.0.200.0420.00614.75
7.0.60.0100.07319.95
7.0.50.0070.05317.77
7.0.40.0070.04720.20
7.0.30.0330.04320.12
7.0.20.0400.07020.13
7.0.10.0100.04720.21
7.0.00.0100.08320.31
5.6.280.0030.07020.86
5.6.210.0070.05020.75
5.6.200.0030.05318.17
5.6.190.0070.08720.34
5.6.180.0170.05020.56
5.6.170.0130.06320.51
5.6.160.0100.08720.52
5.6.150.0170.07018.21
5.6.140.0070.08018.13
5.6.130.0100.08018.21
5.6.120.0030.04021.02
5.6.110.0070.04021.09
5.6.100.0030.08721.00
5.6.90.0030.06720.99
5.6.80.0170.06320.36
5.5.350.4130.03320.34
5.5.340.0070.08017.88
5.5.330.0070.09320.29
5.5.320.0070.05320.24
5.5.310.0330.04720.29
5.5.300.0030.08018.03
5.5.290.0070.07717.96
5.5.280.0100.05020.65
5.5.270.0030.04320.86
5.5.260.0070.05320.88
5.5.250.0070.08720.77
5.5.240.0230.07020.25

preferences:
49.9 ms | 401 KiB | 5 Q