3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keyArray = array("clientId","clientName","clientAdsress","clientPhone"); $valuesArray = array( "0"=>array("1001","aaaaa","ddddddd","22222222"), "1"=>array("1002","bbbbbb","ddddddd","11111111"), "2"=>array("1003","ccccc","ddddddd","33333333") ); $finalData = array_combine($keyArray, array_map(null, ...$valuesArray)); print_r($finalData);

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.130.0080.00018.44
8.3.120.0090.00018.93
8.3.110.0060.00320.94
8.3.100.0040.00424.06
8.3.90.0000.00826.77
8.3.80.0000.00916.38
8.3.70.0110.01116.58
8.3.60.0060.01318.43
8.3.50.0090.00517.18
8.3.40.0090.00618.63
8.3.30.0110.01118.59
8.3.20.0080.00020.31
8.3.10.0040.00422.14
8.3.00.0080.00022.39
8.2.250.0050.00316.36
8.2.240.0130.00717.03
8.2.230.0030.00722.58
8.2.220.0040.00437.54
8.2.210.0100.00726.77
8.2.200.0060.00318.17
8.2.190.0170.00316.58
8.2.180.0130.00325.92
8.2.170.0070.00718.91
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0040.00420.42
8.2.110.0090.00020.52
8.2.100.0120.00017.89
8.2.90.0000.00919.17
8.2.80.0090.00017.97
8.2.70.0090.00017.50
8.2.60.0040.00417.50
8.2.50.0000.00818.16
8.2.40.0040.00420.66
8.2.30.0070.00018.09
8.2.20.0040.00417.84
8.2.10.0030.00619.15
8.2.00.0000.00718.04
8.1.300.0000.00919.55
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0000.00923.67
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00019.09
8.1.230.0060.00619.02
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0040.00417.48
8.1.190.0080.00017.23
8.1.180.0070.00018.10
8.1.170.0040.00418.96
8.1.160.0050.00318.69
8.1.150.0050.00218.88
8.1.140.0000.00720.25
8.1.130.0030.00317.31
8.1.120.0030.00317.35
8.1.110.0000.00717.26
8.1.100.0040.00417.43
8.1.90.0000.00717.35
8.1.80.0030.00317.27
8.1.70.0040.00417.27
8.1.60.0080.00017.43
8.1.50.0000.00717.49
8.1.40.0060.00317.32
8.1.30.0030.00617.58
8.1.20.0070.00317.52
8.1.10.0040.00417.42
8.1.00.0040.00417.23
8.0.300.0000.00718.77
8.0.290.0030.00516.63
8.0.280.0040.00418.29
8.0.270.0000.00716.73
8.0.260.0060.00016.62
8.0.250.0040.00416.87
8.0.240.0060.00016.86
8.0.230.0000.00816.76
8.0.220.0030.00316.83
8.0.210.0000.00616.74
8.0.200.0000.00716.91
8.0.190.0000.00816.85
8.0.180.0000.00816.72
8.0.170.0050.00316.71
8.0.160.0040.00416.83
8.0.150.0000.00716.76
8.0.140.0000.00716.66
8.0.130.0000.00613.30
8.0.120.0040.00416.69
8.0.110.0040.00416.83
8.0.100.0000.00816.80
8.0.90.0040.00416.69
8.0.80.0090.00916.76
8.0.70.0040.00416.62
8.0.60.0030.00316.71
8.0.50.0050.00216.73
8.0.30.0120.00816.88
8.0.20.0040.01717.14
8.0.10.0040.00417.03
8.0.00.0110.00916.73
7.4.330.0000.00415.55
7.4.320.0060.00016.54
7.4.300.0070.00016.50
7.4.290.0000.00716.57
7.4.280.0000.00716.37
7.4.270.0020.00516.51
7.4.260.0000.00616.50
7.4.250.0040.00416.38
7.4.240.0040.00316.48
7.4.230.0030.00316.61
7.4.220.0030.00516.48
7.4.210.0070.01016.53
7.4.200.0000.00716.45
7.4.160.0070.00816.40
7.4.140.0090.00817.86
7.4.130.0090.01016.47
7.4.120.0050.01316.27
7.4.110.0070.01016.55
7.4.100.0150.00316.17
7.4.90.0170.00016.38
7.4.80.0090.00619.39
7.4.70.0170.01816.46
7.4.60.0070.01016.51
7.4.50.0100.00716.48
7.4.40.0100.00616.17
7.4.30.0130.00316.34
7.4.20.0060.01616.51
7.4.10.0110.00515.24
7.4.00.0070.01015.15
7.3.330.0050.00013.05
7.3.320.0030.00312.86
7.3.310.0000.00716.20
7.3.300.0040.00416.11
7.3.290.0140.00316.12
7.3.280.0050.01116.07
7.3.260.0090.01216.27
7.3.240.0070.01116.30
7.3.230.0090.00916.24
7.3.210.0090.00916.14
7.3.200.0120.00316.08
7.3.190.0030.01516.41
7.3.180.0140.01016.42
7.3.170.0120.00316.00
7.3.160.0120.00416.32
7.3.150.0030.01316.25
7.3.140.0070.01016.14
7.3.130.0080.00915.07
7.3.120.0070.01115.17
7.3.110.0050.01414.95
7.3.100.0050.01115.12
7.3.90.0050.00915.01
7.3.80.0070.00515.06
7.3.70.0050.00915.06
7.3.60.0050.01015.08
7.3.50.0050.01015.06
7.3.40.0050.01015.00
7.3.30.0070.00815.01
7.3.20.0230.00816.05
7.3.10.0230.00716.01
7.3.00.0100.00716.06
7.2.330.0180.00616.42
7.2.320.0110.00716.48
7.2.310.0070.01416.64
7.2.300.0070.01016.55
7.2.290.0030.01316.61
7.2.280.0110.01116.33
7.2.270.0120.00916.32
7.2.260.0080.01115.12
7.2.250.0050.01315.33
7.2.240.0110.00615.23
7.2.230.0060.01315.32
7.2.220.0060.01015.18
7.2.210.0070.00715.33
7.2.200.0080.00715.26
7.2.190.0060.00915.14
7.2.180.0050.00815.24
7.2.170.0050.01015.23
7.2.160.0080.00615.23
7.2.150.0230.00716.26
7.2.140.0070.00916.32
7.2.130.0080.00716.23
7.2.120.0080.00716.27
7.2.110.0190.01016.27
7.2.100.0170.01016.26
7.2.90.0070.00816.28
7.2.80.0250.00616.36
7.2.70.0140.00916.19
7.2.60.0290.00816.35
7.2.50.0160.00716.32
7.2.40.0220.00816.34
7.2.30.0090.00716.36
7.2.20.0070.00916.33
7.2.10.0200.01116.31
7.2.00.0190.00516.28
7.1.330.0040.01415.57
7.1.320.0080.00815.63
7.1.310.0060.01015.73
7.1.300.0040.01015.70
7.1.290.0050.00815.65
7.1.280.0090.00715.63
7.1.270.0070.00915.60
7.1.260.0060.00815.60
7.1.250.0090.00815.25
7.1.240.0070.00815.62
7.1.230.0070.00615.48
7.1.220.0090.00615.53
7.1.210.0060.00815.58
7.1.200.0050.00715.64
7.1.190.0080.00515.55
7.1.180.0050.00815.59
7.1.170.0080.00515.54
7.1.160.0070.00915.72
7.1.150.0070.00815.66
7.1.140.0080.00615.60
7.1.130.0050.01115.60
7.1.120.0110.00315.52
7.1.110.0070.00615.68
7.1.100.0070.00615.68
7.1.90.0040.01015.49
7.1.80.0090.00415.68
7.1.70.0100.00515.56
7.1.60.0040.00915.53
7.1.50.0090.00515.54
7.1.40.0050.00815.68
7.1.30.0060.00815.62
7.1.20.0040.00915.59
7.1.10.0110.00415.63
7.1.00.0070.00815.64

preferences:
35.54 ms | 403 KiB | 5 Q