3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("anahtar" => "değer"); function cb2($a, $b) { return array ($a, $b); } print_r(array_map("cb2", $arr));

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.0150.00616.63
8.3.50.0090.00616.21
8.3.40.0130.00718.84
8.3.30.0120.00318.54
8.3.20.0080.00020.34
8.3.10.0080.00021.64
8.3.00.0050.00319.26
8.2.180.0040.01418.46
8.2.170.0130.00322.96
8.2.160.0070.00720.35
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0080.00019.45
8.2.120.0070.00026.35
8.2.110.0090.00022.09
8.2.100.0000.01217.72
8.2.90.0000.00919.28
8.2.80.0040.00417.97
8.2.70.0120.00017.25
8.2.60.0030.00517.55
8.2.50.0030.00518.10
8.2.40.0040.00420.42
8.2.30.0000.00720.97
8.2.20.0080.00017.94
8.2.10.0040.00418.14
8.2.00.0000.00718.06
8.1.280.0040.01125.92
8.1.270.0100.00023.83
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0090.00023.92
8.1.230.0120.00317.48
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.11
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00618.50
8.1.160.0030.00318.98
8.1.150.0000.00820.70
8.1.140.0040.00419.47
8.1.130.0000.01018.76
8.1.120.0030.00417.33
8.1.110.0000.00817.32
8.1.100.0050.00217.30
8.1.90.0070.00417.41
8.1.80.0040.00317.38
8.1.70.0000.00717.44
8.1.60.0000.00817.51
8.1.50.0030.00617.41
8.1.40.0000.00817.40
8.1.30.0060.00317.69
8.1.20.0090.00317.71
8.1.10.0030.00617.48
8.1.00.0000.00817.53
8.0.300.0080.00018.77
8.0.290.0050.00316.58
8.0.280.0050.00218.30
8.0.270.0000.00717.23
8.0.260.0110.00016.77
8.0.250.0000.00716.86
8.0.240.0070.00017.00
8.0.230.0000.00716.85
8.0.220.0030.00316.78
8.0.210.0040.00416.85
8.0.200.0000.00716.84
8.0.190.0070.00316.84
8.0.180.0060.00316.92
8.0.170.0050.00316.89
8.0.160.0030.00317.00
8.0.150.0070.00016.84
8.0.140.0070.00316.86
8.0.130.0000.00513.41
8.0.120.0040.00416.77
8.0.110.0040.00416.95
8.0.100.0000.00816.78
8.0.90.0070.00016.85
8.0.80.0030.01216.78
8.0.70.0080.00016.74
8.0.60.0050.00217.01
8.0.50.0040.00416.77
8.0.30.0070.01217.02
8.0.20.0090.01017.40
8.0.10.0000.00816.82
8.0.00.0100.00716.70
7.4.330.0050.00015.55
7.4.320.0000.00616.48
7.4.300.0060.00016.66
7.4.290.0000.01016.47
7.4.280.0000.00716.50
7.4.270.0040.00416.60
7.4.260.0030.00316.63
7.4.250.0040.00416.43
7.4.240.0030.00416.52
7.4.230.0000.00716.50
7.4.220.0090.00616.59
7.4.210.0070.01016.60
7.4.200.0000.00716.48
7.4.160.0130.00316.36
7.4.150.0070.01117.40
7.4.140.0090.01017.86
7.4.130.0120.00616.54
7.4.120.0070.01116.58
7.4.110.0030.01416.46
7.4.100.0090.00916.34
7.4.90.0070.01016.60
7.4.80.0090.01519.39
7.4.70.0100.00616.61
7.4.60.0060.00916.39
7.4.50.0070.01016.48
7.4.40.0100.00616.61
7.4.30.0120.00816.63
7.4.00.0060.01214.88
7.3.330.0060.00013.29
7.3.320.0000.00613.25
7.3.310.0060.00016.30
7.3.300.0030.00316.14
7.3.290.0070.00016.17
7.3.280.0070.01016.25
7.3.270.0030.01417.40
7.3.260.0080.01016.57
7.3.250.0110.00716.24
7.3.240.0080.00816.45
7.3.230.0070.01116.28
7.3.210.0060.01416.25
7.3.200.0120.00816.57
7.3.190.0000.01716.46
7.3.180.0090.01116.50
7.3.170.0060.01016.39
7.3.160.0040.01116.41
7.2.330.0030.01416.43
7.2.320.0160.00316.59
7.2.310.0100.00616.60
7.2.300.0030.01316.61
7.2.290.0080.00916.30
7.2.90.0100.01316.30
7.2.80.0450.00316.35
7.2.70.0060.00616.82
7.2.60.0130.00016.66
7.2.50.0080.00616.78
7.2.40.0030.01116.82
7.2.30.0090.00916.81
7.2.20.0100.00316.71
7.2.10.0170.00314.93
7.2.00.0040.00916.67
7.1.210.0150.00413.99
7.1.200.0030.01013.76
7.1.190.0090.00315.39
7.1.180.0160.00515.78
7.1.170.0070.00715.79
7.1.160.0080.00415.81
7.1.150.0110.00015.71
7.1.140.0000.01115.72
7.1.130.0090.00315.79
7.1.120.0090.00315.82
7.1.110.0100.00513.86
7.1.100.0440.01113.90
7.1.90.3090.00315.46
7.1.80.0130.00413.95
7.1.70.0000.01615.57
7.1.60.0190.01633.67
7.1.50.0250.01033.70
7.1.40.0270.01433.86
7.1.30.0290.00333.55
7.1.20.0200.02133.65
7.1.10.0120.00315.80
7.1.00.0080.00415.55
7.0.310.0090.00615.45
7.0.300.0030.00915.37
7.0.290.0000.01215.38
7.0.280.0060.00615.36
7.0.270.0160.00215.54
7.0.260.0110.00015.24
7.0.250.0130.00313.47
7.0.240.0420.00713.48
7.0.230.0040.01115.51
7.0.220.2800.00715.40
7.0.210.0030.01315.25
7.0.200.0070.00815.25
7.0.190.0050.01315.29
7.0.180.0030.01215.43
7.0.170.0140.00215.35
7.0.160.0130.00615.47
7.0.150.0070.01015.48
7.0.140.0030.01015.59
7.0.130.0040.01215.35
7.0.120.0080.00915.50
7.0.110.0130.00515.24
7.0.100.0040.01215.32
7.0.90.0070.00915.34
7.0.80.0110.00515.50
7.0.70.0060.00915.34
7.0.60.0050.00915.40
7.0.50.0090.00615.51
7.0.40.0120.00415.16
7.0.30.0000.01615.60
7.0.20.0130.00315.68
7.0.10.0100.00315.33
7.0.00.0080.00415.52

preferences:
33.44 ms | 401 KiB | 5 Q