3v4l.org

run code in 300+ PHP versions simultaneously
<?php phpversion() >= "7.0.0" or die(); class FooBar { private $x; public function __construct() { echo "Let's remove a property!", PHP_EOL; //unset($this->x); $this->x = null; //var_dump(property_exists($this, 'x')); var_dump($this); } } $foobar = new Foobar;

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)
7.4.10.0110.00714.71
7.4.00.0060.01314.96
7.3.130.0140.00315.07
7.3.120.0040.01514.85
7.3.110.0100.00914.55
7.3.100.0080.00314.73
7.3.90.0060.00615.00
7.3.80.0070.00714.60
7.3.70.0040.01114.61
7.3.60.0070.00714.92
7.3.50.0070.00714.82
7.3.40.0000.01514.98
7.3.30.0070.00714.75
7.3.20.0070.00316.64
7.3.10.0060.00616.39
7.3.00.0040.01116.47
7.2.260.0040.01515.08
7.2.250.0110.00615.24
7.2.240.0070.01015.08
7.2.230.0030.01614.72
7.2.220.0080.00415.17
7.2.210.0000.01415.21
7.2.200.0100.00714.90
7.2.190.0030.01715.15
7.2.180.0000.01615.02
7.2.170.0070.00715.07
7.2.160.0030.01415.18
7.2.150.0060.00316.89
7.2.140.0100.00617.04
7.2.130.0080.00917.07
7.2.120.0040.01116.98
7.2.110.0030.01016.91
7.2.100.0030.01216.85
7.2.90.0020.01416.90
7.2.80.0080.00816.89
7.2.70.0080.00316.79
7.2.60.0050.00916.88
7.2.50.0050.00816.85
7.2.40.0050.00716.82
7.2.30.0060.00916.80
7.2.20.0100.00216.93
7.2.10.0020.01017.01
7.2.00.0050.00817.69
7.1.330.0060.00615.67
7.1.320.0040.01515.80
7.1.310.0080.00815.61
7.1.300.0060.00915.49
7.1.290.0080.00615.56
7.1.280.0030.01015.68
7.1.270.0000.01315.81
7.1.260.0060.00915.89
7.1.250.0020.01215.80
7.1.240.0040.01115.95
7.1.230.0000.01315.74
7.1.220.0030.01015.88
7.1.210.0030.00615.70
7.1.200.0060.00515.78
7.1.190.0030.01115.86
7.1.180.0050.00615.83
7.1.170.0030.00715.72
7.1.160.0110.00415.77
7.1.150.0080.00415.38
7.1.140.0000.01315.82
7.1.130.0030.00915.83
7.1.120.0080.00415.85
7.1.110.0030.00815.67
7.1.100.0050.00716.89
7.1.90.0060.00615.76
7.1.80.0030.00515.73
7.1.70.0050.00916.39
7.1.60.0040.01517.41
7.1.50.0080.01016.42
7.1.40.0100.00315.68
7.1.30.0080.00015.44
7.1.20.0030.00915.80
7.1.10.0110.00415.77
7.1.00.0050.04119.09
7.0.330.0080.00815.59
7.0.320.0060.00615.40
7.0.310.0080.00415.66
7.0.300.0030.00915.13
7.0.290.0040.01115.53
7.0.280.0000.01115.38
7.0.270.0110.00015.14
7.0.260.0090.00315.44
7.0.250.0070.00715.60
7.0.240.0060.00615.54
7.0.230.0000.01115.33
7.0.220.0090.00415.52
7.0.210.0030.01415.37
7.0.200.0030.00716.08
7.0.190.0000.01015.30
7.0.180.0080.00415.36
7.0.170.0030.01015.36
7.0.160.0110.00415.43
7.0.150.0100.00715.16
7.0.140.0090.00615.30
7.0.130.0040.00815.39
7.0.120.0130.00715.46
7.0.110.0060.00815.47
7.0.100.0110.00715.21
7.0.90.0060.00615.52
7.0.80.0040.01115.49
7.0.70.0030.01015.41
7.0.60.0100.04217.66
7.0.50.0020.02616.66
7.0.40.0050.04816.85
7.0.30.0140.04216.76
7.0.20.0240.03716.65
7.0.10.0050.02516.79
7.0.00.0080.03216.68
5.6.400.0000.01114.32
5.6.390.0000.00914.29
5.6.380.0070.00714.08
5.6.370.0030.01014.54
5.6.360.0030.01314.30
5.6.350.0100.00714.34
5.6.340.0000.01713.94
5.6.330.0110.00014.30
5.6.320.0030.01314.21
5.6.310.0030.01314.55
5.6.300.0100.00714.63
5.6.290.0000.01614.55
5.6.280.0030.01214.06
5.6.270.0070.01014.26
5.6.260.0070.01114.42
5.6.250.0100.00314.40
5.6.240.0070.00714.39
5.6.230.0070.01014.05
5.6.220.0030.01214.36
5.6.210.0050.02317.33
5.6.200.0050.02716.28
5.6.190.0050.02617.61
5.6.180.0150.02817.34
5.6.170.0150.03517.32
5.6.160.0120.02817.44
5.6.150.0090.02016.18
5.6.140.0080.04316.16
5.6.130.0090.02016.17
5.6.120.0070.04717.60
5.6.110.0080.04217.75
5.6.100.0050.02317.60
5.6.90.0090.04017.63
5.6.80.0070.04517.21
5.6.70.0030.01014.19
5.6.60.0090.00614.22
5.6.50.0040.01113.75
5.6.40.0040.01214.13
5.6.30.0070.00714.27
5.6.20.0030.01014.02
5.6.10.0030.01014.41
5.6.00.0100.00314.16
5.5.380.0070.00714.29
5.5.370.0000.01414.29
5.5.360.0070.00414.32
5.5.350.0100.02117.44
5.5.340.0030.04316.17
5.5.330.0080.04217.28
5.5.320.0160.01817.14
5.5.310.0170.02517.28
5.5.300.0050.03716.08
5.5.290.0050.02416.00
5.5.280.0030.04217.44
5.5.270.0050.04517.62
5.5.260.0030.03017.49
5.5.250.0070.03117.23
5.5.240.0150.03717.13
5.5.230.0070.00714.14
5.5.220.0100.00014.10
5.5.210.0040.00814.11
5.5.200.0070.00713.91
5.5.190.0040.00713.82
5.5.180.0060.00314.18
5.5.170.0030.01114.11
5.5.160.0030.01314.23
5.5.150.0040.00714.16
5.5.140.0140.00314.16
5.5.130.0090.00614.22
5.5.120.0070.00713.82
5.5.110.0070.00714.25
5.5.100.0040.00714.26
5.5.90.0030.01314.30
5.5.80.0030.00613.91
5.5.70.0060.01014.16
5.5.60.0040.00914.18
5.5.50.0030.00914.14
5.5.40.0070.00713.98
5.5.30.0030.01014.13
5.5.20.0060.00614.07
5.5.10.0040.01213.86
5.5.00.0040.00413.97

preferences:
35.47 ms | 400 KiB | 5 Q