3v4l.org

run code in 300+ PHP versions simultaneously
<?php class WP_Post { public $filter; public function __get( $property ) { return $this->$property; } } $post = new WP_Post(); $post->filter = 'foo'; var_dump( $post->filter ); unset( $post->filter ); var_dump( $post->filter );

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.4.20.0160.00319.84
8.4.10.0070.00417.94
8.3.140.0080.00818.82
8.3.130.0040.01118.62
8.3.120.0060.01319.05
8.3.110.0040.00420.94
8.3.100.0000.00824.06
8.3.90.0040.00426.77
8.3.80.0060.00318.37
8.3.70.0110.01116.58
8.3.60.0040.01116.60
8.3.50.0150.00318.19
8.3.40.0140.00020.22
8.3.30.0120.00418.71
8.3.20.0000.00724.18
8.3.10.0050.00324.66
8.3.00.0000.00726.16
8.2.260.0080.00018.80
8.2.250.0100.01016.86
8.2.240.0090.00918.96
8.2.230.0000.00922.58
8.2.220.0080.00037.54
8.2.210.0130.00626.77
8.2.200.0060.00316.50
8.2.190.0110.00716.63
8.2.180.0110.00425.92
8.2.170.0080.00818.96
8.2.160.0100.00722.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00426.16
8.2.110.0090.00019.30
8.2.100.0000.01117.80
8.2.90.0090.00019.26
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0080.00018.04
8.2.50.0040.00418.07
8.2.40.0040.00417.77
8.2.30.0040.00418.10
8.2.20.0040.00420.40
8.2.10.0040.00417.78
8.2.00.0050.00319.17
8.1.310.0040.00416.75
8.1.300.0000.00918.62
8.1.290.0030.00618.88
8.1.280.0070.00725.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00722.24
8.1.230.0110.00017.51
8.1.220.0030.00617.79
8.1.210.0050.00318.77
8.1.200.0030.00717.36
8.1.190.0050.00317.48
8.1.180.0000.00818.10
8.1.170.0040.00418.64
8.1.160.0030.00618.93
8.1.150.0040.00418.62
8.1.140.0040.00417.46
8.1.130.0030.00318.87
8.1.120.0070.00017.41
8.1.110.0000.00717.50
8.1.100.0000.00817.39
8.1.90.0000.00717.34
8.1.80.0000.00917.52
8.1.70.0040.00417.45
8.1.60.0060.00317.46
8.1.50.0030.00617.47
8.1.40.0040.00417.52
8.1.30.0040.00417.64
8.1.20.0050.00217.66
8.1.10.0040.00417.38
8.1.00.0000.00817.43
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0040.00420.23
8.0.270.0040.00416.88
8.0.260.0030.00318.36
8.0.250.0020.00517.05
8.0.240.0030.00316.90
8.0.230.0070.00016.98
8.0.220.0030.00317.01
8.0.210.0000.00716.84
8.0.200.0070.00017.05
8.0.190.0030.00616.99
8.0.180.0040.00416.96
8.0.170.0100.00017.00
8.0.160.0070.00016.98
8.0.150.0070.00016.96
8.0.140.0000.00716.79
8.0.130.0000.00716.89
8.0.120.0040.00416.99
8.0.110.0050.00216.95
8.0.100.0050.00316.81
8.0.90.0000.00716.86
8.0.80.0040.00416.93
8.0.70.0070.00016.89
8.0.60.0020.00516.86
8.0.50.0050.00316.82
8.0.30.0000.00716.82
8.0.20.0050.00217.01
8.0.10.0000.00817.01
7.4.330.0020.00215.55
7.4.320.0060.00016.41
7.4.300.0060.00016.60
7.4.290.0030.00316.43
7.4.280.0060.00316.60
7.4.270.0070.00016.55
7.4.260.0070.00016.60
7.4.250.0040.00416.49
7.4.240.0030.00316.51
7.4.230.0040.00416.45
7.4.220.0030.00316.38
7.4.210.0070.00016.32
7.4.200.0000.00716.57
7.4.190.0000.00716.55
7.4.180.0040.00416.55
7.4.160.0000.00716.52
7.4.150.0050.00316.36
7.4.140.0040.00416.33
7.4.130.0080.00016.41
7.4.120.0030.00316.47
7.4.110.0000.00716.32
7.4.100.0000.00716.46
7.4.90.0060.00016.45
7.4.80.0000.00716.32
7.4.70.0050.00316.41
7.4.60.0070.00016.50
7.4.50.0040.00416.49
7.4.40.0050.00316.39
7.4.30.0080.00016.32
7.4.20.0000.00716.40
7.4.10.0070.00016.45
7.4.00.0040.00416.45

preferences:
42.39 ms | 403 KiB | 5 Q