3v4l.org

run code in 500+ PHP versions simultaneously
<?php $developers = [ 'Ammar', 'Waqar', 'Sheraz', 'Suleman', ]; #Creating Project Array. $projects = [ 'Sail Caribe', 'Hacker Craft', 'Jackson Demolition', 'Carribean Yacht Charter', ]; $result = []; foreach ($developers as $index => $developer) { $result[] = [ 'name' => $developer, 'project name' => $projects[$index], ]; } var_dump($result);

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.5.70.0100.00818.48
8.5.60.0120.00716.98
8.5.50.0060.00316.49
8.5.30.0110.00819.13
8.5.20.0110.00619.31
8.5.10.0120.00916.59
8.5.00.0140.00819.99
8.4.210.0130.00919.54
8.4.180.0130.01223.90
8.4.170.0130.00922.09
8.4.160.0100.01223.69
8.4.150.0070.00616.87
8.4.140.0120.01017.32
8.4.130.0110.00519.73
8.4.120.0090.01020.67
8.4.110.0140.00722.25
8.4.100.0130.00718.64
8.4.90.0140.00718.62
8.4.80.0030.00518.02
8.4.70.0140.00817.63
8.4.60.0120.00920.33
8.4.50.0120.00920.71
8.4.40.0070.01417.73
8.4.30.0030.01620.25
8.4.20.0100.01019.49
8.4.10.0030.00618.88
8.3.300.0150.00818.66
8.3.290.0100.01020.74
8.3.280.0120.00720.79
8.3.270.0120.00916.85
8.3.260.0130.00616.65
8.3.250.0070.01119.08
8.3.240.0130.00616.77
8.3.230.0060.00316.56
8.3.220.0120.00717.48
8.3.210.0110.00816.72
8.3.200.0030.00616.48
8.3.190.0090.00517.11
8.3.180.0080.00519.11
8.3.170.0000.01017.05
8.3.160.0180.00018.06
8.3.150.0040.01618.29
8.3.140.0110.00416.56
8.3.130.0040.00418.15
8.3.120.0090.00018.95
8.3.110.0120.00320.94
8.3.100.0040.00424.06
8.3.90.0040.00426.77
8.3.80.0000.00916.63
8.3.70.0110.00716.63
8.3.60.0070.01416.62
8.3.50.0070.00718.31
8.3.40.0060.00919.22
8.3.30.0090.01218.71
8.3.20.0040.00424.18
8.3.10.0000.00724.66
8.3.00.0040.00426.16
8.2.300.0130.01022.23
8.2.290.0100.00920.59
8.2.280.0120.00818.45
8.2.270.0070.01118.45
8.2.260.0080.00017.14
8.2.250.0060.00616.60
8.2.240.0060.00317.17
8.2.230.0090.00022.58
8.2.220.0060.00337.54
8.2.210.0030.00526.77
8.2.200.0090.00016.63
8.2.190.0040.01416.58
8.2.180.0130.00325.92
8.2.170.0040.01119.09
8.2.160.0100.01022.96
8.2.150.0040.00425.66
8.2.140.0090.00024.66
8.2.130.0050.00326.16
8.2.120.0070.00026.16
8.2.110.0040.00721.10
8.2.100.0080.00417.72
8.2.90.0050.00317.75
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0000.00918.05
8.2.50.0080.00018.07
8.2.40.0040.00417.63
8.2.30.0000.00717.69
8.2.20.0040.00419.39
8.2.10.0000.00718.93
8.2.00.0030.00319.22
8.1.340.0130.00817.76
8.1.330.0110.00822.13
8.1.320.0080.01116.28
8.1.310.0000.00716.69
8.1.300.0030.00616.74
8.1.290.0060.00318.88
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00620.81
8.1.230.0040.00720.84
8.1.220.0030.00517.78
8.1.210.0000.00818.83
8.1.200.0080.00417.23
8.1.190.0060.00317.25
8.1.180.0000.00818.10
8.1.170.0040.00418.64
8.1.160.0030.00520.67
8.1.150.0050.00218.64
8.1.140.0000.00717.46
8.1.130.0000.00718.88
8.1.120.0000.00717.37
8.1.110.0040.00417.48
8.1.100.0000.00717.48
8.1.90.0040.00417.46
8.1.80.0040.00417.46
8.1.70.0070.00017.45
8.1.60.0090.00017.57
8.1.50.0000.00817.43
8.1.40.0080.00017.36
8.1.30.0030.00617.58
8.1.20.0030.00817.63
8.1.10.0070.00717.39
8.1.00.0040.00417.52
8.0.300.0000.00720.08
8.0.290.0040.00416.75
8.0.280.0070.00018.34
8.0.270.0000.00716.72
8.0.260.0000.00818.39
8.0.250.0020.00516.96
8.0.240.0000.00616.83
8.0.230.0070.00016.91
8.0.220.0000.00716.92
8.0.210.0040.00416.89
8.0.200.0050.00316.97
8.0.190.0000.00816.94
8.0.180.0000.00716.93
8.0.170.0090.00016.85
8.0.160.0030.00516.91
8.0.150.0080.00016.80
8.0.140.0070.00016.87
8.0.130.0030.00313.23
8.0.120.0080.00016.88
8.0.110.0150.00016.93
8.0.100.0120.00216.93
8.0.90.0120.00316.84
8.0.80.0070.00416.77
8.0.70.0060.00316.82
8.0.60.0030.00616.82
8.0.50.0060.00316.88
8.0.30.0070.00316.91
8.0.20.0030.00816.90
8.0.10.0050.00516.90
8.0.00.0080.00317.00
7.4.330.0000.00615.55
7.4.320.0060.00016.54
7.4.300.0000.00916.65
7.4.290.0030.00516.48
7.4.280.0070.00316.55
7.4.270.0000.00716.65
7.4.260.0030.00313.16
7.4.250.0070.00016.57
7.4.240.0060.00316.42
7.4.230.0000.00816.48
7.4.220.0030.00616.52
7.4.210.0000.00816.58
7.4.200.0070.00316.43
7.4.190.0080.00016.59
7.4.180.0050.00316.54
7.4.160.0090.00016.59
7.4.150.0030.00516.54
7.4.140.0060.00316.38
7.4.130.0000.01016.46
7.4.120.0050.00316.52
7.4.110.0050.00416.46
7.4.100.0000.00816.64
7.4.90.0030.00616.38
7.4.80.0000.00916.40
7.4.70.0060.00316.44
7.4.60.0030.00616.36
7.4.50.0040.00416.48
7.4.40.0050.00316.30
7.4.30.0000.00716.45
7.4.20.0000.00716.47
7.4.10.0000.00816.34
7.4.00.0080.00016.51
7.3.330.0040.00416.14
7.3.320.0030.00313.13
7.3.310.0050.00316.25
7.3.300.0030.00316.33
7.3.290.0030.00516.43
7.3.280.0030.00316.19
7.3.270.0000.00716.31
7.3.260.0070.00016.27
7.3.250.0040.00416.39
7.3.240.0070.00016.39
7.3.230.0040.00416.47
7.3.220.0030.00316.19
7.3.210.0030.00316.34
7.3.200.0000.00816.20
7.3.190.0050.00216.21
7.3.180.0000.00716.19
7.3.170.0070.00016.34
7.3.160.0040.00416.08
7.3.150.0040.00416.32
7.3.140.0000.00816.06
7.3.130.0040.00416.19
7.3.120.0030.00616.27
7.3.110.0030.00416.21
7.3.100.0040.00416.14
7.3.90.0070.00016.37
7.3.80.0070.00016.11
7.3.70.0030.00316.42
7.3.60.0050.00216.36
7.3.50.0050.00316.52
7.3.40.0000.00716.39
7.3.30.0030.00516.27
7.3.20.0050.00316.51
7.3.10.0000.00716.30
7.3.00.0040.00416.24

preferences:
57.56 ms | 1518 KiB | 5 Q