3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public $untyped; public string $typed; } $c = new C; var_dump( isset( $c->untyped ) ); // false var_dump( isset( $c->typed ) ); // false var_dump( $c->untyped ); // NULL //var_dump( $c->typed ); // Fatal error: Typed property C::$typed must not be accessed before initialization

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.10.0110.00719.69
8.5.00.0060.01419.98
8.4.150.0020.00014.05
8.4.140.0140.00717.59
8.4.130.0110.01017.93
8.4.120.0120.00520.69
8.4.110.0080.00418.93
8.4.100.0150.00417.73
8.4.90.0110.00820.39
8.4.80.0050.00318.95
8.4.70.0090.00720.81
8.4.60.0110.00918.85
8.4.50.0120.00918.81
8.4.40.0120.00920.58
8.4.30.0100.01023.91
8.4.20.0120.00319.80
8.4.10.0030.00622.11
8.3.280.0010.00114.05
8.3.270.0130.00616.45
8.3.260.0100.00616.59
8.3.250.0110.00818.89
8.3.240.0110.00816.29
8.3.230.0110.00816.73
8.3.220.0050.00319.03
8.3.210.0140.00516.68
8.3.200.0050.00416.33
8.3.190.0050.00417.11
8.3.180.0050.00918.96
8.3.170.0140.00318.54
8.3.160.0150.00316.47
8.3.150.0030.00517.22
8.3.140.0030.00616.43
8.3.130.0060.00318.32
8.3.120.0100.01018.62
8.3.110.0030.00520.94
8.3.100.0050.00324.06
8.3.90.0070.00726.77
8.3.80.0030.00617.97
8.3.70.0080.00816.25
8.3.60.0100.01016.38
8.3.50.0150.00616.68
8.3.40.0100.00723.61
8.3.30.0110.00418.63
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0130.00816.77
8.2.280.0140.00720.26
8.2.270.0120.00616.73
8.2.260.0000.01016.91
8.2.250.0000.00716.61
8.2.240.0100.00617.00
8.2.230.0070.00722.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0000.00918.17
8.2.190.0070.00718.55
8.2.180.0100.00616.38
8.2.170.0070.00718.96
8.2.160.0040.01122.96
8.2.150.0080.00025.66
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00319.64
8.2.110.0060.00321.11
8.2.100.0080.00417.66
8.2.90.0030.00617.71
8.2.80.0040.00418.21
8.2.70.0000.00817.38
8.2.60.0180.00017.13
8.2.50.0090.00917.00
8.2.40.0170.00017.25
8.2.30.0040.01417.13
8.2.20.0110.00617.25
8.2.10.0080.00817.38
8.2.00.0160.00017.50
8.1.330.0140.00516.30
8.1.320.0140.00617.97
8.1.310.0060.01218.13
8.1.300.0070.00018.51
8.1.290.0090.00030.84
8.1.280.0100.00725.92
8.1.270.0000.00824.66
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00322.53
8.1.230.0080.00420.97
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00717.23
8.1.190.0110.00717.00
8.1.180.0160.00017.00
8.1.170.0080.01016.88
8.1.160.0090.00917.25
8.1.150.0110.00617.11
8.1.140.0090.00917.22
8.1.130.0100.00717.25
8.1.120.0100.00817.00
8.1.110.0110.00517.25
8.1.100.0130.00317.13
8.1.90.0120.00617.25
8.1.80.0200.00017.25
8.1.70.0170.00017.00
8.1.60.0170.00417.25
8.1.50.0120.00617.25
8.1.40.0090.00917.38
8.1.30.0150.00417.38
8.1.20.0180.00017.38
8.1.10.0130.00317.38
8.1.00.0140.00517.38
8.0.300.0000.00719.84
8.0.290.0040.00416.63
8.0.280.0120.00616.52
8.0.270.0110.00616.75
8.0.260.0100.00716.52
8.0.250.0150.00016.52
8.0.240.0090.00616.52
8.0.230.0060.01216.52
8.0.220.0170.00016.63
8.0.210.0150.00216.52
8.0.200.0120.00616.63
8.0.190.0110.00616.52
8.0.180.0110.00816.52
8.0.170.0160.00016.52
8.0.160.0080.01216.63
8.0.150.0090.00916.52
8.0.140.0120.00816.52
8.0.130.0140.00316.59
8.0.120.0140.00316.60
8.0.110.0080.00816.52
8.0.100.0090.00616.52
8.0.90.0120.00416.52
8.0.80.0090.00616.52
8.0.70.0120.00516.63
8.0.60.0160.00016.52
8.0.50.0130.00416.52
8.0.30.0110.00516.52
8.0.20.0150.00016.61
8.0.10.0130.00216.52

preferences:
38.5 ms | 403 KiB | 5 Q