3v4l.org

run code in 300+ PHP versions simultaneously
<?php $info = array('tr'=>'coffee', 'tr1'=>'brown', 'tr2'=>'caffeine'); // Listing all the variables list($drink, $color, $power) = $info; echo "$drink is $color and $power makes it special.\n";

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.0060.00918.55
8.3.50.0110.00722.06
8.3.40.0120.00918.81
8.3.30.0120.00619.02
8.3.20.0140.00420.21
8.3.10.0180.00023.48
8.3.00.0050.00320.67
8.2.180.0120.00316.63
8.2.170.0110.01122.96
8.2.160.0070.01022.08
8.2.150.0040.00424.18
8.2.140.0060.01324.66
8.2.130.0070.01026.16
8.2.120.0090.00019.48
8.2.110.0000.01020.52
8.2.100.0040.00817.84
8.2.90.0000.00819.35
8.2.80.0090.00017.97
8.2.70.0030.00917.50
8.2.60.0030.00917.78
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0000.00718.00
8.2.20.0040.00417.65
8.2.10.0030.00517.66
8.2.00.0100.00017.76
8.1.280.0100.00725.92
8.1.270.0090.00623.90
8.1.260.0120.00626.35
8.1.250.0080.00028.09
8.1.240.0060.00323.79
8.1.230.0080.00417.64
8.1.220.0030.00517.76
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0070.00017.53
8.1.180.0000.00818.10
8.1.170.0000.00818.53
8.1.160.0040.00421.91
8.1.150.0040.00418.57
8.1.140.0040.00417.38
8.1.130.0040.00417.70
8.1.120.0040.00417.29
8.1.110.0030.00617.37
8.1.100.0050.00217.45
8.1.90.0000.00917.39
8.1.80.0000.00717.39
8.1.70.0030.00317.28
8.1.60.0040.00417.55
8.1.50.0000.00717.35
8.1.40.0000.00817.32
8.1.30.0050.00317.50
8.1.20.0040.00417.42
8.1.10.0030.00517.50
8.1.00.0040.00417.49
8.0.300.0050.00218.77
8.0.290.0030.00516.74
8.0.280.0030.00318.55
8.0.270.0070.00017.24
8.0.260.0000.00618.31
8.0.250.0070.00016.93
8.0.240.0040.00417.02
8.0.230.0040.00417.05
8.0.220.0050.00216.93
8.0.210.0040.00416.82
8.0.200.0030.00316.87
8.0.190.0060.00316.94
8.0.180.0030.00616.97
8.0.170.0000.00816.95
8.0.160.0060.00316.95
8.0.150.0050.00316.97
8.0.140.0000.00716.79
8.0.130.0030.00313.37
8.0.120.0050.00316.82
8.0.110.0070.00016.87
8.0.100.0080.00016.77
8.0.90.0000.00716.82
8.0.80.0060.00916.91
8.0.70.0040.00416.82
8.0.60.0050.00316.77
8.0.50.0040.00416.96
8.0.30.0100.01517.12
8.0.20.0110.00917.40
8.0.10.0000.00717.05
8.0.00.0160.00516.74
7.4.330.0050.00015.05
7.4.320.0060.00016.46
7.4.300.0040.00416.33
7.4.290.0070.00016.54
7.4.280.0030.00316.57
7.4.270.0070.00016.46
7.4.260.0060.00016.51
7.4.250.0070.00016.41
7.4.240.0030.00416.50
7.4.230.0000.00816.63
7.4.220.0040.01116.30
7.4.210.0120.00416.60
7.4.200.0070.00016.33
7.4.190.0000.00716.68
7.4.160.0040.01216.70
7.4.150.0080.00817.40
7.4.140.0090.01117.86
7.4.130.0070.01416.49
7.4.120.0070.01016.55
7.4.110.0100.00716.62
7.4.100.0030.01416.50
7.4.90.0070.01516.55
7.4.80.0100.01016.65
7.4.70.0090.00616.58
7.4.60.0090.00716.34
7.4.50.0030.00516.45
7.4.40.0030.00922.77
7.4.30.0130.00416.57
7.4.00.0040.01114.86
7.3.330.0030.00613.11
7.3.320.0030.00313.00
7.3.310.0000.00716.32
7.3.300.0030.00316.29
7.3.290.0100.00316.20
7.3.280.0090.00816.31
7.3.270.0150.00317.40
7.3.260.0090.01516.29
7.3.250.0090.01116.35
7.3.240.0110.00516.40
7.3.230.0060.00916.58
7.3.210.0130.01316.49
7.3.200.0100.00719.39
7.3.190.0160.00016.28
7.3.180.0100.00616.62
7.3.170.0110.00416.41
7.3.160.0000.01716.27
7.3.120.0000.01415.16
7.2.330.0120.01216.45
7.2.320.0110.01216.50
7.2.310.0090.00916.29
7.2.300.0000.01716.58
7.2.290.0100.00616.39
7.2.60.0130.00016.49
7.2.00.0040.01119.46
7.1.200.0040.00815.67
7.1.100.0030.01018.00
7.1.70.0050.00216.99
7.1.60.0090.01519.32
7.1.50.0140.00716.84
7.1.00.0000.08022.49
7.0.200.0090.00616.53
7.0.140.0070.07021.96
7.0.60.0170.07319.90
7.0.50.0100.07317.80
7.0.40.0030.05020.04
7.0.30.0270.05020.18
7.0.20.0370.07320.30
7.0.10.0200.04020.18
7.0.00.0070.03719.96
5.6.280.0070.07020.90
5.6.210.0100.03720.52
5.6.200.0070.08718.16
5.6.190.0100.08020.48
5.6.180.0030.06720.45
5.6.170.0170.04320.49
5.6.160.0130.05320.40
5.6.150.0030.05718.21
5.6.140.0030.05318.12
5.6.130.0130.07318.14
5.6.120.0070.08021.12
5.6.110.0070.08721.14
5.6.100.0000.05720.96
5.6.90.0100.08321.01
5.6.80.0170.05720.38
5.6.70.4170.04020.38
5.5.350.0000.04020.41
5.5.340.0000.05018.00
5.5.330.0070.06020.23
5.5.320.0030.05020.28
5.5.310.0200.05720.28
5.5.300.0000.07318.00
5.5.290.0030.08317.92
5.5.280.0070.08020.79
5.5.270.0100.06720.89
5.5.260.0030.06320.85
5.5.250.0070.07020.48
5.5.240.0100.03320.25
5.4.450.1000.04719.24
5.4.440.0300.03319.46
5.4.430.0330.04019.50
5.4.420.0430.04019.48
5.4.410.0400.03319.30
5.4.400.0270.06018.51
5.4.390.0330.06718.69
5.4.380.0200.05318.78
5.4.370.0030.06018.74
5.4.360.0130.05018.71
5.4.350.0130.05318.57
5.4.340.0230.04018.53
5.4.320.0080.04912.46
5.4.310.0080.03612.45
5.4.300.0050.03712.46
5.4.290.0050.03812.46
5.4.280.0050.03512.35
5.4.270.0040.03712.35
5.4.260.0040.03812.35
5.4.250.0030.04012.35
5.4.240.0030.03812.35
5.4.230.0060.03712.34
5.4.220.0050.04312.34
5.4.210.0030.03812.34
5.4.200.0070.04012.34
5.4.190.0060.03512.34
5.4.180.0070.03512.34
5.4.170.0200.04112.33
5.4.160.0180.04312.32
5.4.150.0150.04512.32
5.4.140.0140.04512.00
5.4.130.0160.04311.99
5.4.120.0140.04311.95
5.4.110.0110.04611.95
5.4.100.0130.04811.95
5.4.90.0130.04611.94
5.4.80.0130.04411.95
5.4.70.0170.04011.94
5.4.60.0170.04011.94
5.4.50.0100.04711.94
5.4.40.0130.04411.93
5.4.30.0160.04211.93
5.4.20.0180.04111.93
5.4.10.0180.04111.93
5.4.00.0300.05711.42
5.3.290.0040.04012.80
5.3.280.0050.04212.71
5.3.270.0130.04812.72
5.3.260.0160.04512.72
5.3.250.0190.04212.72
5.3.240.0100.05112.72
5.3.230.0210.04212.71
5.3.220.0130.04912.68
5.3.210.0180.04312.68
5.3.200.0080.05412.68
5.3.190.0130.04812.68
5.3.180.0180.04312.68
5.3.170.0180.04312.67
5.3.160.0170.04712.67
5.3.150.0130.04812.67
5.3.140.0160.04312.66
5.3.130.0180.04412.66
5.3.120.0190.04312.66
5.3.110.0160.04612.66
5.3.100.0200.04612.12
5.3.90.0150.04412.08
5.3.80.0110.05112.07
5.3.70.0110.05112.08
5.3.60.0160.04612.07
5.3.50.0250.04012.00
5.3.40.0150.04712.00
5.3.30.0230.03611.95
5.3.20.0110.04911.72
5.3.10.0210.03711.69
5.3.00.0240.03611.67
5.2.170.0150.0339.18
5.2.160.0140.0339.18
5.2.150.0130.0359.18
5.2.140.0130.0359.18
5.2.130.0150.0339.14
5.2.120.0120.0349.13
5.2.110.0100.0389.14
5.2.100.0140.0339.14
5.2.90.0130.0349.13
5.2.80.0100.0379.13
5.2.70.0160.0329.12
5.2.60.0080.0399.08
5.2.50.0140.0359.05
5.2.40.0140.0349.03
5.2.30.0140.0339.00
5.2.20.0150.0329.00
5.2.10.0130.0338.92
5.2.00.0130.0328.78
5.1.60.0100.0308.06
5.1.50.0090.0328.07
5.1.40.0150.0258.05
5.1.30.0130.0308.39
5.1.20.0120.0318.43
5.1.10.0170.0268.14
5.1.00.0080.0348.14
5.0.50.0080.0266.62
5.0.40.0130.0196.48
5.0.30.0080.0366.29
5.0.20.0100.0236.27
5.0.10.0120.0206.24
5.0.00.0060.0386.23
4.4.90.0060.0194.78
4.4.80.0090.0164.75
4.4.70.0090.0174.76
4.4.60.0050.0214.75
4.4.50.0090.0174.77
4.4.40.0070.0294.71
4.4.30.0080.0184.76
4.4.20.0070.0184.85
4.4.10.0070.0194.85
4.4.00.0080.0284.76
4.3.110.0060.0214.67
4.3.100.0080.0174.66
4.3.90.0050.0204.63
4.3.80.0110.0244.58
4.3.70.0100.0144.63
4.3.60.0060.0184.62
4.3.50.0090.0164.63
4.3.40.0090.0254.54
4.3.30.0060.0173.30
4.3.20.0020.0213.29
4.3.10.0060.0173.25
4.3.00.0100.01715.43

preferences:
40.19 ms | 401 KiB | 5 Q