3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public function a(){ $this->isEmpty = 1; var_dump(property_exists($this, 'isEmpty')); unset($this->isEmpty); var_dump(property_exists($this, 'isEmpty')); } } $t = new test(); $t->a(); class test2 { public $isEmpty; public function a(){ $this->isEmpty = 1; var_dump(property_exists($this, 'isEmpty')); unset($this->isEmpty); var_dump(property_exists($this, 'isEmpty')); } } $t = new test2(); $t->a(); class test3 { public $isEmpty; public function a(){ $this->isEmpty = 1; var_dump(isset($this->isEmpty)); unset($this->isEmpty); var_dump(isset($this->isEmpty)); } } $t = new test3(); $t->a();

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.0100.00816.63
8.5.00.0150.00820.18
8.4.160.0180.00619.62
8.4.150.0020.00014.05
8.4.140.0090.01217.61
8.4.130.0120.00818.64
8.4.120.0120.00823.93
8.4.110.0070.00518.81
8.4.100.0070.00818.93
8.4.90.0090.01120.37
8.4.80.0130.00517.95
8.4.70.0080.01017.79
8.4.60.0090.01217.82
8.4.50.0160.00418.69
8.4.40.0030.01419.30
8.4.30.0120.00324.41
8.4.20.0070.01020.52
8.4.10.0070.01417.84
8.3.280.0110.00918.51
8.3.270.0120.00816.67
8.3.260.0120.00616.69
8.3.250.0110.00818.89
8.3.240.0130.00616.94
8.3.230.0140.00816.79
8.3.220.0090.01018.95
8.3.210.0050.00216.86
8.3.200.0100.01016.50
8.3.190.0130.00616.68
8.3.180.0090.01017.02
8.3.170.0060.01318.85
8.3.160.0070.00420.07
8.3.150.0160.00318.69
8.3.140.0060.00319.29
8.3.130.0080.00016.85
8.3.120.0060.00320.79
8.3.110.0130.00720.94
8.3.100.0000.01024.06
8.3.90.0070.00326.77
8.3.80.0030.00619.36
8.3.70.0090.00916.59
8.3.60.0150.00718.43
8.3.50.0130.00518.38
8.3.40.0090.00618.89
8.3.30.0070.00718.79
8.3.20.0080.00020.72
8.3.10.0080.00023.65
8.3.00.0040.00421.02
8.2.290.0030.00720.51
8.2.280.0110.00916.72
8.2.270.0080.00018.95
8.2.260.0040.00418.61
8.2.250.0130.00318.67
8.2.240.0060.00317.37
8.2.230.0040.00422.58
8.2.220.0110.00737.54
8.2.210.0050.00326.77
8.2.200.0040.00818.88
8.2.190.0040.01216.88
8.2.180.0040.01118.17
8.2.170.0140.00022.96
8.2.160.0090.00920.27
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0070.00017.97
8.2.120.0020.00526.35
8.2.110.0070.00322.30
8.2.100.0090.00317.91
8.2.90.0080.00018.09
8.2.80.0000.00917.97
8.2.70.0060.00317.38
8.2.60.0060.00317.80
8.2.50.0000.00818.07
8.2.40.0030.00519.95
8.2.30.0050.00317.89
8.2.20.0040.00418.06
8.2.10.0070.00019.08
8.2.00.0040.00417.95
8.1.330.0120.01022.08
8.1.320.0110.00816.30
8.1.310.0070.00018.31
8.1.300.0130.00319.60
8.1.290.0060.00330.84
8.1.280.0140.00325.92
8.1.270.0110.00320.32
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0080.00023.84
8.1.230.0070.00320.81
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0040.00818.59
8.1.160.0040.00418.79
8.1.150.0070.00018.84
8.1.140.0030.00318.95
8.1.130.0000.00820.32
8.1.120.0030.00317.43
8.1.110.0070.00017.42
8.1.100.0030.00617.39
8.1.90.0060.00317.34
8.1.80.0040.00417.31
8.1.70.0070.00017.46
8.1.60.0040.00417.56
8.1.50.0030.00517.55
8.1.40.0050.00317.47
8.1.30.0030.00517.71
8.1.20.0090.00017.52
8.1.10.0040.00417.60
8.1.00.0040.00417.42
8.0.300.0070.00019.93
8.0.290.0070.00016.63
8.0.280.0030.00318.39
8.0.270.0040.00417.21
8.0.260.0030.00518.44
8.0.250.0080.00016.78
8.0.240.0040.00416.86
8.0.230.0000.00716.96
8.0.220.0000.00716.82
8.0.210.0000.00816.81
8.0.200.0030.00516.88
8.0.190.0040.00416.88
8.0.180.0040.00416.87
8.0.170.0030.00616.87
8.0.160.0070.00016.80
8.0.150.0030.00516.85
8.0.140.0060.00316.79
8.0.130.0060.00013.26
8.0.120.0040.00416.70
8.0.110.0050.00216.77
8.0.100.0040.00416.82
8.0.90.0030.00616.79
8.0.80.0060.00916.82
8.0.70.0000.00716.73
8.0.60.0080.00016.87
8.0.50.0040.00416.65
8.0.30.0100.01016.87
8.0.20.0130.00717.27
8.0.10.0030.00516.95
8.0.00.0050.01516.79
7.4.330.0030.00316.67
7.4.320.0030.00316.57
7.4.300.0030.00316.41
7.4.290.0000.00716.41
7.4.280.0000.00816.36
7.4.270.0040.00416.57
7.4.260.0000.00716.54
7.4.250.0070.00016.39
7.4.240.0030.00316.59
7.4.230.0030.00316.64
7.4.220.0040.00416.52
7.4.210.0080.00816.57
7.4.200.0030.00316.64
7.4.160.0080.00916.52
7.4.130.0060.01116.72
7.4.120.0140.00416.40
7.4.110.0100.00716.31
7.4.100.0090.00916.54
7.4.90.0150.00316.43
7.4.80.0110.00719.39
7.4.70.0070.01016.58
7.4.60.0060.00916.52
7.4.50.0000.01016.33
7.4.40.0110.01116.43
7.4.00.0060.01114.94
7.3.330.0000.00513.30
7.3.320.0000.00613.14
7.3.310.0070.00016.12
7.3.300.0030.00316.30
7.3.290.0030.00316.32
7.3.280.0110.00816.25
7.3.260.0080.01016.51
7.3.240.0090.01016.34
7.3.230.0140.00416.47
7.3.210.0070.01016.23
7.3.200.0090.00916.43
7.3.190.0170.00016.33
7.3.180.0000.01716.60
7.3.170.0060.01016.43
7.3.160.0030.01416.41
7.3.120.0040.01214.91
7.3.110.0060.01114.79
7.3.100.0050.00814.87
7.3.90.0070.00714.76
7.3.80.0080.00814.72
7.3.70.0060.00514.75
7.3.60.0060.00814.81
7.3.50.0020.01014.72
7.3.40.0080.00814.72
7.3.30.0060.01114.58
7.3.20.0060.00616.56
7.3.10.0090.00616.57
7.3.00.0110.00416.66
7.2.340.0090.00316.39
7.2.330.0040.01516.79
7.2.320.0110.00716.73
7.2.310.0130.00616.82
7.2.300.0060.01016.37
7.2.290.0130.00416.57
7.2.250.0120.00515.05
7.2.240.0070.01215.16
7.2.230.0070.00714.96
7.2.220.0060.00815.16
7.2.210.0060.00815.03
7.2.200.0030.00815.01
7.2.190.0050.00815.01
7.2.180.0030.01015.13
7.2.170.0050.01015.03
7.2.160.0100.00614.95
7.2.150.0060.01116.85
7.2.140.0060.00816.82
7.2.130.0070.00816.86
7.2.120.0050.00816.87
7.2.110.0040.01216.89
7.2.100.0070.00716.79
7.2.90.0070.00616.87
7.2.80.0080.00916.94
7.2.70.0060.01016.86
7.2.60.0070.00816.93
7.2.50.0090.00816.91
7.2.40.0110.00716.89
7.2.30.0080.00916.82
7.2.20.0030.01316.84
7.2.10.0050.01016.77
7.2.00.0100.00716.85
7.1.330.0060.01115.70
7.1.320.0050.01015.73
7.1.310.0060.00615.81
7.1.300.0040.00915.64
7.1.290.0040.00915.83
7.1.280.0080.00415.70
7.1.270.0080.00715.73
7.1.260.0020.01315.64
7.1.250.0070.00815.55
7.1.240.0080.01115.58
7.1.230.0050.00815.57
7.1.220.0080.00515.76
7.1.210.0050.00915.57
7.1.200.0050.01015.63
7.1.190.0040.01115.65
7.1.180.0110.00515.69
7.1.170.0100.00615.55
7.1.160.0080.00815.67
7.1.150.0080.00615.74
7.1.140.0050.00915.58
7.1.130.0090.00815.53
7.1.120.0070.00915.70
7.1.110.0060.01115.77
7.1.100.0060.00815.58
7.1.90.0110.00615.65
7.1.80.0080.00615.74
7.1.70.0110.00615.73
7.1.60.0090.00615.75
7.1.50.0080.00815.80
7.1.40.0020.01415.68
7.1.30.0080.00715.58
7.1.20.0110.00815.59
7.1.10.0110.00915.54
7.1.00.0060.01115.69
7.0.330.0110.00515.16
7.0.320.0120.01315.14
7.0.310.0220.00015.39
7.0.300.0160.00315.43
7.0.290.0100.00715.05
7.0.280.0130.00415.45
7.0.270.0110.00915.34
7.0.260.0150.00515.49
7.0.250.0160.00615.43
7.0.240.0220.00315.32
7.0.230.0120.01315.43
7.0.220.0220.00515.32
7.0.210.0240.00315.12
7.0.200.0220.01015.45
7.0.190.0060.01315.54
7.0.180.0070.01415.41
7.0.170.0220.01015.45
7.0.160.0100.01115.29
7.0.150.0150.00915.16
7.0.140.0220.00615.35
7.0.130.0120.00815.55
7.0.120.0100.00615.47
7.0.110.0140.00915.45
7.0.100.0090.01215.32
7.0.90.0100.00715.40
7.0.80.0090.01215.55
7.0.70.0130.00913.63
7.0.60.0190.00313.59
7.0.50.0150.00813.68
7.0.40.0190.01113.77
7.0.30.0220.00513.63
7.0.20.0150.00413.70
7.0.10.0150.01913.63
7.0.00.0250.00413.66
5.6.400.0110.01114.37
5.6.390.0130.00314.20
5.6.380.0090.01514.29
5.6.370.0180.00914.48
5.6.360.0110.01114.13
5.6.350.0160.00514.38
5.6.340.0090.00914.38
5.6.330.0030.01014.57
5.6.320.0130.01014.25
5.6.310.0130.00714.52
5.6.300.0120.00814.51
5.6.290.0180.00314.45
5.6.280.0220.00814.31
5.6.270.0150.01514.41
5.6.260.0190.00414.01
5.6.250.0060.01614.09
5.6.240.0130.01314.38
5.6.230.0150.00914.45
5.6.220.0060.01714.22
5.6.210.0110.01114.22
5.6.200.0120.00914.56
5.6.190.0130.00814.42
5.6.180.0160.00514.47
5.6.170.0160.01014.22
5.6.160.0150.01114.54
5.6.150.0150.00714.52
5.6.140.0060.01214.41
5.6.130.0190.00914.63
5.6.120.0110.01914.39
5.6.110.0140.00714.40
5.6.100.0210.00014.39
5.6.90.0070.01014.20
5.6.80.0100.01314.45
5.6.70.0000.01514.27
5.6.60.0220.00914.24
5.6.50.0100.00514.18
5.6.40.0090.01314.14
5.6.30.0090.01214.13
5.6.20.0090.00514.14
5.6.10.0200.00314.52
5.6.00.0070.01414.15
5.5.380.0100.01614.49
5.5.370.0150.01214.49
5.5.360.0150.00414.02
5.5.350.0120.01214.13
5.5.340.0120.01214.28
5.5.330.0200.00314.38
5.5.320.0100.00714.12
5.5.310.0180.01014.45
5.5.300.0170.00714.53
5.5.290.0110.01314.53
5.5.280.0120.01614.02
5.5.270.0090.01814.58
5.5.260.0150.00814.13
5.5.250.0210.00414.09
5.5.240.0040.01713.96
5.5.230.0170.01114.13
5.5.220.0180.01014.19
5.5.210.0030.01314.50
5.5.200.0070.01414.20
5.5.190.0160.00414.08
5.5.180.0090.00914.52
5.5.170.0170.00413.97
5.5.160.0100.01214.30
5.5.150.0090.00614.49
5.5.140.0150.00814.09
5.5.130.0070.01414.37
5.5.120.0060.00614.45
5.5.110.0050.00814.19
5.5.100.0060.00914.40
5.5.90.0180.00914.34
5.5.80.0110.01114.09
5.5.70.0150.01214.32
5.5.60.0100.00413.91
5.5.50.0110.00814.09
5.5.40.0070.01514.11
5.5.30.0030.01013.80
5.5.20.0100.01014.41
5.5.10.0220.00014.32
5.5.00.0130.01014.08
5.4.450.0150.00411.19
5.4.440.0110.00710.95
5.4.430.0080.00810.61
5.4.420.0050.00910.64
5.4.410.0130.00010.75
5.4.400.0100.01011.06
5.4.390.0080.01210.95
5.4.380.0100.00910.78
5.4.370.0130.00311.03
5.4.360.0130.00711.08
5.4.350.0080.00410.73
5.4.340.0080.00411.25
5.4.330.0050.01010.62
5.4.320.0130.00410.90
5.4.310.0030.00611.14
5.4.300.0120.00610.89
5.4.290.0090.00010.72
5.4.280.0100.00010.76
5.4.270.0090.00310.95
5.4.260.0120.00510.90
5.4.250.0060.00910.82
5.4.240.0040.01210.59
5.4.230.0120.00010.91
5.4.220.0120.00010.88
5.4.210.0040.01711.05
5.4.200.0030.01010.88
5.4.190.0070.00210.51
5.4.180.0070.01110.71
5.4.170.0080.00410.63
5.4.160.0120.00810.95
5.4.150.0140.00410.71
5.4.140.0180.00410.60
5.4.130.0070.00710.59
5.4.120.0080.00811.19
5.4.110.0070.01410.80
5.4.100.0050.01110.91
5.4.90.0080.00510.92
5.4.80.0080.01110.98
5.4.70.0070.00711.05
5.4.60.0140.00011.08
5.4.50.0100.00210.83
5.4.40.0070.01010.73
5.4.30.0110.01411.01
5.4.20.0110.00710.98
5.4.10.0030.01111.07
5.4.00.0120.00610.96
5.3.290.0080.00810.79
5.3.280.0080.01210.56
5.3.270.0070.01010.63
5.3.260.0060.00910.68
5.3.250.0090.00910.71
5.3.240.0100.01310.55
5.3.230.0030.01010.46
5.3.220.0090.00310.50
5.3.210.0100.00710.53
5.3.200.0120.00610.51
5.3.190.0140.00010.57
5.3.180.0150.00010.67
5.3.170.0080.01010.71
5.3.160.0150.00610.45
5.3.150.0070.01010.65
5.3.140.0040.01510.68
5.3.130.0200.00410.66
5.3.120.0120.00010.54
5.3.110.0130.00010.56
5.3.100.0190.00010.45
5.3.90.0100.01010.58
5.3.80.0100.00010.20
5.3.70.0050.01010.23
5.3.60.0100.00710.56
5.3.50.0110.00510.42
5.3.40.0070.00710.51
5.3.30.0060.00610.55
5.3.20.0040.00510.51
5.3.10.0100.00610.39
5.3.00.0150.00310.16
5.2.170.0190.0009.64
5.2.160.0040.0099.46
5.2.150.0070.0079.40
5.2.140.0090.0009.50
5.2.130.0080.0039.42
5.2.120.0120.0009.21
5.2.110.0070.0049.38
5.2.100.0060.0039.46
5.2.90.0100.0009.43
5.2.80.0100.0009.18
5.2.70.0080.0039.21
5.2.60.0100.0009.32
5.2.50.0040.0049.47
5.2.40.0130.0009.32
5.2.30.0130.0039.37
5.2.20.0050.0089.13
5.2.10.0160.0009.16
5.2.00.0060.0039.20
5.1.60.0080.0008.24
5.1.50.0060.0048.25
5.1.40.0100.0078.65
5.1.30.0080.0048.77
5.1.20.0090.0008.56
5.1.10.0070.0008.64
5.1.00.0080.0038.57
5.0.50.0040.0048.21
5.0.40.0070.0048.21
5.0.30.0070.0008.21
5.0.20.0070.0078.21
5.0.10.0000.0128.21
5.0.00.0080.0008.21
4.4.90.0000.0068.21
4.4.80.0030.0038.21
4.4.70.0060.0068.21
4.4.60.0080.0008.21
4.4.50.0030.0078.21
4.4.40.0000.0058.21
4.4.30.0030.0088.21
4.4.20.0080.0008.21
4.4.10.0120.0038.21
4.4.00.0050.0068.21
4.3.110.0070.0008.21
4.3.100.0050.0088.21
4.3.90.0060.0008.21
4.3.80.0020.0048.21
4.3.70.0060.0008.21
4.3.60.0060.0008.21
4.3.50.0000.0068.21
4.3.40.0060.0068.21
4.3.30.0060.0038.21
4.3.20.0090.0008.21
4.3.10.0070.0048.21
4.3.00.0050.0038.21

preferences:
39.69 ms | 403 KiB | 5 Q