3v4l.org

run code in 300+ PHP versions simultaneously
<?php $info = array('coffee', 'brown', 'caffeine'); // Listing all the variables list($drink) = $info; var_dump($drink);

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.70.0100.00616.50
8.3.60.0140.00318.28
8.3.50.0180.00321.98
8.3.40.0110.00418.45
8.3.30.0110.00419.11
8.3.20.0040.00420.30
8.3.10.0050.00321.91
8.3.00.0040.00420.96
8.2.190.0160.00016.58
8.2.180.0140.00416.50
8.2.170.0100.00722.96
8.2.160.0100.00722.07
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0000.00926.16
8.2.120.0040.00419.64
8.2.110.0100.00719.11
8.2.100.0060.00617.72
8.2.90.0040.00419.09
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0030.00518.21
8.2.30.0040.00418.09
8.2.20.0000.00717.68
8.2.10.0020.00517.99
8.2.00.0000.00717.74
8.1.280.0100.00325.92
8.1.270.0060.00320.52
8.1.260.0030.01026.35
8.1.250.0070.00028.09
8.1.240.0060.00321.28
8.1.230.0070.00717.58
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0030.00617.22
8.1.180.0040.00418.10
8.1.170.0040.00418.38
8.1.160.0030.00621.94
8.1.150.0000.00718.73
8.1.140.0030.00517.35
8.1.130.0060.00317.83
8.1.120.0050.00217.30
8.1.110.0050.00317.33
8.1.100.0000.00817.46
8.1.90.0040.00417.37
8.1.80.0000.00717.38
8.1.70.0000.00817.37
8.1.60.0030.00617.51
8.1.50.0040.00417.46
8.1.40.0070.00017.43
8.1.30.0060.00317.60
8.1.20.0080.00017.52
8.1.10.0000.00717.54
8.1.00.0020.00517.49
8.0.300.0070.00018.77
8.0.290.0070.00016.63
8.0.280.0000.00718.38
8.0.270.0040.00417.20
8.0.260.0000.00617.15
8.0.250.0030.00316.93
8.0.240.0050.00316.86
8.0.230.0030.00316.78
8.0.220.0030.00316.87
8.0.210.0000.00716.70
8.0.200.0000.00616.90
8.0.190.0030.00516.75
8.0.180.0000.00716.80
8.0.170.0070.00016.80
8.0.160.0000.00716.94
8.0.150.0030.00316.84
8.0.140.0050.00316.80
8.0.130.0030.00313.25
8.0.120.0000.00816.69
8.0.110.0000.00716.87
8.0.100.0000.00716.89
8.0.90.0000.00716.73
8.0.80.0070.01316.73
8.0.70.0040.00416.69
8.0.60.0030.00516.82
8.0.50.0070.00016.73
8.0.30.0120.01216.92
8.0.20.0090.01217.40
8.0.10.0070.00016.96
8.0.00.0060.01116.68
7.4.330.0030.00315.08
7.4.320.0000.00716.43
7.4.300.0040.00416.52
7.4.290.0000.00716.58
7.4.280.0070.00316.52
7.4.270.0080.00016.46
7.4.260.0040.00416.37
7.4.250.0050.00316.43
7.4.240.0050.00216.43
7.4.230.0040.00416.64
7.4.220.0090.00916.54
7.4.210.0140.00716.47
7.4.200.0000.00716.65
7.4.160.0150.00916.56
7.4.150.0070.01617.40
7.4.140.0090.00917.86
7.4.130.0120.00616.48
7.4.120.0140.00416.32
7.4.110.0070.01016.37
7.4.100.0120.00916.38
7.4.90.0130.00616.55
7.4.80.0110.00416.29
7.4.70.0120.00616.35
7.4.60.0130.00316.64
7.4.50.0000.00416.29
7.4.40.0100.00716.30
7.4.30.0120.00916.52
7.4.00.0100.00614.73
7.3.330.0020.00212.93
7.3.320.0040.00712.98
7.3.310.0040.00416.12
7.3.300.0030.00416.19
7.3.290.0030.00316.08
7.3.280.0100.00716.15
7.3.270.0230.00917.40
7.3.260.0090.00916.48
7.3.250.0120.00616.33
7.3.240.0090.01216.20
7.3.230.0060.01316.39
7.3.210.0060.01416.25
7.3.200.0130.01019.39
7.3.190.0110.00616.21
7.3.180.0070.00916.17
7.3.170.0120.00316.27
7.3.160.0060.01616.41
7.3.10.0040.01216.48
7.3.00.0120.00916.35
7.2.330.0030.01716.63
7.2.320.0070.01016.50
7.2.310.0120.01216.64
7.2.300.0110.00616.32
7.2.290.0090.01316.52
7.2.130.0100.00316.18
7.2.120.0100.01516.27
7.2.110.0070.00716.14
7.2.100.0140.00716.19
7.2.90.0070.01016.29
7.2.80.0160.01116.49
7.2.70.0050.01116.33
7.2.60.0160.00616.51
7.2.50.0180.00716.32
7.2.40.0170.01116.96
7.2.30.0150.00316.34
7.2.20.0200.00716.57
7.2.10.0140.00516.18
7.2.00.0100.00718.18
7.1.250.0100.01015.13
7.1.200.0130.00315.27
7.1.100.0030.00717.91
7.1.70.0000.01417.25
7.1.60.0170.00719.46
7.1.50.0060.01616.75
7.1.00.0100.07022.30
7.0.200.0040.00416.68
7.0.140.0030.04322.08
7.0.60.0300.07719.93
7.0.50.0070.08717.84
7.0.40.0100.08720.12
7.0.30.0230.03320.18
7.0.20.0270.06720.13
7.0.10.0070.04720.16
7.0.00.0000.09020.16
5.6.280.0070.07021.12
5.6.210.0030.04020.52
5.6.200.0100.06018.12
5.6.190.0030.05020.35
5.6.180.0370.04720.34
5.6.170.0200.08720.35
5.6.160.0100.08318.11
5.6.150.0100.08018.12
5.6.140.0000.07718.11
5.6.130.0100.07318.18
5.6.120.0070.08321.12
5.6.110.0070.08321.00
5.6.100.0070.04320.99
5.6.90.0070.08020.96
5.6.80.0000.04320.39
5.5.350.0230.06720.34
5.5.340.0100.08017.98
5.5.330.0030.05320.23
5.5.320.0000.09020.31
5.5.310.0270.06720.15
5.5.300.0070.03717.95
5.5.290.0070.04717.98
5.5.280.0100.08020.96
5.5.270.0130.04320.82
5.5.260.0100.06720.75
5.5.250.0100.06320.61
5.5.240.3730.04020.15
5.4.450.0200.06319.37
5.4.440.0270.06719.58
5.4.430.0200.05019.48
5.4.420.0230.07719.41
5.4.410.0230.07318.98
5.4.400.0230.06019.09
5.4.390.0270.04319.13
5.4.380.0300.05319.06
5.4.370.0230.05319.24
5.4.360.0270.07319.08
5.4.350.0270.03319.22
5.4.340.0270.05318.93
5.4.320.0430.03318.79
5.4.310.0230.05019.09
5.4.300.0200.07319.24
5.4.290.0400.03018.80
5.4.280.0230.07018.80
5.4.270.0170.06319.23
5.4.260.0270.07019.08
5.4.250.0230.03718.78
5.4.240.0330.06019.15
5.4.230.0300.04719.04
5.4.220.0300.04318.78
5.4.210.0300.06018.93
5.4.200.0270.04319.15
5.4.190.0300.06318.91
5.4.180.0230.07718.78
5.4.170.0300.03719.08
5.4.160.0370.05718.76
5.4.150.0230.07719.19
5.4.140.0270.07016.55
5.4.130.0230.04716.25
5.4.120.0200.03016.26
5.4.110.0230.04316.39
5.4.100.0230.05016.39
5.4.90.0300.05716.30
5.4.80.0170.06716.37
5.4.70.0270.06716.19
5.4.60.0170.04716.19
5.4.50.0200.07016.46
5.4.40.0270.04016.40
5.4.30.0200.07316.45
5.4.20.0270.05316.18
5.4.10.0300.06716.47
5.4.00.0370.05315.70
5.3.290.0170.06714.63
5.3.280.0200.07714.63
5.3.270.0270.04714.63
5.3.260.0330.03714.71
5.3.250.0300.04314.64
5.3.240.0200.07314.63
5.3.230.0200.06014.63
5.3.220.0330.03714.63
5.3.210.0200.08014.63
5.3.200.0230.04714.63
5.3.190.0270.07014.63
5.3.180.0130.06714.63
5.3.170.0270.06714.63
5.3.160.0230.07314.64
5.3.150.0200.04314.63
5.3.140.0230.07314.63
5.3.130.0200.05314.63
5.3.120.0270.07714.63
5.3.110.0200.05714.63
5.3.100.0200.07314.63
5.3.90.0230.05014.63
5.3.80.0170.04014.63
5.3.70.0130.04314.63
5.3.60.0170.03714.63
5.3.50.0230.04314.63
5.3.40.0230.07014.63
5.3.30.0270.07014.63
5.3.20.0300.06714.63
5.3.10.0200.07314.63
5.3.00.0230.07014.63
5.2.170.0230.03314.63
5.2.160.0270.05014.63
5.2.150.0170.06714.63
5.2.140.0200.05314.63
5.2.130.0230.03314.63
5.2.120.0200.05714.63
5.2.110.0200.05014.63
5.2.100.0200.05714.63
5.2.90.0230.05314.63
5.2.80.0230.05014.63
5.2.70.0270.05014.63
5.2.60.0230.04314.63
5.2.50.0170.05014.63
5.2.40.0130.05314.63
5.2.30.0200.05314.63
5.2.20.0130.04314.63
5.2.10.0100.05014.63
5.2.00.0170.05314.63
5.1.60.0130.05014.63
5.1.50.0170.04714.63
5.1.40.0100.03714.63
5.1.30.0170.02014.63
5.1.20.0070.03314.63
5.1.10.0070.02714.63
5.1.00.0030.03014.63
5.0.50.0100.02014.63
5.0.40.0000.02314.63
5.0.30.0070.03714.63
5.0.20.0070.01714.63
5.0.10.0030.02314.63
5.0.00.0100.02714.63
4.4.90.0070.03314.63
4.4.80.0070.03314.63
4.4.70.0100.01714.63
4.4.60.0070.02314.63
4.4.50.0100.03014.63
4.4.40.0070.05314.63
4.4.30.0070.02314.63
4.4.20.0030.01714.63
4.4.10.0070.01314.63
4.4.00.0000.03314.63
4.3.110.0070.01314.63
4.3.100.0100.01714.63
4.3.90.0070.01314.63
4.3.80.0070.02014.63
4.3.70.0030.01714.63
4.3.60.0070.01314.63
4.3.50.0130.01014.63
4.3.40.0000.03314.63
4.3.30.0030.01314.63
4.3.20.0000.01714.63
4.3.10.0000.01714.63
4.3.00.0070.01014.63

preferences:
34.08 ms | 401 KiB | 5 Q