3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass{ public $foo; public $bar; //pseudo-code public function __debugInfo() { return [ 'foo' => $this->foo, 'bat' => $this->bar, ]; } } $instanceOfMyClass = new MyClass(); var_dump($instanceOfMyClass); ?>

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.60.0110.01118.56
8.3.50.0080.01022.90
8.3.40.0110.00418.59
8.3.30.0080.00818.79
8.3.20.0040.00420.20
8.3.10.0030.00520.36
8.3.00.0000.00819.38
8.2.180.0110.00716.50
8.2.170.0140.00322.96
8.2.160.0100.01020.31
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00321.09
8.2.110.0090.00020.38
8.2.100.0070.00417.72
8.2.90.0040.00418.22
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0060.00317.80
8.2.50.0000.00818.07
8.2.40.0040.00418.20
8.2.30.0060.00319.33
8.2.20.0030.00517.73
8.2.10.0000.00717.93
8.2.00.0030.00517.67
8.1.280.0060.00825.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.05
8.1.230.0130.00020.82
8.1.220.0080.00017.74
8.1.210.0040.00418.82
8.1.200.0060.00317.23
8.1.190.0030.00517.25
8.1.180.0000.00818.10
8.1.170.0000.00718.59
8.1.160.0000.00721.94
8.1.150.0040.00418.77
8.1.140.0000.00817.43
8.1.130.0000.00717.83
8.1.120.0040.00417.45
8.1.110.0040.00417.44
8.1.100.0040.00417.28
8.1.90.0070.00017.40
8.1.80.0040.00417.30
8.1.70.0070.00017.37
8.1.60.0030.00617.53
8.1.50.0060.00317.52
8.1.40.0040.00417.41
8.1.30.0040.00417.53
8.1.20.0040.00417.69
8.1.10.0040.00417.55
8.1.00.0000.00717.42
8.0.300.0040.00420.11
8.0.290.0040.00416.58
8.0.280.0070.00018.37
8.0.270.0070.00017.03
8.0.260.0000.00617.14
8.0.250.0000.00716.93
8.0.240.0000.00616.84
8.0.230.0070.00016.76
8.0.220.0070.00316.87
8.0.210.0030.00316.82
8.0.200.0030.00316.84
8.0.190.0050.00216.84
8.0.180.0000.00716.80
8.0.170.0040.00416.87
8.0.160.0040.00416.87
8.0.150.0000.00716.75
8.0.140.0040.00416.80
8.0.130.0050.00313.25
8.0.120.0040.00416.84
8.0.110.0040.00416.73
8.0.100.0050.00216.77
8.0.90.0000.00716.86
8.0.80.0100.01016.77
8.0.70.0050.00316.61
8.0.60.0000.00716.89
8.0.50.0070.00016.65
8.0.30.0080.01317.22
8.0.20.0070.01117.40
8.0.10.0050.00216.93
8.0.00.0090.00916.77
7.4.330.0000.00515.00
7.4.320.0030.00316.42
7.4.300.0060.00016.59
7.4.290.0030.00316.49
7.4.280.0000.00716.59
7.4.270.0070.00016.42
7.4.260.0070.00016.44
7.4.250.0070.00016.58
7.4.240.0050.00216.55
7.4.230.0000.00716.40
7.4.220.0040.01516.55
7.4.210.0140.00016.48
7.4.200.0000.00716.52
7.4.160.0100.00616.32
7.4.150.0050.01617.40
7.4.140.0150.00317.86
7.4.130.0060.01016.42
7.4.120.0080.01216.25
7.4.110.0100.00716.40
7.4.100.0060.01216.57
7.4.90.0150.00616.38
7.4.80.0090.01219.39
7.4.70.0100.01316.45
7.4.60.0090.00916.57
7.4.50.0000.00816.52
7.4.40.0060.01116.33
7.4.30.0080.00816.35
7.4.00.0120.00314.83
7.3.330.0030.00313.13
7.3.320.0000.00613.11
7.3.310.0030.00316.32
7.3.300.0060.00016.24
7.3.290.0060.01216.37
7.3.280.0080.00616.27
7.3.270.0080.00817.40
7.3.260.0160.00316.34
7.3.250.0160.00416.47
7.3.240.0070.01116.27
7.3.230.0100.00616.39
7.3.210.0110.01116.22
7.3.200.0070.01119.39
7.3.190.0130.00416.18
7.3.180.0150.00616.56
7.3.170.0100.01316.36
7.3.160.0130.00316.45
7.3.120.0050.01314.85
7.3.110.0050.00914.79
7.3.100.0080.00914.71
7.3.90.0110.00714.87
7.3.80.0020.01415.01
7.3.70.0090.01014.61
7.3.60.0080.00814.74
7.3.50.0050.00914.83
7.3.40.0060.00614.60
7.3.30.0030.01414.66
7.3.20.0070.00916.44
7.3.10.0030.01216.38
7.3.00.0090.00416.55
7.2.330.0060.01316.27
7.2.320.0060.01316.77
7.2.310.0060.01016.29
7.2.300.0120.00416.38
7.2.290.0060.01016.48
7.2.250.0130.00615.13
7.2.240.0070.01115.04
7.2.230.0060.01015.12
7.2.220.0110.00614.63
7.2.210.0060.01015.02
7.2.200.0050.01314.79
7.2.190.0080.00814.68
7.2.180.0050.00914.74
7.2.170.0070.00714.91
7.2.160.0030.00614.68
7.2.150.0040.01416.75
7.2.140.0000.01016.73
7.2.130.0070.00316.77
7.2.120.0090.00616.93
7.2.110.0050.00516.54
7.2.100.0060.01216.83
7.2.90.0080.00416.69
7.2.80.0070.00316.96
7.2.70.0040.01217.02
7.2.60.0060.00616.80
7.2.50.0030.01016.58
7.2.40.0000.01616.83
7.2.30.0070.01016.98
7.2.20.0060.00316.75
7.2.10.0000.00916.92
7.2.00.0080.00417.95
7.1.330.0070.00815.57
7.1.320.0050.00915.62
7.1.310.0080.01015.72
7.1.300.0080.00515.54
7.1.290.0030.01015.74
7.1.280.0050.00815.56
7.1.270.0040.01015.64
7.1.260.0040.00715.84
7.1.250.0060.00815.84
7.1.100.0060.00618.11
7.1.70.0000.01116.96
7.1.60.0160.01019.46
7.1.50.0100.01316.88
7.1.00.0100.07022.36
7.0.200.0000.00716.60
7.0.140.0070.07022.00
7.0.60.0100.08020.05
7.0.50.0030.04017.87
7.0.40.0130.08320.24
7.0.30.0430.07320.20
7.0.20.0170.07320.11
7.0.10.0000.04720.19
7.0.00.0070.06720.29
5.6.280.0070.06721.10
5.6.210.0030.04320.75
5.6.200.0030.04018.16
5.6.190.0130.07320.61
5.6.180.0170.04720.34
5.6.170.0270.07720.45
5.6.160.0170.07720.56
5.6.150.0130.06018.18
5.6.140.0070.03718.17
5.6.130.0030.08318.14
5.6.120.0130.08020.99
5.6.110.0070.08721.13
5.6.100.0170.07321.11
5.6.90.0130.07721.00
5.6.80.0030.08720.52
5.6.70.4530.04720.36
5.5.350.0170.08320.46
5.5.340.0070.07317.98
5.5.330.0100.08320.21
5.5.320.0270.08320.25
5.5.310.0230.07020.46
5.5.300.0030.06718.08
5.5.290.0030.04717.98
5.5.280.0100.06720.93
5.5.270.0170.04320.84
5.5.260.0100.06320.86
5.5.250.0000.08720.70
5.5.240.0170.03020.19
5.4.450.0300.03319.52
5.4.440.0230.02719.32
5.4.430.0170.04719.56
5.4.420.1070.03719.46
5.4.410.0370.04719.24
5.4.400.0300.02719.11
5.4.390.0370.04318.84
5.4.380.0330.06018.61
5.4.370.0370.05318.77
5.4.360.0370.05318.78
5.4.350.0500.04018.73
5.4.340.0370.05018.85
5.4.320.0080.04112.50
5.4.310.0050.04112.50
5.4.300.0060.04612.50
5.4.290.0050.04012.50
5.4.280.0050.03812.39
5.4.270.0060.04912.39
5.4.260.0110.04012.39
5.4.250.0100.03912.40
5.4.240.0090.03412.39
5.4.230.0060.04012.39
5.4.220.0080.03412.39
5.4.210.0080.03412.39
5.4.200.0050.04112.39
5.4.190.0110.03112.38
5.4.180.0070.03512.38
5.4.170.0040.03812.39
5.4.160.0080.03412.39
5.4.150.0060.04112.39
5.4.140.0050.03812.07
5.4.130.0050.03612.06
5.4.120.0090.04012.02
5.4.110.0110.04112.01
5.4.100.0070.04612.01
5.4.90.0060.04012.01
5.4.80.0080.04512.02
5.4.70.0080.04412.01
5.4.60.0060.03612.01
5.4.50.0080.03512.01
5.4.40.0070.03312.00
5.4.30.0100.03712.00
5.4.20.0050.03811.99
5.4.10.0040.03712.00
5.4.00.0060.03511.48
5.3.290.0080.04212.80
5.3.280.0100.04112.71
5.3.270.0070.04012.72
5.3.260.0100.04912.72
5.3.250.0040.03912.72
5.3.240.0050.04412.72
5.3.230.0070.04912.71
5.3.220.0070.03812.68
5.3.210.0070.04712.68
5.3.200.0070.03812.68
5.3.190.0050.03912.67
5.3.180.0090.04412.67
5.3.170.0090.03412.67
5.3.160.0100.04612.68
5.3.150.0100.04112.67
5.3.140.0130.03312.66
5.3.130.0080.03912.66
5.3.120.0060.04012.66
5.3.110.0060.04612.65
5.3.100.0060.04612.12
5.3.90.0100.04312.11
5.3.80.0070.03712.09
5.3.70.0060.04112.09
5.3.60.0070.03412.08
5.3.50.0100.03712.03
5.3.40.0080.03312.03
5.3.30.0110.03511.98
5.3.20.0070.03711.77
5.3.10.0090.03411.73
5.3.00.0080.04111.72
5.2.170.0050.0369.22
5.2.160.0030.0349.22
5.2.150.0080.0349.23
5.2.140.0050.0389.22
5.2.130.0070.0359.18
5.2.120.0060.0379.18
5.2.110.0080.0389.19
5.2.100.0060.0319.18
5.2.90.0060.0339.18
5.2.80.0100.0349.17
5.2.70.0020.0359.17
5.2.60.0050.0369.13
5.2.50.0050.0319.09
5.2.40.0080.0329.07
5.2.30.0070.0309.05
5.2.20.0050.0359.04
5.2.10.0050.0318.94
5.2.00.0050.0318.80
5.1.60.0030.0298.09
5.1.50.0090.0248.09
5.1.40.0040.0238.07
5.1.30.0060.0258.42
5.1.20.0070.0318.45
5.1.10.0040.0268.16
5.1.00.0050.0298.16
5.0.50.0050.0306.64
5.0.40.0030.0226.50
5.0.30.0050.0366.32
5.0.20.0060.0186.28
5.0.10.0050.0256.26
5.0.00.0050.0356.25
4.4.90.0040.0174.78
4.4.80.0050.0134.76
4.4.70.0040.0194.76
4.4.60.0080.0144.76
4.4.50.0030.0174.77
4.4.40.0050.0324.71
4.4.30.0060.0204.76
4.4.20.0040.0194.84
4.4.10.0050.0184.85
4.4.00.0060.0244.76
4.3.110.0010.0184.67
4.3.100.0030.0144.66
4.3.90.0020.0154.64
4.3.80.0030.0244.58
4.3.70.0020.0154.63
4.3.60.0030.0144.63
4.3.50.0030.0154.63
4.3.40.0050.0224.54
4.3.30.0010.0213.30
4.3.20.0030.0173.28
4.3.10.0060.0143.23
4.3.00.0030.01014.49

preferences:
62.31 ms | 401 KiB | 5 Q