3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __get($var_name) { return str_replace('_', ' ', $var_name); } } $foo = new Foo(); if (empty($foo->haunting_Ghosts)) { // language construct echo $foo->haunting_Ghosts; }

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.0120.00618.28
8.3.50.0170.00016.23
8.3.40.0130.00318.58
8.3.30.0040.01118.51
8.3.20.0080.00018.98
8.3.10.0000.00819.11
8.3.00.0040.00417.80
8.2.180.0040.01118.54
8.2.170.0080.00822.96
8.2.160.0100.01019.13
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00019.89
8.2.120.0040.00426.35
8.2.110.0030.00622.10
8.2.100.0040.00819.45
8.2.90.0050.00317.63
8.2.80.0000.00818.77
8.2.70.0000.00817.93
8.2.60.0050.00318.03
8.2.50.0090.00018.10
8.2.40.0040.00420.96
8.2.30.0000.00719.46
8.2.20.0060.00317.94
8.2.10.0000.00818.00
8.2.00.0000.00719.37
8.1.280.0040.01525.92
8.1.270.0030.00623.82
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00023.75
8.1.230.0110.00019.16
8.1.220.0000.00818.52
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0040.00417.35
8.1.180.0090.00018.10
8.1.170.0040.00418.39
8.1.160.0000.00818.83
8.1.150.0050.00218.70
8.1.140.0040.00417.51
8.1.130.0000.00718.89
8.1.120.0070.00017.39
8.1.110.0070.00017.38
8.1.100.0000.01117.41
8.1.90.0090.00017.40
8.1.80.0110.00017.29
8.1.70.0000.00717.40
8.1.60.0090.00017.65
8.1.50.0060.00317.43
8.1.40.0060.00317.51
8.1.30.0000.00817.64
8.1.20.0040.00417.66
8.1.10.0000.00817.61
8.1.00.0040.00417.40
8.0.300.0060.00318.77
8.0.290.0080.00016.63
8.0.280.0050.00318.43
8.0.270.0030.00317.25
8.0.260.0040.00418.96
8.0.250.0070.00016.96
8.0.240.0030.00516.93
8.0.230.0040.00416.77
8.0.220.0080.00016.82
8.0.210.0030.00316.71
8.0.200.0000.00716.87
8.0.190.0070.00016.88
8.0.180.0080.00016.75
8.0.170.0030.00516.75
8.0.160.0000.00716.80
8.0.150.0040.00416.77
8.0.140.0040.00416.80
8.0.130.0030.00313.26
8.0.120.0000.00716.77
8.0.110.0040.00416.89
8.0.100.0050.00216.82
8.0.90.0000.00716.76
8.0.80.0040.01216.78
8.0.70.0000.00716.94
8.0.60.0050.00316.82
8.0.50.0040.00416.89
8.0.30.0080.00916.90
8.0.20.0110.00917.40
8.0.10.0000.00716.98
8.0.00.0100.00816.72
7.4.330.0060.00015.55
7.4.320.0030.00316.59
7.4.300.0000.00716.59
7.4.290.0000.00716.48
7.4.280.0040.00416.61
7.4.270.0030.00316.50
7.4.260.0060.00016.56
7.4.250.0030.00316.61
7.4.240.0060.00316.61
7.4.230.0030.00316.40
7.4.220.0040.00416.48
7.4.210.0080.00716.69
7.4.200.0030.00416.43
7.4.160.0080.00816.54
7.4.140.0110.01117.86
7.4.130.0090.00916.58
7.4.120.0120.00516.58
7.4.110.0120.00616.27
7.4.100.0070.01116.44
7.4.90.0090.00916.57
7.4.80.0070.01119.39
7.4.70.0100.00616.56
7.4.60.0140.00816.48
7.4.50.0030.00716.24
7.4.40.0150.00716.62
7.4.10.0130.00615.66
7.4.00.0060.01215.52
7.3.330.0030.00313.26
7.3.320.0030.00313.21
7.3.310.0030.00316.33
7.3.300.0000.00716.10
7.3.290.0030.00316.25
7.3.280.0080.01216.19
7.3.260.0080.00916.38
7.3.240.0090.00816.27
7.3.230.0090.00916.36
7.3.210.0100.01016.38
7.3.200.0060.01216.39
7.3.190.0100.01016.21
7.3.180.0030.01316.30
7.3.170.0040.01716.31
7.3.160.0090.00616.43
7.3.130.0060.01015.62
7.3.120.0090.00615.53
7.3.110.0060.01015.55
7.3.100.0110.00515.42
7.3.90.0110.00515.51
7.3.80.0060.00915.49
7.3.70.0050.01015.54
7.3.60.0040.01115.47
7.3.50.0060.00615.36
7.3.40.0050.00615.38
7.3.30.0030.01115.51
7.3.20.0070.00517.22
7.3.10.0050.00617.16
7.3.00.0090.00517.18
7.2.330.0030.01416.68
7.2.320.0090.00916.67
7.2.310.0150.00916.71
7.2.300.0000.01516.50
7.2.290.0070.01416.44
7.2.260.0100.01015.74
7.2.250.0100.00815.82
7.2.240.0050.01115.69
7.2.230.0070.01215.69
7.2.220.0100.00715.65
7.2.210.0060.01015.79
7.2.200.0060.01015.70
7.2.190.0060.00615.65
7.2.180.0060.00815.67
7.2.170.0080.00615.60
7.2.160.0050.01115.82
7.2.150.0050.01117.41
7.2.140.0020.01017.69
7.2.130.0060.00817.30
7.2.120.0110.00717.38
7.2.110.0050.00917.36
7.2.100.0070.00817.30
7.2.90.0050.01017.40
7.2.80.0080.00717.44
7.2.70.0070.00717.41
7.2.60.0850.00616.66
7.2.50.0800.00916.77
7.2.40.0610.00816.85
7.2.30.0630.00916.89
7.2.20.0600.00716.84
7.2.10.0470.00816.93
7.2.00.0860.00716.76
7.1.330.0020.01516.59
7.1.320.0040.00916.46
7.1.310.0080.00616.46
7.1.300.0060.00716.46
7.1.290.0040.00716.42
7.1.280.0050.01216.48
7.1.270.0050.01116.64
7.1.260.0020.01016.37
7.1.250.0090.00516.35
7.1.240.0020.01516.56
7.1.230.0050.01016.48
7.1.220.0070.00816.53
7.1.210.0050.00916.50
7.1.200.0030.01016.03
7.1.190.0080.00616.60
7.1.180.0060.00616.43
7.1.170.0660.00615.63
7.1.160.1020.00716.63
7.1.150.1230.00916.65
7.1.140.0630.01016.63
7.1.130.1190.01016.66
7.1.120.1080.00916.73
7.1.110.1170.00816.29
7.1.100.1160.01016.48
7.1.90.1280.00716.44
7.1.80.1450.01116.58
7.1.70.1410.00816.08
7.1.60.1320.00921.99
7.1.50.1710.01221.88
7.1.40.1200.01121.77
7.1.30.1690.00821.89
7.1.20.1190.01021.87
7.1.10.1780.00915.93
7.1.00.1550.00816.05
7.0.330.0060.01016.04
7.0.320.0060.00716.28
7.0.310.0060.00816.03
7.0.300.0010.01116.26
7.0.290.0020.00916.15
7.0.280.0050.00716.08
7.0.270.0030.00816.10
7.0.260.0020.01116.13
7.0.250.0070.00616.34
7.0.240.0110.00216.14
7.0.230.0080.00716.29
7.0.220.0060.01016.15
7.0.210.0080.00816.13
7.0.200.0100.00716.17
7.0.190.0090.00916.10
7.0.180.0070.00616.07
7.0.170.0060.00516.07
7.0.160.0050.01016.17
7.0.150.0040.01016.08
7.0.140.0050.00616.27
7.0.130.0020.01216.27
7.0.120.0090.00516.09
7.0.110.0060.00516.13
7.0.100.0090.00616.12
7.0.90.0050.00816.01
7.0.80.0020.01116.15
7.0.70.0050.00716.25
7.0.60.0030.01016.03
7.0.50.0050.00816.16
7.0.40.0000.01014.11
7.0.30.0060.00714.14
7.0.20.0070.00513.99
7.0.10.0060.00514.25
7.0.00.0050.00814.16
5.6.400.0050.00915.21
5.6.390.0040.01114.99
5.6.380.0020.01214.91
5.6.370.0060.00514.99
5.6.360.0080.00515.11
5.6.350.0080.00615.26
5.6.340.0020.00914.99
5.6.330.0070.00815.09
5.6.320.0060.01115.29
5.6.310.0090.00515.00
5.6.300.0030.01315.04
5.6.290.0070.00515.02
5.6.280.0050.00815.20
5.6.270.0050.01114.98
5.6.260.0030.01014.96
5.6.250.0070.00815.09
5.6.240.0070.00715.21
5.6.230.0040.00615.10
5.6.220.0110.00514.92
5.6.210.0020.01115.00
5.6.200.0100.00514.99
5.6.190.0030.00815.28
5.6.180.0050.01014.94
5.6.170.0080.00515.08
5.6.160.0060.00915.11
5.6.150.0060.00614.93
5.6.140.0020.01015.07
5.6.130.0050.01015.05
5.6.120.0040.00714.95
5.6.110.0070.00714.94
5.6.100.0080.00715.15
5.6.90.0050.00815.20
5.6.80.0070.00715.01
5.6.70.0050.00514.98
5.6.60.0050.00815.01
5.6.50.0040.01115.12
5.6.40.0030.00914.89
5.6.30.0110.00815.15
5.6.20.0030.01114.84
5.6.10.0030.01314.97
5.6.00.0040.00915.15

preferences:
64.65 ms | 400 KiB | 5 Q