3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { var $c = null; function funcall () { return array(2,3); } } $o = new Test; // Chain assignment list ($a,$b) = $o->c = $o->funcall(); print "XXX"; print $a; print "YYY";

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.0120.00918.52
8.3.50.0110.00621.97
8.3.40.0140.00318.80
8.3.30.0030.01020.34
8.3.20.0040.00418.77
8.3.10.0040.00421.04
8.3.00.0080.00019.81
8.2.180.0110.01116.75
8.2.170.0070.01622.96
8.2.160.0100.01020.35
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0080.00019.96
8.2.110.0080.00320.55
8.2.100.0090.00317.97
8.2.90.0000.00719.37
8.2.80.0040.00419.18
8.2.70.0000.00817.63
8.2.60.0040.00418.16
8.2.50.0100.00018.07
8.2.40.0050.00319.89
8.2.30.0040.00419.45
8.2.20.0060.00317.71
8.2.10.0080.00017.66
8.2.00.0050.00317.73
8.1.270.0080.00023.99
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0060.00322.46
8.1.230.0070.00420.97
8.1.220.0000.00818.77
8.1.210.0080.00018.91
8.1.200.0030.00617.35
8.1.190.0040.00417.65
8.1.180.0080.00018.10
8.1.170.0000.00818.55
8.1.160.0070.00018.89
8.1.150.0040.00418.54
8.1.140.0000.00717.32
8.1.130.0000.00817.83
8.1.120.0030.00617.45
8.1.110.0040.00417.29
8.1.100.0040.00417.38
8.1.90.0040.00417.30
8.1.80.0020.00517.35
8.1.70.0000.00717.35
8.1.60.0060.00317.63
8.1.50.0080.00017.46
8.1.40.0030.00517.42
8.1.30.0040.00417.71
8.1.20.0000.00817.63
8.1.10.0000.00717.57
8.1.00.0000.00917.55
8.0.300.0030.00319.94
8.0.290.0040.00417.05
8.0.280.0030.00318.45
8.0.270.0030.00317.32
8.0.260.0070.00016.83
8.0.250.0050.00316.96
8.0.240.0000.00816.95
8.0.230.0000.00716.80
8.0.220.0030.00316.84
8.0.210.0000.00716.85
8.0.200.0070.00016.94
8.0.190.0030.00516.87
8.0.180.0000.00716.88
8.0.170.0080.00016.82
8.0.160.0070.00016.89
8.0.150.0040.00416.67
8.0.140.0040.00416.80
8.0.130.0000.00513.29
8.0.120.0040.00416.69
8.0.110.0050.00316.64
8.0.100.0070.00016.88
8.0.90.0000.00816.79
8.0.80.0100.00916.81
8.0.70.0020.00516.70
8.0.60.0000.00716.86
8.0.50.0000.00716.80
8.0.30.0040.01817.04
8.0.20.0120.01417.40
8.0.10.0040.00416.98
8.0.00.0070.01016.66
7.4.330.0060.00016.74
7.4.320.0000.00716.46
7.4.300.0000.00616.50
7.4.290.0050.00216.49
7.4.280.0040.00416.49
7.4.270.0030.00316.42
7.4.260.0000.00513.28
7.4.250.0050.00316.36
7.4.240.0070.00016.40
7.4.230.0060.00016.31
7.4.220.0100.01416.48
7.4.210.0070.01116.56
7.4.200.0030.00316.60
7.4.190.0000.00716.56
7.4.160.0100.00516.30
7.4.150.0210.00317.40
7.4.140.0090.00917.86
7.4.130.0160.00416.47
7.4.120.0090.01216.52
7.4.110.0110.00516.42
7.4.100.0000.02216.22
7.4.90.0060.01816.61
7.4.80.0090.00919.39
7.4.70.0060.00916.34
7.4.60.0030.01316.57
7.4.50.0030.00616.54
7.4.40.0060.00922.77
7.4.30.0060.01116.55
7.4.00.0060.01215.07
7.3.330.0060.00013.37
7.3.320.0000.00513.18
7.3.310.0030.00516.35
7.3.300.0040.00416.37
7.3.290.0100.00316.27
7.3.280.0130.00716.40
7.3.270.0110.00717.40
7.3.260.0120.00718.24
7.3.250.0070.00916.52
7.3.240.0070.01016.66
7.3.230.0100.01416.55
7.3.210.0060.01216.35
7.3.200.0130.01019.39
7.3.190.0090.01216.51
7.3.180.0100.00716.36
7.3.170.0060.01016.51
7.3.160.0060.01016.52
7.3.120.0000.01414.89
7.3.10.0040.01416.59
7.3.00.0130.00716.23
7.2.330.0070.01316.77
7.2.320.0140.00416.70
7.2.310.0140.01016.46
7.2.300.0090.00916.41
7.2.290.0100.00616.73
7.2.130.0160.00216.17
7.2.120.0110.01116.48
7.2.110.0160.00716.43
7.2.100.0170.00716.58
7.2.90.0100.01016.43
7.2.80.0140.00816.42
7.2.70.0190.00816.29
7.2.60.0060.01016.38
7.2.50.0070.02016.57
7.2.40.0100.01316.70
7.2.30.0130.01316.89
7.2.20.0110.01116.41
7.2.10.0120.00416.43
7.2.00.0110.00818.12
7.1.250.0160.00515.25
7.1.100.0040.00418.21
7.1.70.0050.00517.18
7.1.60.0030.01617.41
7.1.50.0000.01116.92
7.1.40.0030.01516.54
7.1.30.0070.00716.71
7.1.20.0000.01116.86
7.1.10.0000.00816.70
7.1.00.0030.00516.98
7.0.200.0120.00316.67
7.0.190.0040.00416.50
7.0.180.0100.00016.31
7.0.170.0000.00916.21
7.0.160.0040.00416.21
7.0.150.0000.00916.19
7.0.140.0030.00616.46
7.0.130.0030.01016.65
7.0.120.0040.00416.59
7.0.110.0040.00416.46
7.0.100.0060.00916.20
7.0.90.0080.01116.20
7.0.80.0000.00716.36
7.0.70.0000.00816.33
7.0.60.0070.01316.29
7.0.50.0030.00616.36
7.0.40.0030.01216.19
7.0.30.0050.00516.19
7.0.20.0040.00716.19
7.0.10.0030.00516.19
7.0.00.0000.00716.19
5.6.300.0100.04320.68
5.6.290.0000.04420.67
5.6.280.0130.03520.82
5.6.270.0030.05120.98
5.6.260.0040.03920.91
5.6.250.0030.08320.87
5.6.240.0000.04420.98
5.6.230.0000.05721.06
5.6.220.0000.05120.93
5.6.210.0030.04421.02
5.6.200.0060.03820.81
5.6.190.0170.03720.99
5.6.180.0160.07920.94
5.6.170.0030.06220.83
5.6.160.0000.04320.92
5.6.150.0000.04520.84
5.6.140.0040.04920.93
5.6.130.0030.04520.76
5.6.120.0070.04720.82
5.6.110.0000.04520.81
5.6.100.0000.05220.78
5.6.90.0140.05220.84
5.6.80.0030.04120.41
5.6.70.0070.03820.14
5.6.60.0030.07020.37
5.6.50.0070.04320.41
5.6.40.0000.08220.19
5.6.30.0070.05020.22
5.6.20.0130.03620.17
5.6.10.0000.05220.18
5.6.00.0000.05120.16
5.5.380.0070.04017.57
5.5.370.0030.04317.63
5.5.360.0030.06017.47
5.5.350.0030.05517.57
5.5.340.0070.04218.10
5.5.330.0030.03918.15
5.5.320.0030.04418.08
5.5.310.0000.08818.09
5.5.300.0000.04118.09
5.5.290.0030.04518.08
5.5.280.0030.04217.84
5.5.270.0190.04817.70
5.5.260.0000.04618.05
5.5.250.0000.04117.94
5.5.240.0040.04617.09
5.5.230.0090.03117.10
5.5.220.0030.07817.46
5.5.210.0030.03717.24
5.5.200.0070.07617.44
5.5.190.0070.03817.53
5.5.180.0070.03417.45
5.5.160.0000.04617.44
5.5.150.0030.03817.09
5.5.140.0000.04317.44
5.5.130.0070.04317.52
5.5.120.0000.05017.09
5.5.110.0000.04117.40
5.5.100.0100.04417.29
5.5.90.0030.03817.31
5.5.80.0070.07417.33
5.5.70.0030.09017.31
5.5.60.0030.03717.21
5.5.50.0000.03917.17
5.5.40.0030.03617.28
5.5.30.0000.03917.16
5.5.20.0000.05117.30
5.5.10.0100.03217.31
5.5.00.0090.03117.25
5.4.450.0060.03919.31
5.4.440.0070.04319.49
5.4.430.0060.03519.32
5.4.420.0070.03719.23
5.4.410.0000.10519.40
5.4.400.0030.03819.07
5.4.390.0000.04019.21
5.4.380.0070.07119.17
5.4.370.0000.06619.09
5.4.360.0030.04618.89
5.4.350.0070.07519.09
5.4.340.0100.07618.92
5.4.320.0030.04619.06
5.4.310.0070.04619.21
5.4.300.0030.04819.22
5.4.290.0000.04219.07
5.4.280.0130.04819.08
5.4.270.0070.03318.94
5.4.260.0030.04018.97
5.4.250.0070.06219.05
5.4.240.0030.07018.91
5.4.230.0000.05418.91
5.4.220.0030.03818.85
5.4.210.0000.04218.90
5.4.200.0030.07918.84
5.4.190.0070.03518.89
5.4.180.0040.03518.87
5.4.170.0030.03719.15
5.4.160.0070.04818.77
5.4.150.0030.06618.88
5.4.140.0130.02616.45
5.4.130.0030.05416.57
5.4.120.0030.04016.74
5.4.110.0030.05016.72
5.4.100.0000.05116.63
5.4.90.0070.03616.57
5.4.80.0030.03416.60
5.4.70.0030.03316.46
5.4.60.0000.04216.59
5.4.50.0000.03716.65
5.4.40.0060.03216.63
5.4.30.0040.03516.73
5.4.20.0000.03616.63
5.4.10.0070.03016.73
5.4.00.0000.03616.19
5.3.290.0000.04416.19
5.3.280.0170.03716.19
5.3.270.0000.04916.19
5.3.260.0030.05116.19
5.3.250.0030.04916.19
5.3.240.0030.03516.19
5.3.230.0030.04116.19
5.3.220.0000.03716.19
5.3.210.0070.07616.19
5.3.200.0100.06816.19
5.3.190.0070.03316.19
5.3.180.0140.03516.19
5.3.170.0030.03616.19
5.3.160.0000.04016.19
5.3.150.0000.04716.19
5.3.140.0000.04016.19
5.3.130.0070.04416.19
5.3.120.0000.04416.19
5.3.110.0000.04216.19
5.3.100.0030.03916.19
5.3.90.0000.03716.19
5.3.80.0030.03316.19
5.3.70.0060.03516.19
5.3.60.0100.02716.19
5.3.50.0000.03916.19
5.3.40.0030.03716.19
5.3.30.0240.03216.19
5.3.20.0030.04016.19
5.3.10.0060.03216.19
5.3.00.0090.03116.19
5.2.170.0000.03916.19
5.2.160.0100.03116.19
5.2.150.0070.03916.19
5.2.140.0040.02916.19
5.2.130.0140.02416.19
5.2.120.0160.03616.19
5.2.110.0030.02716.19
5.2.100.0000.04016.19
5.2.90.0030.02816.19
5.2.80.0000.03816.19
5.2.70.0030.05816.19
5.2.60.0030.02716.19
5.2.50.0060.02916.19
5.2.40.0170.02316.19
5.2.30.0070.03516.19
5.2.20.0070.02316.19
5.2.10.0000.04316.19
5.2.00.0030.03316.19
5.1.60.0000.03116.19
5.1.50.0000.02916.19
5.1.40.0060.01916.19
5.1.30.0030.03416.19
5.1.20.0030.02816.19
5.1.10.0000.02716.19
5.1.00.0000.02716.19
5.0.50.0030.01916.19
5.0.40.0090.01216.19
5.0.30.0000.03216.19
5.0.20.0030.04216.19
5.0.10.0000.02416.19
5.0.00.0000.07116.19
4.4.90.0030.01316.19
4.4.80.0040.01516.19
4.4.70.0030.01316.19
4.4.60.0030.01716.19
4.4.50.0000.01716.19
4.4.40.0000.02816.19
4.4.30.0000.02416.19
4.4.20.0000.01916.19
4.4.10.0030.02416.19
4.4.00.0090.01616.19
4.3.110.0000.02016.19
4.3.100.0030.02716.19
4.3.90.0030.02916.19
4.3.80.0030.02616.19
4.3.70.0000.04016.19
4.3.60.0000.02616.19
4.3.50.0030.01516.19
4.3.40.0030.02416.19
4.3.30.0000.01716.19
4.3.20.0030.02016.19
4.3.10.0000.01716.19
4.3.00.0000.02616.19

preferences:
57.71 ms | 400 KiB | 5 Q