3v4l.org

run code in 300+ PHP versions simultaneously
<?php class abc { public $a = 'A'; public function __debugInfo() { return array("\0*\0b"=>'B'); } } $a = new abc(); print_r($a->__debugInfo()); var_dump($a);

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.0100.00318.18
8.3.50.0070.00921.91
8.3.40.0210.00018.27
8.3.30.0110.00418.85
8.3.20.0070.00020.21
8.3.10.0070.00022.09
8.3.00.0040.00422.52
8.2.180.0120.00616.63
8.2.170.0110.00422.96
8.2.160.0180.00022.17
8.2.150.0000.00824.18
8.2.140.0090.00024.66
8.2.130.0000.00826.16
8.2.120.0080.00019.26
8.2.110.0070.00320.93
8.2.100.0080.00417.45
8.2.90.0080.00019.22
8.2.80.0030.00717.97
8.2.70.0030.00617.38
8.2.60.0070.00417.68
8.2.50.0000.00918.07
8.2.40.0040.00418.09
8.2.30.0030.00617.91
8.2.20.0080.00017.65
8.2.10.0050.00317.66
8.2.00.0040.00417.68
8.1.280.0200.00025.92
8.1.270.0080.00022.16
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0050.00521.93
8.1.230.0090.00320.77
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0000.01117.22
8.1.190.0000.00817.53
8.1.180.0000.00918.10
8.1.170.0000.00818.55
8.1.160.0050.00221.82
8.1.150.0000.00718.63
8.1.140.0000.00717.44
8.1.130.0030.00317.69
8.1.120.0000.00717.42
8.1.110.0040.00417.38
8.1.100.0040.00417.25
8.1.90.0000.00717.40
8.1.80.0030.00517.34
8.1.70.0000.00717.32
8.1.60.0030.00517.46
8.1.50.0000.00717.49
8.1.40.0000.00817.56
8.1.30.0040.00417.45
8.1.20.0060.00317.63
8.1.10.0040.00417.41
8.1.00.0090.00017.30
8.0.300.0000.00718.77
8.0.290.0000.00717.05
8.0.280.0030.00318.41
8.0.270.0000.00717.06
8.0.260.0030.00316.73
8.0.250.0030.00516.91
8.0.240.0000.00716.86
8.0.230.0040.00416.92
8.0.220.0000.00716.85
8.0.210.0040.00416.84
8.0.200.0050.00216.77
8.0.190.0050.00316.93
8.0.180.0050.00316.83
8.0.170.0040.00416.73
8.0.160.0000.00716.79
8.0.150.0030.00516.62
8.0.140.0030.00516.81
8.0.130.0040.00413.22
8.0.120.0060.00316.84
8.0.110.0040.00416.85
8.0.100.0040.00416.62
8.0.90.0040.00416.81
8.0.80.0030.01316.71
8.0.70.0040.00416.82
8.0.60.0080.00016.75
8.0.50.0000.00716.86
8.0.30.0080.01116.96
8.0.20.0140.00417.40
8.0.10.0070.00016.90
8.0.00.0090.00916.70
7.4.330.0020.00215.13
7.4.320.0040.00416.44
7.4.300.0000.00616.58
7.4.290.0070.00016.47
7.4.280.0070.00016.45
7.4.270.0040.00416.57
7.4.260.0070.00016.47
7.4.250.0000.00716.50
7.4.240.0040.00316.59
7.4.230.0040.00416.67
7.4.220.0090.01016.55
7.4.210.0060.00916.53
7.4.200.0000.00716.39
7.4.190.0080.00016.71
7.4.160.0110.00416.39
7.4.150.0140.00317.40
7.4.140.0090.00817.86
7.4.130.0180.00316.43
7.4.120.0050.01316.45
7.4.110.0120.00616.48
7.4.100.0090.01316.35
7.4.90.0090.01216.34
7.4.80.0070.01019.39
7.4.70.0060.01216.52
7.4.60.0070.01016.50
7.4.50.0080.00016.52
7.4.40.0120.00322.77
7.4.30.0060.01516.39
7.4.00.0080.00914.91
7.3.330.0070.00013.18
7.3.320.0000.00613.10
7.3.310.0000.00816.23
7.3.300.0040.00416.20
7.3.290.0130.00316.16
7.3.280.0090.00916.21
7.3.270.0140.00317.40
7.3.260.0110.00616.23
7.3.250.0160.00416.30
7.3.240.0130.00316.19
7.3.230.0140.01016.39
7.3.210.0060.00916.18
7.3.200.0030.01319.39
7.3.190.0060.01816.47
7.3.180.0170.00016.45
7.3.170.0060.00916.27
7.3.160.0040.01116.26
7.3.120.0080.00814.58
7.3.110.0030.01414.60
7.3.100.0000.01514.54
7.3.90.0030.01014.63
7.3.80.0080.00514.87
7.3.70.0050.00514.45
7.3.60.0030.01014.36
7.3.50.0070.00414.70
7.3.40.0040.01214.58
7.3.30.0040.00814.42
7.3.20.0060.00916.57
7.3.10.0030.01216.66
7.3.00.0060.00916.54
7.2.330.0170.00016.51
7.2.320.0140.00616.52
7.2.310.0080.01116.32
7.2.300.0110.00616.19
7.2.290.0100.00616.65
7.2.250.0140.00414.82
7.2.240.0070.01314.90
7.2.230.0000.01814.95
7.2.220.0070.01114.82
7.2.210.0070.00715.02
7.2.200.0110.00314.84
7.2.190.0030.01015.00
7.2.180.0060.00614.79
7.2.170.0110.00314.83
7.2.00.0060.00919.08
7.1.330.0030.01015.82
7.1.320.0030.01315.84
7.1.310.0110.00415.67
7.1.300.0070.00715.56
7.1.290.0040.00815.77
7.1.280.0060.00915.90
7.1.270.0060.00615.55
7.1.260.0040.00715.77
7.1.100.0030.01317.82
7.1.70.0040.00417.20
7.1.60.0130.01319.82
7.1.50.0070.01616.64
7.1.00.0070.07022.54
7.0.200.0080.00816.54
7.0.140.0070.07022.00
7.0.60.0000.04319.84
7.0.50.0030.04017.86
7.0.40.0100.07020.15
7.0.30.0230.04720.21
7.0.20.0270.04320.19
7.0.10.0200.08720.33
7.0.00.0000.09020.04
5.6.280.0070.07021.07
5.6.210.0130.07320.55
5.6.200.0000.05318.15
5.6.190.0030.06720.43
5.6.180.4200.04720.64
5.6.170.0230.07020.45
5.6.160.0030.09020.71
5.6.150.0170.06718.15
5.6.140.0030.07718.24
5.6.130.0000.06318.14
5.6.120.0030.05320.99
5.6.110.0130.08021.01
5.6.100.0000.09021.13
5.6.90.0070.08320.88
5.6.80.0070.05320.38
5.6.70.0330.07020.38
5.5.350.0000.07020.38
5.5.340.0070.05017.99
5.5.330.0070.04720.40
5.5.320.0270.07720.30
5.5.310.0270.07720.30
5.5.300.0100.07717.98
5.5.290.0070.07717.92
5.5.280.0030.04320.80
5.5.270.0070.04320.87
5.5.260.0070.04020.65
5.5.250.0100.04320.69
5.5.240.0070.05720.26
5.4.450.0170.05719.32
5.4.440.0200.05319.41
5.4.430.0330.04719.46
5.4.420.0200.06019.32
5.4.410.0270.07019.35
5.4.400.0230.07319.25
5.4.390.0230.04719.13
5.4.380.0230.06719.22
5.4.370.0230.04019.21
5.4.360.0130.04719.09
5.4.350.0270.06719.13
5.4.340.0200.05018.98
5.4.320.0230.03319.06
5.4.310.0300.03319.13
5.4.300.0200.05018.94
5.4.290.0200.03319.13
5.4.280.0230.03319.05
5.4.270.0230.07319.13
5.4.260.0200.07318.99
5.4.250.0170.04719.30
5.4.240.0230.04719.06
5.4.230.0170.05019.14
5.4.220.0300.06719.22
5.4.210.0300.06718.86
5.4.200.0200.04319.21
5.4.190.0270.07019.22
5.4.180.0130.04719.14
5.4.170.0170.06018.86
5.4.160.0230.05719.07
5.4.150.0200.07019.24
5.4.140.0200.04716.36
5.4.130.0200.06716.41
5.4.120.0270.05316.32
5.4.110.0130.03716.55
5.4.100.0300.05716.45
5.4.90.0230.03016.26
5.4.80.0300.04716.53
5.4.70.0230.04316.54
5.4.60.0230.07316.35
5.4.50.0270.04316.34
5.4.40.0230.05316.51
5.4.30.0330.03316.16
5.4.20.0170.07316.42
5.4.10.0230.07016.35
5.4.00.0230.05015.87
5.3.290.0130.04014.88
5.3.280.0200.07714.60
5.3.270.0200.07714.76
5.3.260.0230.07014.51
5.3.250.0230.07314.52
5.3.240.0200.04014.51
5.3.230.0300.06314.50
5.3.220.0230.04314.61
5.3.210.0270.06314.48
5.3.200.0130.04014.63
5.3.190.0170.04014.48
5.3.180.0230.07314.53
5.3.170.0200.07714.53
5.3.160.0200.06714.46
5.3.150.0270.06714.48
5.3.140.0200.04314.49
5.3.130.0200.04714.45
5.3.120.0170.05014.65
5.3.110.0270.03314.53
5.3.100.0130.04014.19
5.3.90.0230.03313.94
5.3.80.0200.07313.93
5.3.70.0330.04013.93
5.3.60.0200.04013.98
5.3.50.0200.04013.87
5.3.40.0170.04014.02
5.3.30.0130.03713.80
5.3.20.0170.04013.91
5.3.10.0170.04313.66
5.3.00.0200.04713.56
5.2.170.0200.06012.11
5.2.160.0200.03312.11
5.2.150.0130.05712.11
5.2.140.0170.03312.11
5.2.130.0200.04312.11
5.2.120.0130.06312.11
5.2.110.0170.05712.11
5.2.100.0170.06012.11
5.2.90.0170.05712.11
5.2.80.0200.04012.12
5.2.70.0230.04312.12
5.2.60.0130.07012.14
5.2.50.0130.06012.14
5.2.40.0170.06012.14
5.2.30.0100.06312.14
5.2.20.0070.05712.14
5.2.10.0200.05312.14
5.2.00.0200.05712.14
5.1.60.0230.03312.14
5.1.50.0130.05312.14
5.1.40.0100.04312.14
5.1.30.0100.05712.14
5.1.20.0200.03712.14
5.1.10.0170.05312.14
5.1.00.0130.05012.14
5.0.50.0170.01312.14
5.0.40.0100.04012.14
5.0.30.0100.04012.14
5.0.20.0000.04012.14
5.0.10.0070.04712.14
5.0.00.0070.03312.14
4.4.90.0030.03012.13
4.4.80.0170.02012.14
4.4.70.0030.04012.14
4.4.60.0130.02012.14
4.4.50.0030.03712.14
4.4.40.0070.04012.14
4.4.30.0200.02312.14
4.4.20.0070.03012.14
4.4.10.0100.02312.14
4.4.00.0100.05012.14
4.3.110.0070.02012.14
4.3.100.0070.03312.14
4.3.90.0030.03012.14
4.3.80.0100.05312.14
4.3.70.0100.03312.14
4.3.60.0100.02312.14
4.3.50.0100.02312.14
4.3.40.0030.05312.14
4.3.30.0000.02712.14
4.3.20.0000.03712.14
4.3.10.0030.03712.14
4.3.00.0000.04012.14

preferences:
39.42 ms | 401 KiB | 5 Q