3v4l.org

run code in 300+ PHP versions simultaneously
<?php $organizations = array( (object)array( id => 1 ), (object)array( id => 2 ), (object)array( id => 3 ), ); $organizationIds = array_map(function ($organization) { return $organization->id; }, $organizations); var_dump($organizationIds);

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.0140.01018.56
8.3.50.0070.00716.52
8.3.40.0030.01418.79
8.3.30.0090.00918.75
8.3.20.0080.00021.92
8.3.10.0070.00023.67
8.3.00.0030.00519.79
8.2.180.0070.01318.18
8.2.170.0170.00322.96
8.2.160.0090.00619.03
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0030.00619.27
8.2.120.0050.00326.35
8.2.110.0090.00020.51
8.2.100.0090.00317.78
8.2.90.0030.00619.27
8.2.80.0030.00618.04
8.2.70.0000.00817.50
8.2.60.0060.00318.03
8.2.50.0040.00418.10
8.2.40.0040.00420.52
8.2.30.0000.00821.04
8.2.20.0040.00418.06
8.2.10.0000.00718.00
8.2.00.0030.00517.99
8.1.280.0100.00725.92
8.1.270.0150.00023.96
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0040.00421.78
8.1.230.0120.00318.96
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0090.00017.38
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00018.66
8.1.160.0000.00718.84
8.1.150.0000.00718.81
8.1.140.0070.00019.56
8.1.130.0020.00517.40
8.1.120.0040.00417.43
8.1.110.0040.00417.27
8.1.100.0070.00017.35
8.1.90.0000.00717.47
8.1.80.0040.00417.43
8.1.70.0070.00017.29
8.1.60.0050.00317.43
8.1.50.0050.00317.46
8.1.40.0040.00817.40
8.1.30.0070.00017.52
8.1.20.0050.00217.63
8.1.10.0040.00417.50
8.1.00.0060.00317.42
8.0.300.0000.00819.70
8.0.290.0050.00216.75
8.0.280.0070.00018.46
8.0.270.0030.00317.18
8.0.260.0030.00316.90
8.0.250.0070.00016.93
8.0.240.0000.00717.04
8.0.230.0000.00816.90
8.0.220.0050.00316.96
8.0.210.0000.00716.87
8.0.200.0020.00517.04
8.0.190.0050.00317.06
8.0.180.0070.00017.01
8.0.170.0070.00016.96
8.0.160.0040.00417.05
8.0.150.0070.00016.77
8.0.140.0030.00516.83
8.0.130.0030.00313.38
8.0.120.0070.00016.89
8.0.110.0070.00016.96
8.0.100.0030.00516.96
8.0.90.0050.00316.95
8.0.80.0040.01217.00
8.0.70.0050.00216.96
8.0.60.0050.00217.00
8.0.50.0070.00016.76
8.0.30.0090.00717.14
8.0.20.0070.01117.40
8.0.10.0050.00316.88
8.0.00.0170.00016.73
7.4.330.0060.00015.55
7.4.320.0040.00416.53
7.4.300.0030.00316.46
7.4.290.0000.01016.37
7.4.280.0070.00016.58
7.4.270.0040.00316.54
7.4.260.0050.00316.49
7.4.250.0030.00316.55
7.4.240.0050.00216.53
7.4.230.0000.00716.36
7.4.220.0070.01116.64
7.4.210.0060.00916.64
7.4.200.0030.00316.38
7.4.160.0080.00816.48
7.4.150.0140.01017.40
7.4.140.0100.00917.86
7.4.130.0120.00616.57
7.4.120.0100.01116.50
7.4.110.0160.00016.63
7.4.100.0210.01516.59
7.4.90.0130.00616.57
7.4.80.0090.00919.39
7.4.70.0090.01316.58
7.4.60.0090.00616.67
7.4.50.0140.00316.62
7.4.40.0120.00916.63
7.4.30.0130.00316.63
7.4.00.0060.00915.04
7.3.330.0020.00213.25
7.3.320.0060.00013.30
7.3.310.0030.00316.27
7.3.300.0020.00516.16
7.3.290.0080.00716.27
7.3.280.0060.00916.29
7.3.270.0150.01017.40
7.3.260.0130.00316.31
7.3.250.0090.00816.40
7.3.240.0080.01216.39
7.3.230.0090.00916.42
7.3.210.0060.00916.61
7.3.200.0090.01216.64
7.3.190.0030.01416.55
7.3.180.0060.01216.48
7.3.170.0060.00916.31
7.3.160.0080.00816.26
7.2.330.0090.01216.77
7.2.320.0160.00616.70
7.2.310.0030.01716.68
7.2.300.0160.00616.52
7.2.290.0090.00916.84
7.2.60.0000.01416.76
7.2.00.0240.01019.36
7.1.200.0040.01115.61
7.1.100.0000.00818.23
7.1.70.0150.00017.13
7.1.60.0290.01635.18
7.1.50.0380.00834.95
7.1.40.0360.01334.35
7.1.30.0200.01634.45
7.1.20.0320.01334.59
7.1.10.0110.00716.64
7.1.00.0030.01316.60
7.0.200.0090.00716.88
7.0.190.0060.01316.68
7.0.180.0120.00916.14
7.0.170.0090.01216.24
7.0.160.0090.01216.26
7.0.150.0080.01316.19
7.0.140.0090.00916.51
7.0.130.0000.01416.47
7.0.120.0090.00916.47
7.0.110.0060.01216.41
7.0.100.0010.01516.48
7.0.90.0130.00716.31
7.0.80.0100.01016.21
7.0.70.0100.00716.14
7.0.60.0040.01516.11
7.0.50.0060.00916.43
7.0.40.0110.00516.39
7.0.30.0090.00616.36
7.0.20.0120.00716.37
7.0.10.0100.00516.42
7.0.00.0080.00816.21

preferences:
51.64 ms | 400 KiB | 5 Q