3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'name' => ['Some message to display1'], 'test' => ['Some message to display2'], 'kudos' => ['Some message to display3'] ]; echo implode(', ', array_column($array, 0));

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.4.120.0080.01220.54
8.4.110.0080.00422.41
8.4.100.0150.00517.63
8.4.90.0140.00717.57
8.4.80.0040.00517.70
8.4.70.0040.00519.36
8.4.60.0100.01018.73
8.4.50.0110.00919.52
8.4.40.0070.00317.43
8.4.30.0180.00322.15
8.4.20.0130.00720.64
8.4.10.0040.00823.84
8.3.250.0090.01118.73
8.3.240.0120.00516.57
8.3.230.0090.00716.30
8.3.220.0130.00517.19
8.3.210.0080.00516.54
8.3.200.0040.00416.60
8.3.190.0120.00617.03
8.3.180.0100.01016.69
8.3.170.0130.00616.63
8.3.160.0140.00416.52
8.3.150.0150.00817.28
8.3.140.0130.00918.67
8.3.130.0070.00716.48
8.3.120.0090.00018.80
8.3.110.0040.00416.45
8.3.100.0030.00616.46
8.3.90.0080.00026.77
8.3.80.0030.00616.63
8.3.70.0070.00718.18
8.3.60.0110.00718.04
8.3.50.0100.00720.23
8.3.40.0070.00718.62
8.3.30.0120.00318.88
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0130.00620.49
8.2.280.0110.00716.82
8.2.270.0120.00616.39
8.2.260.0040.01118.87
8.2.250.0030.00516.57
8.2.240.0070.01116.75
8.2.230.0000.01020.94
8.2.220.0090.00024.06
8.2.210.0040.00426.77
8.2.200.0060.00316.38
8.2.190.0150.00616.58
8.2.180.0090.00925.92
8.2.170.0100.01018.64
8.2.160.0100.00722.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00420.27
8.2.110.0060.00320.39
8.2.100.0080.00417.72
8.2.90.0050.00319.13
8.2.80.0030.00517.97
8.2.70.0030.00617.50
8.2.60.0090.00017.93
8.2.50.0000.00818.07
8.2.40.0080.00020.06
8.2.30.0070.00318.05
8.2.20.0050.00320.36
8.2.10.0070.00017.86
8.2.00.0030.00619.21
8.1.330.0100.00916.59
8.1.320.0070.01217.83
8.1.310.0030.01416.41
8.1.300.0060.00317.70
8.1.290.0000.00930.84
8.1.280.0090.00925.92
8.1.270.0070.00023.99
8.1.260.0150.00026.35
8.1.250.0050.00228.09
8.1.240.0080.00319.13
8.1.230.0060.00617.70
8.1.220.0040.00417.76
8.1.210.0060.00318.77
8.1.200.0060.00317.22
8.1.190.0030.00517.10
8.1.180.0060.00318.10
8.1.170.0000.00818.45
8.1.160.0070.00018.85
8.1.150.0050.00218.50
8.1.140.0050.00317.23
8.1.130.0100.00018.80
8.1.120.0040.00417.28
8.1.110.0030.00617.29
8.1.100.0040.00417.34
8.1.90.0000.00717.41
8.1.80.0030.00317.38
8.1.70.0060.00617.40
8.1.60.0040.00817.48
8.1.50.0140.00617.25
8.1.40.0070.01317.41
8.1.30.0210.00317.44
8.1.20.0150.00517.56
8.1.10.0090.00917.45
8.1.00.0100.01017.42
8.0.300.0080.00018.77
8.0.290.0040.00716.75
8.0.280.0000.00718.43
8.0.270.0080.00018.10
8.0.260.0030.00318.34
8.0.250.0040.00416.94
8.0.240.0030.00316.86
8.0.230.0030.00416.88
8.0.220.0000.00716.79
8.0.210.0050.00216.83
8.0.200.0080.00416.75
8.0.190.0030.01316.86
8.0.180.0130.00316.79
8.0.170.0100.00516.85
8.0.160.0080.00416.65
8.0.150.0040.00816.77
8.0.140.0080.00316.62
8.0.130.0090.00616.77
8.0.120.0060.00916.80
8.0.110.0090.00916.74
8.0.100.0090.00916.79
8.0.90.0130.00316.74
8.0.80.0050.01116.64
8.0.70.0100.00816.66
8.0.60.0120.00616.82
8.0.50.0170.00016.66
8.0.30.0130.00316.75
8.0.20.0100.00516.90
8.0.10.0130.00316.84
7.4.330.0030.00315.55
7.4.320.0060.00016.48
7.4.300.0190.00016.52
7.4.290.0180.00016.38
7.4.280.0080.00816.46
7.4.270.0080.00716.42
7.4.260.0150.00016.43
7.4.250.0180.00016.55
7.4.240.0140.00416.42
7.4.230.0040.01616.32
7.4.220.0110.00416.40
7.4.210.0090.00616.41
7.4.200.0100.00616.49
7.4.190.0140.00316.44
7.4.180.0120.00416.49
7.4.160.0170.00016.60
7.4.150.0070.00716.42
7.4.140.0090.00516.12
7.4.130.0050.01016.36
7.4.120.0090.00716.39
7.4.110.0150.00016.48
7.4.100.0120.00416.26
7.4.90.0090.00916.28
7.4.80.0070.00816.36
7.4.70.0070.00716.25
7.4.60.0090.00616.38
7.4.50.0140.00016.31
7.4.40.0050.01016.43
7.4.30.0080.00816.23
7.4.20.0000.00816.36
7.4.10.0030.00316.39
7.4.00.0040.00416.42

preferences:
20.61 ms | 403 KiB | 5 Q