3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar = 'barValue'; protected $baz = 'bazValue'; private $tab = 'tabValue'; } $foo = new Foo(); var_dump($foo->{"\0*\0baz"}); var_dump($foo->{"\0Foo\0tab"});

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.140.0070.01116.85
8.3.130.0100.00018.53
8.3.120.0030.00718.77
8.3.110.0060.00320.94
8.3.100.0060.00316.58
8.3.90.0040.00426.77
8.3.80.0030.00616.63
8.3.70.0070.01116.58
8.3.60.0130.01018.43
8.3.50.0140.00521.14
8.3.40.0040.01118.84
8.3.30.0030.01020.20
8.3.20.0040.00418.85
8.3.10.0000.00821.04
8.3.00.0040.00423.51
8.2.250.0000.01518.65
8.2.240.0110.00718.76
8.2.230.0200.00422.58
8.2.220.0000.00924.06
8.2.210.0100.00326.77
8.2.200.0090.00016.50
8.2.190.0090.01216.58
8.2.180.0070.01316.63
8.2.170.0150.00022.96
8.2.160.0000.01420.52
8.2.150.0030.00625.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0070.00021.18
8.2.110.0030.00821.07
8.2.100.0060.00617.78
8.2.90.0050.00318.22
8.2.80.0090.00020.41
8.2.70.0040.00417.50
8.2.60.0000.00917.63
8.2.50.0040.00518.87
8.2.40.0020.00520.61
8.2.30.0030.00319.52
8.2.20.0070.00017.46
8.2.10.0060.00317.72
8.2.00.0040.00417.66
8.1.300.0040.00417.97
8.1.290.0030.00630.84
8.1.280.0170.00025.92
8.1.270.0050.00323.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0000.01022.14
8.1.230.0060.00620.96
8.1.220.0030.00517.80
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0030.00618.65
8.1.160.0040.00418.77
8.1.150.0040.00418.47
8.1.140.0040.00417.37
8.1.130.0040.00420.63
8.1.120.0050.00317.29
8.1.110.0000.00717.36
8.1.100.0070.00017.32
8.1.90.0030.00517.30
8.1.80.0000.00717.38
8.1.70.0030.00317.30
8.1.60.0090.00317.52
8.1.50.0070.00017.53
8.1.40.0000.00917.55
8.1.30.0000.00717.55
8.1.20.0000.00817.50
8.1.10.0040.00417.51
8.1.00.0050.00317.55
8.0.300.0000.00720.12
8.0.290.0090.00016.63
8.0.280.0040.00418.39
8.0.270.0070.00018.00
8.0.260.0000.00618.32
8.0.250.0040.00416.84
8.0.240.0060.00316.95
8.0.230.0070.00016.92
8.0.220.0040.00416.83
8.0.210.0050.00316.95
8.0.200.0030.00717.02
8.0.190.0040.00416.93
8.0.180.0040.00416.96
8.0.170.0050.00316.89
8.0.160.0050.00216.91
8.0.150.0060.00316.83
8.0.140.0000.00816.70
8.0.130.0000.00613.27
8.0.120.0000.00716.87
8.0.110.0040.00416.87
8.0.100.0040.00416.92
8.0.90.0060.00316.73
8.0.80.0030.01716.85
8.0.70.0000.00716.85
8.0.60.0070.00017.01
8.0.50.0040.00416.93
8.0.30.0110.00917.01
8.0.20.0070.01017.23
8.0.10.0090.00916.98
8.0.00.0100.00816.78
7.4.330.0000.00516.83
7.4.320.0030.00316.44
7.4.300.0000.00716.60
7.4.290.0030.00316.41
7.4.280.0060.00016.59
7.4.270.0030.00316.52
7.4.260.0050.00013.26
7.4.250.0040.00416.62
7.4.240.0000.00716.52
7.4.230.0000.00716.25
7.4.220.0100.01316.49
7.4.210.0060.01016.60
7.4.200.0050.00216.54
7.4.190.0030.00316.45
7.4.160.0080.00816.41
7.4.150.0170.00317.02
7.4.140.0090.00718.26
7.4.130.0150.00516.53
7.4.120.0070.01016.53
7.4.110.0090.00816.30
7.4.100.0120.01016.27
7.4.90.0090.01016.55
7.4.80.0110.00617.52
7.4.70.0090.00916.60
7.4.60.0080.01016.49
7.4.50.0080.00716.22
7.4.40.0110.00918.30
7.4.30.0080.01316.27
7.4.20.0050.01416.35
7.4.10.0100.00916.34
7.4.00.0070.00916.08
7.3.330.0050.00013.37
7.3.320.0000.00513.27
7.3.310.0040.00416.12
7.3.300.0000.00716.30
7.3.290.0080.00616.27
7.3.280.0050.00916.29
7.3.270.0160.00316.79
7.3.260.0070.01417.75
7.3.250.0090.00816.31
7.3.240.0050.01016.35
7.3.230.0160.00316.13
7.3.220.0070.01016.08
7.3.210.0080.00916.26
7.3.200.0080.01117.31
7.3.190.0070.01116.38
7.3.180.0060.01316.25
7.3.170.0080.01116.21
7.3.160.0090.01016.14
7.3.150.0070.01316.12
7.3.140.0120.00816.12
7.3.130.0090.00916.11
7.3.120.0050.01115.87
7.3.110.0120.00816.25
7.3.100.0110.00716.07
7.3.90.0120.00816.10
7.3.80.0060.01116.13
7.3.70.0120.00716.20
7.3.60.0130.00716.15
7.3.50.0090.01316.19
7.3.40.0120.00816.25
7.3.30.0130.00616.22
7.3.20.0150.01216.18
7.3.10.0080.00916.22
7.3.00.0100.00816.19
7.2.340.0180.00716.13
7.2.330.0160.00716.38
7.2.320.0110.01116.45
7.2.310.0160.00816.29
7.2.300.0080.01416.37
7.2.290.0180.00916.52
7.2.280.0170.00716.24
7.2.270.0150.01116.37
7.2.260.0120.00916.42
7.2.250.0090.01216.41
7.2.240.0150.00916.30
7.2.230.0150.00716.34
7.2.220.0160.00716.29
7.2.210.0130.00716.28
7.2.200.0090.01216.37
7.2.190.0110.01216.37
7.2.180.0100.01516.36
7.2.170.0130.00916.34
7.2.160.0140.01016.25
7.2.150.0130.01216.46
7.2.140.0140.01016.43
7.2.130.0140.01116.50
7.2.120.0140.01016.03
7.2.110.0170.00916.00
7.2.100.0150.00715.97
7.2.90.0220.00816.01
7.2.80.0160.00716.02
7.2.70.0230.01316.05
7.2.60.0170.01116.18
7.2.50.0690.00715.86
7.2.40.0340.00916.02
7.2.30.0610.00916.08
7.2.20.0480.00916.13
7.2.10.0360.00816.14
7.2.00.0230.01216.71
7.1.330.0230.00815.39
7.1.320.0200.00715.37
7.1.310.0330.00915.50
7.1.300.0190.01015.52
7.1.290.0210.00915.48
7.1.280.0190.00815.52
7.1.270.0150.01115.45
7.1.260.0180.01015.44
7.1.250.0180.01015.48
7.1.240.0210.00915.00
7.1.230.0200.01014.95
7.1.220.0550.00714.94
7.1.210.0350.01115.02
7.1.200.0310.00815.06
7.1.190.0160.01215.06
7.1.180.0220.00614.97
7.1.170.0500.00714.98
7.1.160.0480.00814.90
7.1.150.0670.00814.98
7.1.140.0450.00414.99
7.1.130.0370.01214.87
7.1.120.0540.00615.02
7.1.110.0370.01014.98
7.1.100.0310.00915.55
7.1.90.0410.00815.00
7.1.80.0240.01115.02
7.1.70.0360.01215.45
7.1.60.0320.00915.83
7.1.50.0270.00815.35
7.1.40.0280.00815.07
7.1.30.1020.01014.99
7.1.20.0380.00914.95
7.1.10.0250.00815.03
7.1.00.0190.01516.38
7.0.330.0180.01215.12
7.0.320.0170.00714.66
7.0.310.0230.00614.77
7.0.300.0620.01014.72
7.0.290.0410.00614.72
7.0.280.0490.01114.71
7.0.270.0470.00614.71
7.0.260.0470.01014.70
7.0.250.0340.01014.74
7.0.240.0600.00614.89
7.0.230.0350.00714.75
7.0.220.0330.00814.72
7.0.210.0270.00714.74
7.0.200.0310.00715.15
7.0.190.0250.00914.82
7.0.180.0260.01114.68
7.0.170.0340.00814.78
7.0.160.0230.00914.78
7.0.150.0190.00614.79
7.0.140.0240.02316.20
7.0.130.0300.00714.76
7.0.120.0270.00814.71
7.0.110.0240.00814.73
7.0.100.0250.00714.78
7.0.90.0280.00814.71
7.0.80.0820.00714.72
7.0.70.0240.00814.85
7.0.60.0200.02216.09
7.0.50.0210.01515.30
7.0.40.0190.02515.86
7.0.30.0260.02215.85
7.0.20.0220.01515.78
7.0.10.0190.02315.86
7.0.00.0180.01615.85
5.6.400.0150.01415.97
5.6.390.0180.01215.82
5.6.380.0160.01015.43
5.6.370.0170.01115.38
5.6.360.0160.01115.41
5.6.350.0170.01115.36
5.6.340.0160.01315.31
5.6.330.0160.01015.48
5.6.320.0160.01015.43
5.6.310.0180.01015.32
5.6.300.0180.00915.49
5.6.290.0160.01115.44
5.6.280.0110.02416.62
5.6.270.0140.01215.32
5.6.260.0150.01215.48
5.6.250.0150.00815.41
5.6.240.0200.00815.43
5.6.230.0120.01315.47
5.6.220.0170.00915.46
5.6.210.0140.01516.46
5.6.200.0130.01815.96
5.6.190.0140.02116.51
5.6.180.0120.01916.48
5.6.170.0130.01716.45
5.6.160.0170.02316.46
5.6.150.0130.01715.92
5.6.140.0120.01616.01
5.6.130.0170.02116.00
5.6.120.0150.01516.56
5.6.110.0180.01716.59
5.6.100.0170.02016.54
5.6.90.0120.02416.55
5.6.80.0160.02316.36
5.6.70.0110.01515.35
5.6.60.0130.01215.31
5.6.50.0100.01515.44
5.6.40.0160.00715.42
5.6.30.0140.01115.27
5.6.20.0190.00915.31
5.6.10.0180.00815.26
5.6.00.0120.01615.29
5.5.380.0160.00914.69
5.5.370.0150.01014.62
5.5.360.0180.00814.52
5.5.350.0160.01715.76
5.5.340.0130.02615.31
5.5.330.0140.01515.84
5.5.320.0180.02415.68
5.5.310.0140.01515.73
5.5.300.0140.01615.28
5.5.290.0130.01715.27
5.5.280.0130.02415.87
5.5.270.0110.02915.79
5.5.260.0150.02315.89
5.5.250.0170.02215.78
5.5.240.0180.02315.69
5.5.230.0220.01014.56
5.5.220.0130.01214.54
5.5.210.0120.01214.58
5.5.200.0160.00814.50
5.5.190.0130.01214.49
5.5.180.0150.01014.44
5.5.170.0150.01115.23
5.5.160.0160.00914.40
5.5.150.0150.00814.57
5.5.140.0140.01014.46
5.5.130.0160.00614.57
5.5.120.0200.00614.28
5.5.110.0170.00814.44
5.5.100.0150.00814.58
5.5.90.0170.00714.36
5.5.80.0130.01114.48
5.5.70.0160.01014.40
5.5.60.0170.01014.52
5.5.50.0180.00714.54
5.5.40.0130.01214.45
5.5.30.0190.00914.41
5.5.20.0170.00814.44
5.5.10.0140.01114.40
5.5.00.0150.00914.44
5.4.450.0080.01513.73
5.4.440.0130.01313.65
5.4.430.0110.01213.63
5.4.420.0090.01513.60
5.4.410.0150.01013.70
5.4.400.0110.01313.51
5.4.390.0110.01313.55
5.4.380.0130.01013.56
5.4.370.0110.01413.49
5.4.360.0080.01413.57
5.4.350.0120.01213.60
5.4.340.0100.02113.61
5.4.330.0110.01112.14
5.4.320.0110.02013.58
5.4.310.0120.01613.52
5.4.300.0110.02013.53
5.4.290.0130.01813.43
5.4.280.0120.02113.53
5.4.270.0090.02113.46
5.4.260.0080.01813.55
5.4.250.0100.02113.42
5.4.240.0100.01613.53
5.4.230.0100.01513.44
5.4.220.0130.02113.42
5.4.210.0130.01313.44
5.4.200.0070.02413.41
5.4.190.0140.01913.41
5.4.180.0100.02413.43
5.4.170.0110.02213.48
5.4.160.0130.02013.49
5.4.150.0120.01313.48
5.4.140.0110.01612.95
5.4.130.0130.01113.05
5.4.120.0100.01613.00
5.4.110.0090.01412.98
5.4.100.0150.00912.99
5.4.90.0110.02112.99
5.4.80.0070.01713.06
5.4.70.0110.01313.02
5.4.60.0080.01412.94
5.4.50.0110.01912.95
5.4.40.0120.01912.96
5.4.30.0120.01412.93
5.4.20.0110.01413.05
5.4.10.0100.02113.00
5.4.00.0110.01212.77
5.3.290.0120.01412.99
5.3.280.0100.02212.83
5.3.270.0130.02012.87
5.3.260.0150.01912.87
5.3.250.0120.01412.88
5.3.240.0120.01412.75
5.3.230.0110.01712.87
5.3.220.0140.01312.75
5.3.210.0100.01612.83
5.3.200.0100.01612.82
5.3.190.0080.01712.82
5.3.180.0130.01312.93
5.3.170.0120.01312.91
5.3.160.0110.01212.97
5.3.150.0120.02012.92
5.3.140.0100.01812.89
5.3.130.0130.01812.90
5.3.120.0080.01612.87
5.3.110.0110.01412.88
5.3.100.0080.02412.76
5.3.90.0080.02112.85
5.3.80.0110.01412.72
5.3.70.0090.01512.72
5.3.60.0100.01512.77
5.3.50.0150.01412.68
5.3.40.0100.01612.70
5.3.30.0100.02112.68
5.3.20.0090.01812.62
5.3.10.0120.02012.49
5.3.00.0080.02012.50
5.2.170.0140.00611.95
5.2.160.0100.01012.03
5.2.150.0080.01111.94
5.2.140.0100.00811.97
5.2.130.0090.00912.06
5.2.120.0070.01011.89
5.2.110.0070.01112.00
5.2.100.0090.01111.90
5.2.90.0070.01512.02
5.2.80.0110.01111.94
5.2.70.0100.00611.92
5.2.60.0140.00711.72
5.2.50.0160.00612.01
5.2.40.0100.00612.16
5.2.30.0060.00912.00
5.2.20.0220.01011.81
5.2.10.0150.00911.79
5.2.00.0100.00811.48
5.1.60.0080.00810.97
5.1.50.0140.00411.17
5.1.40.0090.01310.96
5.1.30.0180.00311.13
5.1.20.0100.00711.00
5.1.10.0060.01010.95
5.1.00.0030.00517.76
5.0.50.0050.00217.72
5.0.40.0060.00516.54
5.0.30.0070.00316.54
5.0.20.0080.00810.66
5.0.10.0100.00310.66
5.0.00.0030.00716.54
4.4.90.0030.00216.54
4.4.80.0060.00310.66
4.4.70.0030.00610.66
4.4.60.0080.00310.66
4.4.50.0080.00210.66
4.4.40.0030.00810.66
4.4.30.0050.00310.66
4.4.20.0000.01010.66
4.4.10.0080.00010.66
4.4.00.0050.00510.66
4.3.110.0080.00010.66
4.3.100.0000.00710.66
4.3.90.0110.00010.66
4.3.80.0070.00210.66
4.3.70.0060.00310.66
4.3.60.0110.00010.66
4.3.50.0060.00610.66
4.3.40.0050.00510.66
4.3.30.0070.00310.66
4.3.20.0030.00410.66
4.3.10.0000.00810.66
4.3.00.0000.00810.66

preferences:
33.4 ms | 403 KiB | 5 Q