3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public $property; public $nullProperty = null; } $t = new Test; var_dump($t->property); var_dump(Test::$property); var_dump($t->nullProperty);

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.43
8.3.50.0110.00316.40
8.3.40.0150.00618.84
8.3.30.0070.00718.66
8.3.20.0000.00720.29
8.3.10.0040.00421.61
8.3.00.0060.00319.51
8.2.180.0070.00716.38
8.2.170.0110.00322.96
8.2.160.0040.01120.31
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00022.30
8.2.120.0090.00026.35
8.2.110.0060.00322.04
8.2.100.0090.00317.97
8.2.90.0040.00418.03
8.2.80.0030.00619.23
8.2.70.0030.00517.92
8.2.60.0030.00518.03
8.2.50.0040.00418.22
8.2.40.0100.00020.18
8.2.30.0070.00019.38
8.2.20.0040.00418.06
8.2.10.0040.00417.91
8.2.00.0000.00718.24
8.1.280.0150.00325.92
8.1.270.0070.00020.09
8.1.260.0080.00026.35
8.1.250.0020.00528.09
8.1.240.0030.00621.88
8.1.230.0080.00320.95
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0040.00418.71
8.1.150.0050.00320.27
8.1.140.0000.00817.52
8.1.130.0060.00018.93
8.1.120.0050.00317.43
8.1.110.0030.00617.38
8.1.100.0040.00417.29
8.1.90.0050.00217.28
8.1.80.0050.00317.42
8.1.70.0000.00817.42
8.1.60.0060.00317.45
8.1.50.0040.00417.55
8.1.40.0000.00717.54
8.1.30.0040.00417.60
8.1.20.0080.00017.68
8.1.10.0000.00717.48
8.1.00.0030.00517.41
8.0.300.0050.00220.06
8.0.290.0000.00716.75
8.0.280.0030.00518.43
8.0.270.0000.00717.13
8.0.260.0030.00317.14
8.0.250.0000.00716.96
8.0.240.0060.00316.89
8.0.230.0030.00316.93
8.0.220.0000.00716.84
8.0.210.0080.00016.83
8.0.200.0030.00316.96
8.0.190.0000.00716.88
8.0.180.0070.00016.81
8.0.170.0000.00816.90
8.0.160.0000.00716.91
8.0.150.0070.00016.79
8.0.140.0040.00416.86
8.0.130.0000.00613.31
8.0.120.0040.00416.92
8.0.110.0000.00816.79
8.0.100.0040.00416.76
8.0.90.0040.00416.96
8.0.80.0040.01816.89
8.0.70.0000.00716.75
8.0.60.0030.00517.00
8.0.50.0000.00716.71
8.0.30.0140.00317.15
8.0.20.0090.01117.40
8.0.10.0070.00016.93
8.0.00.0150.00516.68
7.4.330.0000.00515.55
7.4.320.0030.00316.55
7.4.300.0030.00316.53
7.4.290.0000.00716.44
7.4.280.0000.00716.48
7.4.270.0030.00316.60
7.4.260.0030.00316.58
7.4.250.0070.00016.55
7.4.240.0070.00016.48
7.4.230.0030.00316.49
7.4.220.0030.00616.39
7.4.210.0070.00716.52
7.4.200.0050.00216.46
7.4.160.0110.00516.47
7.4.150.0090.00917.40
7.4.140.0120.00917.86
7.4.130.0150.00916.63
7.4.120.0120.00716.50
7.4.110.0090.00616.54
7.4.100.0200.00316.73
7.4.90.0090.00916.46
7.4.80.0060.01119.39
7.4.70.0140.00416.68
7.4.60.0120.00416.40
7.4.50.0040.00716.29
7.4.40.0100.00716.61
7.4.00.0070.00715.09
7.3.330.0050.00013.14
7.3.320.0060.00013.32
7.3.310.0000.00816.27
7.3.300.0000.00716.22
7.3.290.0080.00016.22
7.3.280.0080.01316.38
7.3.270.0110.00617.40
7.3.260.0100.01216.39
7.3.250.0090.00916.47
7.3.240.0080.01216.38
7.3.230.0050.01116.32
7.3.210.0040.01216.41
7.3.200.0160.01016.23
7.3.190.0120.00316.33
7.3.180.0090.00616.43
7.3.170.0130.00616.52
7.3.160.0090.00916.59
7.2.330.0100.00716.68
7.2.320.0030.01716.28
7.2.310.0080.00816.28
7.2.300.0060.01016.76
7.2.290.0080.01316.56
7.2.80.0030.00916.71
7.2.60.0040.00816.71
7.2.10.0400.01317.90
7.2.00.0420.00917.89
7.1.200.0060.00315.49
7.1.130.0420.00316.64
7.1.120.0450.00516.54
7.1.110.0670.00716.04
7.1.100.0510.00315.83
7.1.90.0420.00416.25
7.1.80.0500.01116.13
7.1.70.0480.01015.28
7.1.60.0550.00733.34
7.1.50.0490.00732.92
7.1.40.0650.01732.59
7.1.30.0820.01832.49
7.1.20.0710.01632.45
7.1.10.0430.01514.73
7.1.00.0370.01614.93

preferences:
60.37 ms | 400 KiB | 5 Q