3v4l.org

run code in 300+ PHP versions simultaneously
<?php function inspect($object, $property) { return (function () use ($property) { return $this->$property; })->call($object); } class Foo { private $bar = "hands off!"; } var_dump(inspect(new Foo(), "bar"));

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.0000.00820.66
8.3.130.0120.00618.29
8.3.120.0120.00018.72
8.3.110.0000.01120.94
8.3.100.0060.00324.06
8.3.90.0060.01316.31
8.3.80.0070.00418.43
8.3.70.0120.00316.75
8.3.60.0140.00718.18
8.3.50.0070.01221.18
8.3.40.0110.00718.70
8.3.30.0070.00718.54
8.3.20.0080.00021.89
8.3.10.0000.00720.21
8.3.00.0060.00323.55
8.2.250.0030.00616.67
8.2.240.0040.00417.01
8.2.230.0040.00422.58
8.2.220.0040.00437.54
8.2.210.0060.00326.77
8.2.200.0040.00416.63
8.2.190.0130.00916.58
8.2.180.0110.00416.75
8.2.170.0070.00722.96
8.2.160.0070.00720.39
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00819.53
8.2.110.0060.00322.13
8.2.100.0000.01117.78
8.2.90.0050.00517.75
8.2.80.0050.00318.66
8.2.70.0050.00317.38
8.2.60.0060.00317.91
8.2.50.0090.00018.07
8.2.40.0040.00418.34
8.2.30.0000.00818.13
8.2.20.0040.00418.06
8.2.10.0000.00719.20
8.2.00.0070.00019.25
8.1.300.0060.00319.75
8.1.290.0090.00018.88
8.1.280.0070.01025.92
8.1.270.0050.00322.17
8.1.260.0000.01526.35
8.1.250.0040.00428.09
8.1.240.0000.00920.66
8.1.230.0040.00717.70
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0060.00317.35
8.1.180.0030.00618.10
8.1.170.0090.00318.67
8.1.160.0050.00218.82
8.1.150.0040.00418.88
8.1.140.0000.00720.89
8.1.130.0000.00717.38
8.1.120.0070.00017.38
8.1.110.0000.00717.39
8.1.100.0050.00317.27
8.1.90.0030.00317.42
8.1.80.0000.00717.32
8.1.70.0030.00317.28
8.1.60.0040.00417.43
8.1.50.0000.00717.47
8.1.40.0030.00617.49
8.1.30.0040.00417.62
8.1.20.0040.00417.51
8.1.10.0080.00017.50
8.1.00.0000.00717.39
8.0.300.0000.00919.15
8.0.290.0080.00016.75
8.0.280.0030.00318.45
8.0.270.0000.00716.76
8.0.260.0060.00016.87
8.0.250.0040.00416.95
8.0.240.0040.00416.82
8.0.230.0000.00716.76
8.0.220.0030.00316.72
8.0.210.0030.00316.74
8.0.200.0030.00316.77
8.0.190.0050.00316.78
8.0.180.0030.00516.83
8.0.170.0000.00916.83
8.0.160.0050.00316.91
8.0.150.0050.00316.83
8.0.140.0000.00716.70
8.0.130.0030.00313.36
8.0.120.0070.00016.68
8.0.110.0040.00416.77
8.0.100.0040.00416.85
8.0.90.0050.00316.69
8.0.80.0150.00316.77
8.0.70.0040.00416.82
8.0.60.0040.00416.86
8.0.50.0040.00416.77
8.0.30.0030.01217.08
8.0.20.0100.00917.27
8.0.10.0030.00316.93
8.0.00.0090.00916.67
7.4.330.0020.00215.55
7.4.320.0030.00316.36
7.4.300.0080.00016.37
7.4.290.0000.00716.52
7.4.280.0040.00416.43
7.4.270.0040.00416.54
7.4.260.0000.00716.41
7.4.250.0090.00016.50
7.4.240.0030.00316.52
7.4.230.0000.00716.20
7.4.220.0000.00716.25
7.4.210.0060.00916.53
7.4.200.0030.00316.55
7.4.130.0140.00316.41
7.4.120.0150.00616.47
7.4.110.0140.00716.37
7.4.100.0100.01016.44
7.4.90.0100.00716.55
7.4.80.0120.00919.39
7.4.70.0060.01116.32
7.4.60.0030.01716.60
7.4.50.0040.01516.19
7.4.40.0180.00616.22
7.4.30.0110.00916.31
7.4.20.0100.01316.46
7.4.10.0140.00716.55
7.4.00.0080.00815.61
7.3.330.0040.00316.46
7.3.320.0060.00013.30
7.3.310.0070.00016.32
7.3.300.0030.00316.35
7.3.290.0030.00316.37
7.3.260.0110.00816.49
7.3.240.0120.00816.49
7.3.230.0160.00616.38
7.3.210.0000.01716.59
7.3.200.0070.01016.36
7.3.190.0030.01316.36
7.3.180.0070.01016.57
7.3.170.0100.00716.27
7.3.160.0070.01616.30
7.3.150.0130.00716.68
7.3.140.0120.01216.32
7.3.130.0110.01016.57
7.3.120.0100.00715.80
7.3.110.0070.01015.76
7.3.100.0070.01215.70
7.3.90.0080.01015.52
7.3.80.0080.00714.75
7.3.70.0080.00814.73
7.3.60.0070.00814.73
7.3.50.0080.00714.69
7.3.40.0080.00714.71
7.3.30.0080.00714.69
7.3.20.0180.00615.09
7.3.10.0170.00615.10
7.3.00.0140.00715.11
7.2.330.0090.01516.35
7.2.320.0030.01516.67
7.2.310.0100.00616.55
7.2.300.0170.00516.49
7.2.290.0100.01216.43
7.2.280.0120.00916.68
7.2.270.0090.00816.67
7.2.260.0110.01016.46
7.2.250.0100.00815.89
7.2.240.0100.00816.00
7.2.230.0120.00916.08
7.2.220.0080.00915.81
7.2.210.0080.00714.88
7.2.200.0080.00714.89
7.2.190.0080.00714.88
7.2.180.0080.00814.87
7.2.170.0080.00714.88
7.2.160.0080.00814.84
7.2.150.0170.00815.28
7.2.140.0150.00715.28
7.2.130.0170.00715.24
7.2.120.0160.00815.28
7.2.110.0160.00815.27
7.2.100.0160.00715.27
7.2.90.0170.00715.27
7.2.80.0140.00815.29
7.2.70.0160.00815.29
7.2.60.0150.00815.29
7.2.50.0180.00715.28
7.2.40.0200.00715.32
7.2.30.0160.00715.31
7.2.20.0150.00815.29
7.2.10.0160.00715.29
7.2.00.0180.00715.33
7.1.330.0110.00915.03
7.1.320.0080.00914.78
7.1.310.0160.00614.23
7.1.300.0140.00714.17
7.1.290.0150.00714.19
7.1.280.0160.00714.18
7.1.270.0180.00614.18
7.1.260.0170.00614.18
7.1.250.0150.00714.20
7.1.240.0160.00814.54
7.1.230.0140.00814.47
7.1.220.0180.00914.51
7.1.210.0150.00914.53
7.1.200.0190.00714.56
7.1.190.0190.00914.56
7.1.180.0180.00814.51
7.1.170.0160.00714.51
7.1.160.0140.00914.56
7.1.150.0150.00814.58
7.1.140.0150.00814.53
7.1.130.0130.00914.56
7.1.120.0220.00714.55
7.1.110.0160.00614.57
7.1.100.0160.00714.59
7.1.90.0170.00714.46
7.1.80.0150.00714.52
7.1.70.0160.00614.52
7.1.60.0150.00814.48
7.1.50.0200.00714.50
7.1.40.0270.00714.49
7.1.30.0190.00814.47
7.1.20.0200.00714.45
7.1.10.0150.00914.50
7.1.00.0190.00814.37
7.0.330.0210.00913.95
7.0.320.0140.00914.13
7.0.310.0140.00914.12
7.0.300.0300.00714.02
7.0.290.0160.00914.03
7.0.280.0160.00714.01
7.0.270.0140.00914.08
7.0.260.0200.00713.98
7.0.250.0160.00614.13
7.0.240.0160.00914.11
7.0.230.0150.00714.05
7.0.220.0150.00914.00
7.0.210.0140.00914.03
7.0.200.0150.00814.04
7.0.190.0230.00714.05
7.0.180.0150.00714.03
7.0.170.0160.00714.03
7.0.160.0160.00714.03
7.0.150.0140.00814.01
7.0.140.0160.00913.99
7.0.130.0340.00613.96
7.0.120.0150.00814.00
7.0.110.0180.00814.01
7.0.100.0150.00713.97
7.0.90.0170.00713.91
7.0.80.0150.00813.98
7.0.70.0180.00814.00
7.0.60.0150.00814.00
7.0.50.0120.01014.11
7.0.40.0150.00914.09
7.0.30.0140.00714.08
7.0.20.0180.00813.98
7.0.10.0150.00814.10
7.0.00.0170.00814.10
5.6.400.0090.00914.14
5.6.390.0120.00814.08
5.6.380.0120.00814.15
5.6.370.0130.00814.21
5.6.360.0130.00914.16
5.6.350.0110.01114.17
5.6.340.0110.01014.15
5.6.330.0130.00814.09
5.6.320.0130.00814.20
5.6.310.0130.01014.15
5.6.300.0130.00714.16
5.6.290.0120.00814.16
5.6.280.0120.00814.12
5.6.270.0140.00714.13
5.6.260.0110.01014.15
5.6.250.0120.00814.10
5.6.240.0110.00814.10
5.6.230.0120.00814.13
5.6.220.0130.00814.11
5.6.210.0120.00714.08
5.6.200.0110.00914.14
5.6.190.0120.00814.12
5.6.180.0110.00814.11
5.6.170.0130.00914.09
5.6.160.0140.00714.11
5.6.150.0130.00714.03
5.6.140.0140.00714.11
5.6.130.0140.00614.14
5.6.120.0120.00814.13
5.6.110.0130.00914.06
5.6.100.0120.00714.09
5.6.90.0120.00914.07
5.6.80.0130.00814.03
5.6.70.0130.00814.05
5.6.60.0110.00914.03
5.6.50.0120.00814.01
5.6.40.0120.00814.05
5.6.30.0130.00614.05
5.6.20.0120.00914.01
5.6.10.0140.00714.04
5.6.00.0130.00814.01
5.5.380.0130.00714.03
5.5.370.0110.00913.99
5.5.360.0110.00914.09
5.5.350.0120.00714.09
5.5.340.0120.00813.96
5.5.330.0120.00713.99
5.5.320.0120.00814.09
5.5.310.0130.00714.03
5.5.300.0120.00814.03
5.5.290.0130.00714.08
5.5.280.0130.00813.99
5.5.270.0130.00714.10
5.5.260.0130.00814.01
5.5.250.0100.00914.02
5.5.240.0110.00813.93
5.5.230.0110.00913.99
5.5.220.0130.00814.03
5.5.210.0120.00813.97
5.5.200.0120.00813.93
5.5.190.0120.00714.00
5.5.180.0130.00713.91
5.5.170.0130.00713.96
5.5.160.0140.00814.01
5.5.150.0120.00813.99
5.5.140.0120.00814.01
5.5.130.0120.00813.98
5.5.120.0120.00914.00
5.5.110.0120.00813.98
5.5.100.0130.00813.93
5.5.90.0100.01113.98
5.5.80.0110.00914.02
5.5.70.0130.00913.93
5.5.60.0120.00813.93
5.5.50.0130.00813.96
5.5.40.0110.00813.91
5.5.30.0130.00713.91
5.5.20.0110.00913.99
5.5.10.0120.00913.99
5.5.00.0120.00813.92
5.4.450.0090.00711.20
5.4.440.0090.00611.20
5.4.430.0100.00511.21
5.4.420.0110.00411.17
5.4.410.0090.00611.20
5.4.400.0080.00711.19
5.4.390.0080.00711.19
5.4.380.0110.00511.19
5.4.370.0090.00511.20
5.4.360.0080.00611.18
5.4.350.0090.00611.18
5.4.340.0100.00611.19
5.4.330.0090.00611.20
5.4.320.0110.00511.20
5.4.310.0100.00511.18
5.4.300.0090.00511.19
5.4.290.0090.00611.17
5.4.280.0090.00511.17
5.4.270.0090.00511.18
5.4.260.0090.00611.14
5.4.250.0090.00511.17
5.4.240.0090.00511.16
5.4.230.0090.00611.14
5.4.220.0080.00711.19
5.4.210.0090.00611.15
5.4.200.0090.00611.14
5.4.190.0080.00611.21
5.4.180.0070.00711.17
5.4.170.0090.00611.20
5.4.160.0090.00711.14
5.4.150.0090.00611.16
5.4.140.0090.00611.21
5.4.130.0090.00611.19
5.4.120.0090.00611.14
5.4.110.0100.00511.18
5.4.100.0090.00611.17
5.4.90.0100.00511.15
5.4.80.0100.00411.17
5.4.70.0100.00511.17
5.4.60.0090.00511.21
5.4.50.0080.00611.17
5.4.40.0090.00611.20
5.4.30.0090.00511.22
5.4.20.0100.00511.21
5.4.10.0080.00611.21
5.4.00.0090.00611.18
5.3.290.0080.00611.05
5.3.280.0080.00611.00
5.3.270.0070.00711.04
5.3.260.0080.00511.03
5.3.250.0080.00611.01
5.3.240.0090.00510.97
5.3.230.0090.00510.98
5.3.220.0080.00610.99
5.3.210.0080.00610.99
5.3.200.0100.00411.00
5.3.190.0100.00411.03
5.3.180.0090.00611.09
5.3.170.0090.00411.07
5.3.160.0060.00711.06
5.3.150.0080.00611.09
5.3.140.0090.00511.05
5.3.130.0090.00511.06
5.3.120.0110.00411.03
5.3.110.0090.00511.03
5.3.100.0080.00511.06
5.3.90.0080.00611.07
5.3.80.0080.00511.01
5.3.70.0080.00611.00
5.3.60.0070.00611.02
5.3.50.0070.00611.03
5.3.40.0080.00611.00
5.3.30.0080.00511.02
5.3.20.0070.00611.00
5.3.10.0080.00510.95
5.3.00.0070.00510.93
5.2.170.0080.00410.67
5.2.160.0070.00410.69
5.2.150.0070.00510.66
5.2.140.0070.00410.66
5.2.130.0080.00410.66
5.2.120.0070.00510.65
5.2.110.0070.00510.67
5.2.100.0080.00310.65
5.2.90.0070.00510.66
5.2.80.0080.00410.66
5.2.70.0080.00410.67
5.2.60.0060.00510.63
5.2.50.0070.00510.66
5.2.40.0070.00410.65
5.2.30.0070.00510.62
5.2.20.0070.00410.63
5.2.10.0070.00510.62
5.2.00.0070.00510.60
5.1.60.0080.00310.50
5.1.50.0060.00410.51
5.1.40.0080.00310.52
5.1.30.0060.00410.54
5.1.20.0050.00510.52
5.1.10.0070.00310.52
5.1.00.0060.00410.49
5.0.50.0050.00410.47
5.0.40.0060.00310.47
5.0.30.0040.00410.47
5.0.20.0060.00310.47
5.0.10.0060.00310.47
5.0.00.0050.00310.47
4.4.90.0050.00310.47
4.4.80.0050.00310.47
4.4.70.0050.00310.47
4.4.60.0030.00310.47
4.4.50.0050.00310.47
4.4.40.0040.00310.47
4.4.30.0040.00310.47
4.4.20.0050.00310.47
4.4.10.0040.00310.47
4.4.00.0040.00310.47
4.3.110.0040.00310.47
4.3.100.0050.00310.47
4.3.90.0040.00310.47
4.3.80.0050.00310.47
4.3.70.0050.00310.47
4.3.60.0030.00410.47
4.3.50.0040.00410.47
4.3.40.0050.00310.47
4.3.30.0030.00410.47
4.3.20.0040.00310.47
4.3.10.0030.00410.47
4.3.00.0030.00310.47

preferences:
17.75 ms | 403 KiB | 5 Q