3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{} $foo = array('foo' => 'foo', 'bar'=>array('bar'), 'x'=>new stdclass()); $bar = new Foo; $fooMsg = var_export($foo, true); $barMsg = var_export($bar, true); var_dump($fooMsg,$barMsg);

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.0170.00318.30
8.3.50.0120.00321.98
8.3.40.0040.01118.58
8.3.30.0160.00418.91
8.3.20.0030.00520.39
8.3.10.0000.00822.04
8.3.00.0060.00322.45
8.2.180.0120.00316.50
8.2.170.0120.00922.96
8.2.160.0070.00720.93
8.2.150.0030.00524.18
8.2.140.0070.00324.66
8.2.130.0050.00226.16
8.2.120.0050.00319.23
8.2.110.0040.00422.11
8.2.100.0080.00317.72
8.2.90.0040.00419.08
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0000.00817.93
8.2.50.0050.00318.07
8.2.40.0040.00418.22
8.2.30.0060.00317.94
8.2.20.0000.00717.64
8.2.10.0000.00917.54
8.2.00.0000.00817.73
8.1.280.0120.00325.92
8.1.270.0050.00223.79
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00623.82
8.1.230.0110.00019.10
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0050.00517.23
8.1.190.0050.00317.30
8.1.180.0040.00418.10
8.1.170.0000.00918.66
8.1.160.0030.00522.07
8.1.150.0040.00418.57
8.1.140.0030.00517.39
8.1.130.0000.00617.75
8.1.120.0070.00017.46
8.1.110.0040.00417.43
8.1.100.0000.00717.37
8.1.90.0000.00717.42
8.1.80.0000.00717.32
8.1.70.0070.00017.29
8.1.60.0040.00417.55
8.1.50.0050.00317.43
8.1.40.0040.00417.43
8.1.30.0030.00617.57
8.1.20.0080.00017.57
8.1.10.0090.00017.50
8.1.00.0070.00017.30
8.0.300.0000.00718.77
8.0.290.0000.00817.16
8.0.280.0000.00718.43
8.0.270.0030.00317.11
8.0.260.0060.00016.75
8.0.250.0030.00316.89
8.0.240.0040.00416.89
8.0.230.0000.00716.80
8.0.220.0030.00516.85
8.0.210.0030.00316.81
8.0.200.0030.00316.75
8.0.190.0070.00016.84
8.0.180.0000.00716.89
8.0.170.0000.00716.77
8.0.160.0040.00416.82
8.0.150.0030.00316.61
8.0.140.0000.00716.70
8.0.130.0030.00313.28
8.0.120.0040.00416.82
8.0.110.0000.00816.71
8.0.100.0040.00416.85
8.0.90.0050.00316.70
8.0.80.0090.00616.71
8.0.70.0040.00416.94
8.0.60.0040.00416.71
8.0.50.0040.00416.85
8.0.30.0130.00716.96
8.0.20.0090.01017.40
8.0.10.0020.00516.89
8.0.00.0130.01216.72
7.4.330.0020.00215.07
7.4.320.0070.00016.31
7.4.300.0060.00016.57
7.4.290.0000.00716.48
7.4.280.0080.00016.52
7.4.270.0030.00316.48
7.4.260.0000.00716.54
7.4.250.0000.00716.45
7.4.240.0040.00416.39
7.4.230.0000.00716.51
7.4.220.0070.01116.51
7.4.210.0080.00716.49
7.4.200.0070.00016.45
7.4.190.0030.00316.66
7.4.160.0090.00616.52
7.4.150.0100.01017.40
7.4.140.0150.00217.86
7.4.130.0110.00816.41
7.4.120.0100.00716.52
7.4.110.0040.01316.21
7.4.100.0060.01116.25
7.4.90.0110.00616.40
7.4.80.0030.01519.39
7.4.70.0080.00816.34
7.4.60.0070.01116.57
7.4.50.0040.00416.30
7.4.40.0030.01322.77
7.4.30.0070.01016.58
7.4.00.0070.00714.82
7.3.330.0020.00213.05
7.3.320.0000.00513.18
7.3.310.0030.00316.10
7.3.300.0030.00316.23
7.3.290.0130.00716.25
7.3.280.0090.00816.24
7.3.270.0140.00417.40
7.3.260.0110.00616.29
7.3.250.0090.01016.45
7.3.240.0100.00716.48
7.3.230.0170.00016.54
7.3.210.0100.00916.29
7.3.200.0130.01419.39
7.3.190.0070.01116.31
7.3.180.0070.01016.32
7.3.170.0070.01416.45
7.3.160.0100.00616.14
7.3.120.0040.01214.96
7.2.330.0120.00616.61
7.2.320.0060.01216.67
7.2.310.0050.01416.77
7.2.300.0080.00816.58
7.2.290.0130.01016.46
7.2.00.0080.00319.25
7.1.200.0080.00015.49
7.1.100.0040.01118.03
7.1.70.0030.01017.09
7.1.60.0060.00919.82
7.1.50.0140.01016.57
7.1.00.0000.10022.28
7.0.200.0080.00416.36
7.0.140.0000.07722.04
7.0.110.0600.08019.93
7.0.100.0700.06719.96
7.0.90.0530.08019.89
7.0.80.0400.06319.86
7.0.70.0400.04019.96
7.0.60.0270.07020.03
7.0.50.0500.05319.91
7.0.40.0030.05319.80
7.0.30.0100.07719.66
7.0.20.0100.07719.74
7.0.10.0100.08319.65
7.0.00.0030.08319.74
5.6.280.0070.06720.91
5.6.260.0100.08020.62
5.6.250.0030.08720.64
5.6.240.0100.08320.55
5.6.230.0130.07320.68
5.6.220.0100.03020.53
5.6.210.0030.06720.55
5.6.200.0070.03720.62
5.6.190.0100.08020.64
5.6.180.0100.08020.66
5.6.170.0130.08020.68
5.6.160.0130.07720.64
5.6.150.0170.07020.62
5.6.140.0070.04320.63
5.6.130.0100.08020.58
5.6.120.0070.05320.61
5.6.110.0030.05020.63
5.6.100.0030.07020.64
5.6.90.0100.07720.69
5.6.80.0200.06320.00
5.6.70.0170.06019.84
5.6.60.0170.05319.92
5.6.50.0130.07320.00
5.6.40.0100.07020.21
5.6.30.0070.08320.05
5.6.20.0030.08019.82
5.6.10.0170.06720.03
5.6.00.0100.08019.84
5.5.380.0200.06017.69
5.5.370.0030.04317.53
5.5.360.0070.03717.50
5.5.350.0030.08317.58
5.5.340.0030.05017.93
5.5.330.0030.07718.10
5.5.320.0170.07018.24
5.5.310.0000.08318.07
5.5.300.0000.07717.95
5.5.290.0100.06318.07
5.5.280.0070.08318.12
5.5.270.0000.05717.92
5.5.260.0100.04718.07
5.5.250.0030.07717.72
5.5.240.0070.06017.32
5.5.230.0030.08717.47
5.5.220.0100.07317.29
5.5.210.0070.08017.29
5.5.200.0130.07017.53
5.5.190.0070.08017.27
5.5.180.0070.07717.31
5.5.160.0030.07717.27
5.5.150.0170.06017.43
5.5.140.0000.08317.44
5.5.130.0070.06717.39
5.5.120.0030.07317.45
5.5.110.0070.07317.25
5.5.100.0100.07717.35
5.5.90.0130.06317.34
5.5.80.0070.07717.38
5.5.70.0200.06717.17
5.5.60.0130.06317.46
5.5.50.0100.07317.46
5.5.40.0030.07017.37
5.5.30.0030.08017.15
5.5.20.0000.08017.23
5.5.10.0030.05017.46
5.5.00.0070.07717.29
5.4.450.0070.05019.66
5.4.440.0030.07019.55
5.4.430.0070.04319.63
5.4.420.0100.07319.29
5.4.410.0070.07719.29
5.4.400.0030.07019.14
5.4.390.0100.08019.00
5.4.380.0070.07719.09
5.4.370.0070.08018.99
5.4.360.0000.08019.16
5.4.350.0100.06019.34
5.4.340.0100.07319.34
5.4.320.0070.07319.19
5.4.310.0070.04019.16
5.4.300.0100.07319.24
5.4.290.0100.07319.03
5.4.280.0130.07719.02
5.4.270.0070.08019.13
5.4.260.0030.08719.00
5.4.250.0100.07318.95
5.4.240.0100.06319.16
5.4.230.0030.06319.30
5.4.220.0100.08019.18
5.4.210.0100.07319.20
5.4.200.0100.07019.32
5.4.190.0100.07719.00
5.4.180.0030.08019.01
5.4.170.0130.07019.00
5.4.160.0130.06719.14
5.4.150.0070.06718.95
5.4.140.0030.07716.36
5.4.130.0130.05716.41
5.4.120.0070.06316.34
5.4.110.0170.06316.44
5.4.100.0070.08016.50
5.4.90.0030.04016.47
5.4.80.0170.06016.34
5.4.70.0130.06716.50
5.4.60.0100.07016.52
5.4.50.0030.06716.33
5.4.40.0100.06316.34
5.4.30.0070.04316.54
5.4.20.0100.06316.33
5.4.10.0100.06716.47
5.4.00.0100.06715.75
5.3.290.0130.06714.74
5.3.280.0130.06014.61
5.3.270.0030.07714.60
5.3.260.0070.07314.57
5.3.250.0170.05714.72
5.3.240.0100.07314.61
5.3.230.0070.07314.72
5.3.220.0100.06714.52
5.3.210.0030.07014.54
5.3.200.0130.05714.64
5.3.190.0030.07714.69
5.3.180.0130.07314.70
5.3.170.0070.06314.56
5.3.160.0230.05714.70
5.3.150.0130.07014.55
5.3.140.0070.03714.54
5.3.130.0030.07714.54
5.3.120.0100.08014.64
5.3.110.0130.06714.53
5.3.100.0070.07013.91
5.3.90.0070.07014.02
5.3.80.0100.06714.16
5.3.70.0100.06714.08
5.3.60.0030.07714.07
5.3.50.0070.07013.94
5.3.40.0030.03714.08
5.3.30.0070.02713.91
5.3.20.0000.03713.68
5.3.10.0000.05313.66
5.3.00.0100.06713.70
5.2.170.0100.04011.16
5.2.160.0070.03311.18
5.2.150.0030.03011.29
5.2.140.0000.03311.00
5.2.130.0000.02711.10
5.2.120.0000.04011.23
5.2.110.0030.03011.11
5.2.100.0100.05711.06
5.2.90.0030.02711.18
5.2.80.0030.05311.08
5.2.70.0000.05311.09
5.2.60.0000.02711.04
5.2.50.0070.05711.16
5.2.40.0070.06011.00
5.2.30.0170.05310.95
5.2.20.0070.06011.09
5.2.10.0030.06010.94
5.2.00.0030.03710.84
5.1.60.0000.05310.15
5.1.50.0000.05310.18
5.1.40.0100.04710.15
5.1.30.0130.02710.47
5.1.20.0100.05010.31
5.1.10.0030.05710.32
5.1.00.0030.03310.15
5.0.50.0000.03010.15
5.0.40.0000.02710.15
5.0.30.0030.06310.15
5.0.20.0000.04710.15
5.0.10.0000.04710.15
5.0.00.0070.06310.15
4.4.90.0070.01710.15
4.4.80.0000.03310.15
4.4.70.0030.03010.15
4.4.60.0030.03010.15
4.4.50.0070.03010.15
4.4.40.0070.05010.15
4.4.30.0000.03710.15
4.4.20.0030.03310.15
4.4.10.0030.03310.15
4.4.00.0000.05710.15
4.3.110.0030.03310.15
4.3.100.0070.02310.15
4.3.90.0030.03010.15
4.3.80.0030.05010.15
4.3.70.0000.03710.15
4.3.60.0030.03310.15
4.3.50.0000.03710.15
4.3.40.0070.05010.15
4.3.30.0000.03710.15
4.3.20.0030.02710.15
4.3.10.0000.02310.15
4.3.00.0030.03310.15

preferences:
45.06 ms | 400 KiB | 5 Q