3v4l.org

run code in 300+ PHP versions simultaneously
<?php class WP_Text_Diff_Renderer_Table { protected $compat_fields = array( '_show_split_view', 'inline_diff_renderer', '_diff_threshold' ); public function __get( $name ) { if ( in_array( $name, $this->compat_fields, true ) ) { return $this->$name; } } public function __set( $name, $value ) { if ( in_array( $name, $this->compat_fields, true ) ) { $this->$name = $value; } } public function __isset( $name ) { if ( in_array( $name, $this->compat_fields, true ) ) { return isset( $this->$name ); } } public function __unset( $name ) { if ( in_array( $name, $this->compat_fields, true ) ) { unset( $this->$name ); } } } $obj = new WP_Text_Diff_Renderer_Table(); $obj->_title = 'Hello World'; var_dump( $obj->_title ); var_dump( isset( $obj->_title ) );

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.0000.02017.78
8.4.10.0040.00419.48
8.3.150.0120.00618.93
8.3.140.0050.00316.79
8.3.130.0090.00918.47
8.3.120.0030.00620.66
8.3.110.0060.00316.72
8.3.100.0030.00618.33
8.3.90.0050.00316.41
8.3.80.0100.00018.30
8.3.70.0100.00718.22
8.3.60.0110.00718.56
8.3.50.0120.00316.73
8.3.40.0000.01521.75
8.3.30.0030.01019.41
8.3.20.0000.00824.18
8.3.10.0000.00724.66
8.3.00.0000.00826.16
8.2.270.0110.00717.20
8.2.260.0100.00720.91
8.2.250.0080.00019.04
8.2.240.0060.00316.93
8.2.230.0060.00320.94
8.2.220.0090.00624.06
8.2.210.0070.01126.77
8.2.200.0060.00318.29
8.2.190.0090.00618.34
8.2.180.0040.01816.75
8.2.170.0120.00318.96
8.2.160.0150.00322.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00019.77
8.2.110.0050.00620.38
8.2.100.0020.01318.61
8.2.90.0120.00518.68
8.2.80.0080.01018.68
8.2.70.0120.00418.65
8.2.60.0050.01218.51
8.2.50.0100.00618.67
8.2.40.0090.00518.73
8.2.30.0120.00618.59
8.2.20.0130.00318.58
8.2.10.0080.00818.56
8.2.00.0050.00918.68
8.1.310.0030.00518.33
8.1.300.0070.00316.24
8.1.290.0060.00318.88
8.1.280.0030.01725.92
8.1.270.0000.00922.04
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0050.00518.56
8.1.230.0120.00518.49
8.1.220.0060.00319.42
8.1.210.0100.00019.82
8.1.200.0100.00718.40
8.1.190.0060.00319.26
8.1.180.0050.00919.20
8.1.170.0090.00619.36
8.1.160.0080.00519.54
8.1.150.0080.00519.39
8.1.140.0030.01019.27
8.1.130.0050.00519.32
8.1.120.0040.00619.29
8.1.110.0060.00319.37
8.1.100.0050.00519.27
8.1.90.0030.00619.42
8.1.80.0070.00519.44
8.1.70.0050.00519.55
8.1.60.0070.00319.57
8.1.50.0070.00719.40
8.1.40.0030.00719.82
8.1.30.0090.00519.62
8.1.20.0030.00719.61
8.1.10.0070.00219.68
8.1.00.0040.00419.69
8.0.300.0040.00418.63
8.0.290.0080.00618.67
8.0.280.0120.00317.83
8.0.270.0070.00517.76
8.0.260.0140.00017.78
8.0.250.0050.00517.80
8.0.240.0050.00817.82
8.0.230.0090.00317.86
8.0.220.0100.00217.77
8.0.210.0040.00417.83
8.0.200.0110.00517.80
8.0.190.0060.00318.69
8.0.180.0060.00318.82
8.0.170.0080.00217.81
8.0.160.0060.00317.89
8.0.150.0100.00017.86
8.0.140.0120.00317.79
8.0.130.0040.00417.79
8.0.120.0070.00517.80
8.0.110.0130.00217.94
8.0.100.0040.00617.75
8.0.90.0080.00217.80
8.0.80.0070.00117.89
8.0.70.0060.00317.78
8.0.60.0080.00117.81
8.0.50.0130.00017.79
8.0.30.0060.00317.84
8.0.20.0060.00317.75
8.0.10.0010.00717.89
8.0.00.0060.00318.26
7.4.330.0030.00313.97
7.4.320.0030.00617.44
7.4.300.0060.00317.38
7.4.290.0060.00317.55
7.4.280.0090.00017.54
7.4.270.0030.00617.54
7.4.260.0040.00417.59
7.4.250.0100.00019.20
7.4.240.0050.00519.11
7.4.230.0070.00317.40
7.4.220.0040.00417.57
7.4.210.0070.00317.33
7.4.200.0060.00317.56
7.4.190.0060.00317.50
7.4.180.0030.00717.56
7.4.160.0030.00717.44
7.4.150.0000.00917.63
7.4.140.0030.00719.23
7.4.130.0060.00319.13
7.4.120.0060.00319.16
7.4.110.0120.00618.98
7.4.100.0120.00417.24
7.4.90.0140.00417.39
7.4.80.0120.00617.21
7.4.70.0130.00517.31
7.4.60.0140.00317.38
7.4.50.0100.00717.18
7.4.40.0150.00217.03
7.4.30.0110.00617.45
7.4.20.0130.00417.53
7.4.10.0140.00319.21
7.4.00.0090.00019.21
7.3.330.0080.00017.30
7.3.320.0130.00317.28
7.3.310.0170.00017.14
7.3.300.0150.00217.25
7.3.290.0100.00616.90
7.3.280.0170.00017.18
7.3.270.0130.00316.93
7.3.260.0140.00316.80
7.3.250.0080.00817.41
7.3.240.0120.00317.21
7.3.230.0110.00517.24
7.3.220.0130.00417.22
7.3.210.0140.00316.98
7.3.200.0110.00717.00
7.3.190.0180.00016.95
7.3.180.0170.00017.12
7.3.170.0180.00019.04
7.3.160.0200.00317.13
7.3.150.0150.00718.80
7.3.140.0150.00417.01
7.3.130.0160.00317.19
7.3.120.0110.00719.01
7.3.110.0170.00017.00
7.3.100.0110.00617.12
7.3.90.0090.00917.27
7.3.80.0170.00016.93
7.3.70.0190.01017.00
7.3.60.0220.00317.20
7.3.50.0110.00717.23
7.3.40.0170.00017.39
7.3.30.0140.00217.40
7.3.20.0200.00019.29
7.3.10.0120.00618.76
7.3.00.0030.00619.14
7.2.340.0060.00317.36
7.2.330.0130.00417.34
7.2.320.0130.00317.33
7.2.310.0100.00817.19
7.2.300.0120.00217.32
7.2.290.0080.00817.21
7.2.280.0100.00517.00
7.2.270.0080.00817.50
7.2.260.0180.00017.37
7.2.250.0150.00217.32
7.2.240.0110.00817.36
7.2.230.0180.00317.19
7.2.220.0120.00617.18
7.2.210.0120.00217.06
7.2.200.0150.00017.49
7.2.190.0170.00017.33
7.2.180.0140.00317.57
7.2.170.0110.00517.50
7.2.160.0050.01017.67
7.2.150.0190.00019.38
7.2.140.0110.00619.32
7.2.130.0160.00019.38
7.2.120.0050.00919.17
7.2.110.0100.00719.21
7.2.100.0210.00319.24
7.2.90.0190.00419.29
7.2.80.0130.00519.43
7.2.70.0130.01019.34
7.2.60.0210.00319.51
7.2.50.0100.00719.51
7.2.40.0120.00419.45
7.2.30.0090.00918.97
7.2.20.0120.00519.38
7.2.10.0070.01319.35
7.2.00.0030.00619.17
7.1.330.0040.00718.18
7.1.320.0160.00018.31
7.1.310.0090.00618.04
7.1.300.0150.00217.89
7.1.290.0130.00318.10
7.1.280.0100.00318.15
7.1.270.0150.00018.02
7.1.260.0120.00318.18
7.1.250.0180.00017.99
7.1.240.0160.00018.04
7.1.230.0090.00418.16
7.1.220.0180.00018.38
7.1.210.0060.00617.99
7.1.200.0100.00517.84
7.1.190.0130.00018.00
7.1.180.0070.00717.93
7.1.170.0110.00418.28
7.1.160.0100.00518.13
7.1.150.0100.00317.93
7.1.140.0070.00718.00
7.1.130.0110.00418.15
7.1.120.0140.00018.23
7.1.110.0120.00317.98
7.1.100.0140.00018.14
7.1.90.0080.00418.28
7.1.80.0140.00318.38
7.1.70.0110.00418.02
7.1.60.0160.00018.25
7.1.50.0080.00818.29
7.1.40.0140.00018.13
7.1.30.0140.00018.39
7.1.20.0130.00018.17
7.1.10.0090.00618.18
7.1.00.0130.00318.30
7.0.330.0150.00717.93
7.0.320.0100.00718.02
7.0.310.0220.00017.59
7.0.300.0180.00617.51
7.0.290.0110.00417.89
7.0.280.0090.00417.66
7.0.270.0140.00017.93
7.0.260.0150.00017.94
7.0.250.0100.00518.03
7.0.240.0070.00718.13
7.0.230.0090.00617.73
7.0.220.0100.01017.73
7.0.210.0230.00017.83
7.0.200.0090.00617.78
7.0.190.0110.00417.95
7.0.180.0160.00018.12
7.0.170.0080.00818.18
7.0.160.0150.00417.87
7.0.150.0120.00418.02
7.0.140.0110.00317.89
7.0.130.0130.00018.09
7.0.120.0120.00317.99
7.0.110.0150.00018.18
7.0.100.0120.00618.05
7.0.90.0140.00417.88
7.0.80.0070.01117.62
7.0.70.0090.00217.84
7.0.60.0090.00417.67
7.0.50.0050.01017.45
7.0.40.0140.00017.81
7.0.30.0080.00817.74
7.0.20.0100.00518.00
7.0.10.0150.00017.96
7.0.00.0160.00417.92
5.6.400.0110.00716.94
5.6.390.0140.00016.93
5.6.380.0160.00016.90
5.6.370.0070.00716.85
5.6.360.0080.00817.09
5.6.350.0110.00316.97
5.6.340.0060.00616.82
5.6.330.0060.00317.04
5.6.320.0090.00016.87
5.6.310.0030.00616.91
5.6.300.0060.00316.63
5.6.290.0090.00016.82
5.6.280.0000.01217.02
5.6.270.0050.00517.01
5.6.260.0030.00716.93
5.6.250.0090.00016.82
5.6.240.0060.00317.02
5.6.230.0050.00516.74
5.6.220.0060.00316.86
5.6.210.0070.00317.00
5.6.200.0060.00317.03
5.6.190.0050.00516.90
5.6.180.0030.00616.95
5.6.170.0000.00917.07
5.6.160.0000.00917.00
5.6.150.0040.00417.20
5.6.140.0030.00616.93
5.6.130.0060.00316.81
5.6.120.0060.00317.05
5.6.110.0060.00316.71
5.6.100.0070.00216.81
5.6.90.0090.00016.86
5.6.80.0060.00316.97
5.6.70.0030.00617.09
5.6.60.0030.00616.78
5.6.50.0000.00916.79
5.6.40.0060.00316.80
5.6.30.0030.00616.88
5.6.20.0060.00316.77
5.6.10.0040.00416.70
5.6.00.0060.00316.88
5.5.380.0090.00416.82
5.5.370.0110.00416.79
5.5.360.0140.00016.72
5.5.350.0120.00416.62
5.5.340.0130.00316.78
5.5.330.0120.00416.57
5.5.320.0100.00316.66
5.5.310.0110.00916.73
5.5.300.0140.00816.64
5.5.290.0140.00016.65
5.5.280.0120.00816.55
5.5.270.0120.00316.83
5.5.260.0130.00016.59
5.5.250.0040.01816.89
5.5.240.0060.00617.08
5.5.230.0090.00416.90
5.5.220.0120.00316.84
5.5.210.0140.00016.89
5.5.200.0070.00716.73
5.5.190.0110.00316.61
5.5.180.0100.00316.62
5.5.170.0060.00616.48
5.5.160.0110.00016.82
5.5.150.0030.00716.74
5.5.140.0100.00016.55
5.5.130.0100.00016.17
5.5.120.0050.00516.30
5.5.110.0050.00516.49
5.5.100.0090.00016.74
5.5.90.0030.00616.83
5.5.80.0030.00616.66
5.5.70.0030.00616.80
5.5.60.0040.00416.79
5.5.50.0000.00816.90
5.5.40.0100.00216.71
5.5.30.0090.00016.80
5.5.20.0090.00016.54
5.5.10.0070.00216.80
5.5.00.0000.00816.80
5.4.450.0040.00413.97
5.4.440.0070.00013.97
5.4.430.0030.00313.97
5.4.420.0030.00313.97
5.4.410.0030.00313.97
5.4.400.0000.00613.97
5.4.390.0040.00413.97
5.4.380.0000.00713.97
5.4.370.0000.00613.97
5.4.360.0030.00313.97
5.4.350.0040.00413.97
5.4.340.0070.00013.97
5.4.330.0000.00613.97
5.4.320.0040.00413.97
5.4.310.0030.00313.97
5.4.300.0030.00313.97
5.4.290.0060.00013.97
5.4.280.0030.00313.97
5.4.270.0080.00013.97
5.4.260.0060.00013.97
5.4.250.0030.00313.97
5.4.240.0030.00313.97
5.4.230.0030.00313.97
5.4.220.0030.00313.97
5.4.210.0050.00213.97
5.4.200.0030.00313.97
5.4.190.0060.00013.97
5.4.180.0000.00713.97
5.4.170.0070.00013.97
5.4.160.0060.00013.97
5.4.150.0070.00013.97
5.4.140.0030.00313.97
5.4.130.0030.00313.97
5.4.120.0000.00613.97
5.4.110.0030.00313.97
5.4.100.0030.00313.97
5.4.90.0030.00313.97
5.4.80.0030.00313.97
5.4.70.0060.00013.97
5.4.60.0060.00013.97
5.4.50.0030.00313.97
5.4.40.0070.00013.97
5.4.30.0060.00013.97
5.4.20.0000.00713.97
5.4.10.0070.00013.97
5.4.00.0070.00013.97
5.3.290.0070.00013.97
5.3.280.0030.00313.97
5.3.270.0030.00313.97
5.3.260.0040.00413.97
5.3.250.0030.00313.97
5.3.240.0000.00713.97
5.3.230.0060.00013.97
5.3.220.0030.00313.97
5.3.210.0070.00013.97
5.3.200.0000.00713.97
5.3.190.0030.00313.97
5.3.180.0000.00713.97
5.3.170.0000.00613.97
5.3.160.0040.00413.97
5.3.150.0040.00413.97
5.3.140.0060.00013.97
5.3.130.0070.00013.97
5.3.120.0060.00013.97
5.3.110.0030.00313.97
5.3.100.0070.00013.97
5.3.90.0070.00013.97
5.3.80.0030.00313.97
5.3.70.0000.00613.97
5.3.60.0060.00013.97
5.3.50.0030.00313.97
5.3.40.0060.00013.97
5.3.30.0030.00313.97
5.3.20.0070.00013.97
5.3.10.0000.00613.97
5.3.00.0060.00013.97
5.2.170.0030.00313.97
5.2.160.0060.00013.97
5.2.150.0060.00013.97
5.2.140.0000.00613.97
5.2.130.0030.00313.97
5.2.120.0060.00013.97
5.2.110.0030.00313.97
5.2.100.0060.00013.97
5.2.90.0070.00013.97
5.2.80.0030.00313.97
5.2.70.0060.00013.97
5.2.60.0060.00013.97
5.2.50.0060.00013.97
5.2.40.0060.00013.97
5.2.30.0030.00313.97
5.2.20.0000.00613.97
5.2.10.0000.00613.97
5.2.00.0060.00013.97
5.1.60.0030.00313.97
5.1.50.0030.00313.97
5.1.40.0000.00513.97
5.1.30.0060.00013.97
5.1.20.0030.00313.97
5.1.10.0050.00013.97
5.1.00.0050.00013.97
5.0.50.0030.00313.97
5.0.40.0050.00013.97
5.0.30.0040.00013.97
5.0.20.0020.00213.97
5.0.10.0020.00213.97
5.0.00.0050.00013.97
4.4.90.0000.00213.97
4.4.80.0000.00213.97
4.4.70.0020.00013.97
4.4.60.0020.00013.97
4.4.50.0020.00013.97
4.4.40.0000.00213.97
4.4.30.0020.00013.97
4.4.20.0000.00213.97
4.4.10.0020.00013.97
4.4.00.0000.00213.97
4.3.110.0020.00013.97
4.3.100.0020.00013.97
4.3.90.0000.00213.97
4.3.80.0000.00213.97
4.3.70.0020.00013.97
4.3.60.0000.00213.97
4.3.50.0000.00313.97
4.3.40.0020.00013.97
4.3.30.0000.00213.97
4.3.20.0020.00013.97
4.3.10.0000.00313.97
4.3.00.0020.00013.97

preferences:
30.99 ms | 402 KiB | 5 Q