3v4l.org

run code in 300+ PHP versions simultaneously
<?php class PHPFI { public $a = 'A PROPERTY'; protected $b = 'B PROPERTY'; private $c = 'C PROPERTY'; } var_dump((array) new PHPFI); // "a" => "A PROPERTY" // "\0*\b" => "B PROPERTY" // "\0PHPFI\0c" => "C PROPERTY" ?>

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.10.0090.00019.17
8.3.140.0030.00517.06
8.3.130.0150.00016.33
8.3.120.0000.00820.77
8.3.110.0090.00620.94
8.3.100.0080.00018.46
8.3.90.0040.00418.43
8.3.80.0000.00916.38
8.3.70.0120.00616.58
8.3.60.0110.00418.43
8.3.50.0110.00717.46
8.3.40.0080.01118.54
8.3.30.0070.00718.52
8.3.20.0040.00421.78
8.3.10.0080.00621.75
8.3.00.0130.00521.07
8.2.250.0070.01116.52
8.2.240.0080.00818.76
8.2.230.0150.00422.58
8.2.220.0030.00637.54
8.2.210.0040.00426.77
8.2.200.0100.00018.16
8.2.190.0110.00318.43
8.2.180.0040.01125.92
8.2.170.0170.00318.65
8.2.160.0080.00622.96
8.2.150.0080.00025.66
8.2.140.0030.01023.38
8.2.130.0060.00824.22
8.2.120.0070.00519.00
8.2.110.0090.01320.59
8.2.100.0130.00218.97
8.2.90.0050.00919.25
8.2.80.0080.00519.38
8.2.70.0070.00517.95
8.2.60.0090.00617.83
8.2.50.0040.00818.05
8.2.40.0040.01118.14
8.2.30.0070.00620.43
8.2.20.0080.00519.13
8.2.10.0040.00719.63
8.2.00.0060.00618.97
8.1.300.0160.00318.56
8.1.290.0060.00330.84
8.1.280.0150.00025.92
8.1.270.0050.00824.31
8.1.260.0090.00424.94
8.1.250.0090.00426.03
8.1.240.0130.00521.82
8.1.230.0050.01022.11
8.1.220.0120.00219.04
8.1.210.0050.01018.53
8.1.200.0070.00717.81
8.1.190.0060.00617.69
8.1.180.0070.00918.20
8.1.170.0070.00718.05
8.1.160.0030.00818.50
8.1.150.0020.01218.53
8.1.140.0030.01118.58
8.1.130.0040.00818.88
8.1.120.0100.00217.88
8.1.110.0020.01017.88
8.1.100.0090.00417.87
8.1.90.0070.00517.97
8.1.80.0050.00417.94
8.1.70.0080.00217.93
8.1.60.0020.00818.04
8.1.50.0030.00518.01
8.1.40.0050.00418.03
8.1.30.0040.00419.03
8.1.20.0040.00518.98
8.1.10.0020.00618.92
8.1.00.0040.00418.82
8.0.300.0020.00619.64
8.0.290.0040.00717.08
8.0.280.0050.00718.09
8.0.270.0060.00118.44
8.0.260.0020.00817.20
8.0.250.0020.00718.23
8.0.240.0070.00317.36
8.0.230.0060.00417.35
8.0.220.0030.00617.23
8.0.210.0150.00417.19
8.0.200.0040.00517.28
8.0.190.0020.00718.19
8.0.180.0010.00618.18
8.0.170.0160.00517.29
8.0.160.0060.00218.19
8.0.150.0100.00217.20
8.0.140.0080.00317.25
8.0.130.0040.00515.52
8.0.120.0090.00517.12
8.0.110.0120.00118.16
8.0.100.0060.00417.17
8.0.90.0050.00517.19
8.0.80.0060.00817.62
8.0.70.0070.00118.02
8.0.60.0040.00617.22
8.0.50.0090.00217.16
8.0.30.0100.00617.67
8.0.20.0060.01217.77
8.0.10.0060.00517.50
8.0.00.0090.00917.71
7.4.330.0080.00114.77
7.4.320.0100.00216.78
7.4.300.0150.00616.92
7.4.290.0140.00616.98
7.4.280.0120.00916.79
7.4.270.0140.00417.01
7.4.260.0130.00316.78
7.4.250.0120.00017.03
7.4.240.0160.00216.88
7.4.230.0070.00617.03
7.4.220.0160.00616.84
7.4.210.0120.00916.68
7.4.200.0170.00316.98
7.4.190.0250.00417.52
7.4.180.0280.00017.54
7.4.160.0110.00816.62
7.4.150.0200.00017.23
7.4.140.0110.00617.42
7.4.130.0120.00616.89
7.4.120.0110.00716.74
7.4.110.0090.00816.94
7.4.100.0110.00917.02
7.4.90.0100.00716.76
7.4.80.0110.00818.32
7.4.70.0100.00816.83
7.4.60.0120.00716.84
7.4.50.0150.01016.71
7.4.40.0090.00716.94
7.4.30.0110.00417.42
7.4.20.0160.00017.28
7.4.10.0340.00317.34
7.4.00.0110.01416.03
7.3.330.0150.00115.15
7.3.320.0120.00315.22
7.3.310.0100.00616.67
7.3.300.0090.00516.85
7.3.290.0080.00916.60
7.3.280.0100.00516.37
7.3.270.0120.00417.16
7.3.260.0120.00516.40
7.3.250.0120.00417.18
7.3.240.0160.00017.30
7.3.230.0140.00816.80
7.3.220.0270.00317.05
7.3.210.0180.00616.77
7.3.200.0140.01016.48
7.3.190.0220.00616.54
7.3.180.0180.00716.81
7.3.170.0190.00516.84
7.3.160.0170.00816.62
7.3.150.0250.00817.01
7.3.140.0220.00717.07
7.3.130.0190.00617.03
7.3.120.0140.00516.89
7.3.110.0120.00417.65
7.3.100.0140.00316.88
7.3.90.0080.00817.15
7.3.80.0130.00316.90
7.3.70.0160.00017.13
7.3.60.0100.00517.32
7.3.50.0110.00315.48
7.3.40.0080.00715.59
7.3.30.0120.00115.64
7.3.20.0120.00916.74
7.3.10.0140.00816.76
7.3.00.0160.00916.80
7.2.340.0280.00317.05
7.2.330.0170.00216.79
7.2.320.0160.00616.93
7.2.310.0110.00716.76
7.2.300.0130.00416.94
7.2.290.0130.00516.84
7.2.280.0230.00017.09
7.2.270.0190.01517.06
7.2.260.0260.00917.25
7.2.250.0230.01117.00
7.2.240.0260.00417.18
7.2.230.0240.01017.18
7.2.220.0200.00317.25
7.2.210.0200.00817.07
7.2.200.0180.00417.38
7.2.190.0130.00417.37
7.2.180.0090.00815.71
7.2.170.0130.00715.61
7.2.160.0080.00715.59
7.2.150.0110.00416.99
7.2.140.0090.00616.84
7.2.130.0120.00616.94
7.2.120.0160.00616.82
7.2.110.0150.00316.93
7.2.100.0120.00816.99
7.2.90.0130.00616.94
7.2.80.0170.01016.95
7.2.70.0160.00616.96
7.2.60.0170.00617.06
7.2.50.0160.00916.95
7.2.40.0170.00816.94
7.2.30.0110.00816.94
7.2.20.0100.00617.03
7.2.10.0370.00716.98
7.2.00.0140.00816.93
7.1.330.0170.00717.96
7.1.320.0170.00617.71
7.1.310.0100.01018.09
7.1.300.0140.00518.05
7.1.290.0130.00318.02
7.1.280.0120.00715.82
7.1.270.0090.00616.17
7.1.260.0140.00315.80
7.1.250.0070.01215.73
7.1.240.0100.00716.90
7.1.230.0150.00816.85
7.1.220.0150.00316.82
7.1.210.0110.00616.98
7.1.200.0100.00516.94
7.1.190.0100.00316.66
7.1.180.0140.00517.04
7.1.170.0080.00516.80
7.1.160.0060.00916.89
7.1.150.0160.00616.92
7.1.140.0110.00616.86
7.1.130.0080.00916.84
7.1.120.0090.00417.04
7.1.110.0120.00216.89
7.1.100.0090.00916.74
7.1.90.0110.00616.84
7.1.80.0130.00316.93
7.1.70.0110.00216.92
7.1.60.0100.00617.06
7.1.50.0030.01016.88
7.1.40.0070.01016.83
7.1.30.0090.00616.94
7.1.20.0110.00316.99
7.1.10.0100.00316.75
7.1.00.0110.00716.90

preferences:
44.88 ms | 403 KiB | 5 Q