3v4l.org

run code in 500+ PHP versions simultaneously
<?php $liste = [ ['name' => 'Elsa', 'job' => 'Student', 'springbreak' => 'true' ], ['name' => 'Chris', 'job' => 'Teacher', 'springbreak' => 'true' ], ['name' => 'Zob', 'job' => 'Student', 'springbreak' => 'false' ], ['name' => 'Ken', 'job' => 'Teacher', 'springbreak' => 'true' ], ['name' => 'Ryan', 'job' => 'Student', 'springbreak' => 'false' ], ['name' => 'Tenta', 'job' => 'Teacher', 'springbreak' => 'true' ] ]; $names = []; foreach($liste as $list){ if($list['springbreak']=='true'){ $names[] = $list['name']; } } echo implode(',',$names); ?>

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.30.0090.00919.36
8.5.20.0110.01119.63
8.5.10.0100.00816.36
8.5.00.0140.01419.93
8.4.180.0140.00919.71
8.4.170.0120.00922.01
8.4.160.0100.01322.23
8.4.150.0070.00516.95
8.4.140.0100.01017.77
8.4.130.0130.00817.52
8.4.120.0110.01120.65
8.4.110.0140.00722.33
8.4.100.0090.01118.82
8.4.90.0080.00418.54
8.4.80.0140.00518.72
8.4.70.0080.00117.78
8.4.60.0120.00918.58
8.4.50.0040.00420.50
8.4.40.0160.00319.25
8.4.30.0160.00317.41
8.4.20.0100.01020.36
8.4.10.0090.00017.64
8.3.300.0160.00918.35
8.3.290.0120.01020.72
8.3.280.0130.00818.30
8.3.270.0120.01116.83
8.3.260.0090.00816.57
8.3.250.0100.00818.87
8.3.240.0090.00917.20
8.3.230.0100.00616.54
8.3.220.0040.00419.16
8.3.210.0050.00316.67
8.3.200.0050.00516.51
8.3.190.0150.00416.97
8.3.180.0110.00918.63
8.3.170.0090.00017.00
8.3.160.0080.00018.49
8.3.150.0130.00616.62
8.3.140.0060.00317.04
8.3.130.0060.00318.50
8.3.120.0050.00318.85
8.3.110.0090.00620.94
8.3.100.0030.00624.06
8.3.90.0120.00626.77
8.3.80.0080.00417.97
8.3.70.0100.01018.56
8.3.60.0090.00618.30
8.3.50.0090.00917.54
8.3.40.0040.01118.79
8.3.30.0070.00718.90
8.3.20.0000.00918.90
8.3.10.0080.00021.90
8.3.00.0080.00023.66
8.2.300.0090.01422.24
8.2.290.0120.00720.48
8.2.280.0050.00318.34
8.2.270.0100.01016.94
8.2.260.0090.00916.74
8.2.250.0160.00316.75
8.2.240.0130.00717.06
8.2.230.0080.00022.58
8.2.220.0030.00737.54
8.2.210.0050.00326.77
8.2.200.0090.00018.29
8.2.190.0090.00618.21
8.2.180.0120.00916.63
8.2.170.0110.00422.96
8.2.160.0070.01019.08
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00421.13
8.2.120.0070.00726.35
8.2.110.0070.01721.12
8.2.100.0060.00617.78
8.2.90.0090.00017.91
8.2.80.0040.00417.97
8.2.70.0060.00317.93
8.2.60.0020.00518.28
8.2.50.0050.00318.10
8.2.40.0030.00619.47
8.2.30.0040.00420.62
8.2.20.0000.00918.02
8.2.10.0000.00718.10
8.2.00.0030.00617.66
8.1.340.0120.00723.73
8.1.330.0040.00421.90
8.1.320.0110.00616.02
8.1.310.0090.00618.30
8.1.300.0070.00718.25
8.1.290.0060.00330.84
8.1.280.0100.00625.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00623.98
8.1.230.0040.00822.63
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0090.00317.35
8.1.190.0050.00317.13
8.1.180.0000.00918.10
8.1.170.0000.00818.59
8.1.160.0040.00418.98
8.1.150.0070.00018.80
8.1.140.0050.00218.89
8.1.130.0000.00820.18
8.1.120.0030.00517.40
8.1.110.0060.00317.45
8.1.100.0040.00417.39
8.1.90.0000.00817.34
8.1.80.0060.00317.51
8.1.70.0040.00817.38
8.1.60.0000.00817.48
8.1.50.0070.00017.41
8.1.40.0040.00417.41
8.1.30.0040.00417.66
8.1.20.0070.00017.61
8.1.10.0080.00017.58
8.1.00.0040.00417.52
8.0.300.0040.00419.63
8.0.290.0030.00616.75
8.0.280.0030.00318.46
8.0.270.0030.00316.88
8.0.260.0000.00620.16
8.0.250.0070.00016.94
8.0.240.0040.00416.85
8.0.230.0000.00716.93
8.0.220.0040.00416.89
8.0.210.0030.00316.86
8.0.200.0030.00316.91
8.0.190.0000.00916.86
8.0.180.0080.00016.79
8.0.170.0040.00416.88
8.0.160.0040.00416.90
8.0.150.0040.00416.77
8.0.140.0000.00716.84
8.0.130.0030.00313.34
8.0.120.0060.00316.84
8.0.110.0070.00016.84
8.0.100.0000.00816.89
8.0.90.0000.00816.88
8.0.80.0120.00716.88
8.0.70.0040.00416.75
8.0.60.0030.00616.79
8.0.50.0040.00416.77
8.0.30.0070.01417.12
8.0.20.0080.01117.40
8.0.10.0030.00516.84
8.0.00.0100.00816.86
7.4.330.0000.00415.55
7.4.320.0030.00316.60
7.4.300.0000.00716.36
7.4.290.0070.00216.66
7.4.280.0050.00316.54
7.4.270.0000.00616.64
7.4.260.0060.00316.39
7.4.250.0030.00616.52
7.4.240.0000.00716.52
7.4.230.0030.00316.61
7.4.220.0000.00816.54
7.4.210.0060.01016.50
7.4.200.0070.00016.30
7.4.160.0100.00816.45
7.4.140.0100.01117.86
7.4.130.0040.01716.58
7.4.120.0100.00916.57
7.4.110.0100.00716.54
7.4.100.0150.00416.59
7.4.90.0090.01216.51
7.4.80.0090.00619.39
7.4.70.0040.01216.27
7.4.60.0090.00916.40
7.4.50.0030.01416.56
7.4.40.0090.00916.42
7.4.00.0070.01014.68
7.3.330.0020.00213.07
7.3.320.0060.00013.09
7.3.310.0000.00816.27
7.3.300.0030.00316.32
7.3.290.0050.00316.18
7.3.280.0110.00516.28
7.3.260.0110.01016.49
7.3.240.0120.00816.54
7.3.230.0060.01116.30
7.3.210.0100.00716.25
7.3.200.0030.01416.47
7.3.190.0160.00016.59
7.3.180.0130.00716.40
7.3.170.0100.00716.37
7.3.160.0100.00616.44
7.3.10.0070.00316.62
7.3.00.0100.00016.76
7.2.330.0130.00616.73
7.2.320.0080.01016.48
7.2.310.0090.00916.79
7.2.300.0060.01016.54
7.2.290.0060.01016.54
7.2.130.0060.00317.03
7.2.120.0000.00917.05
7.2.110.0090.00617.04
7.2.100.0770.00315.91
7.2.90.0660.00615.87
7.2.80.0650.00315.65
7.2.70.0790.01015.96
7.2.60.0660.00515.91
7.2.50.0840.00616.00
7.2.40.0730.01016.08
7.2.30.0880.00815.97
7.2.20.0680.00215.98
7.2.10.0830.00715.91
7.2.00.0780.00316.00
7.1.250.0050.00516.04
7.1.220.1400.01013.76
7.1.210.1260.00713.86
7.1.200.1260.00313.74
7.1.190.1610.00313.64
7.1.180.1360.00313.80
7.1.170.1650.01013.96
7.1.160.1230.00713.68
7.1.150.1350.01013.86
7.1.140.1660.01013.36
7.1.130.1680.01313.53
7.1.120.1560.00713.82
7.1.110.1490.00613.93
7.1.100.1840.00013.84
7.1.90.1330.00914.04
7.1.80.1660.01313.73
7.1.70.1340.00713.54
7.1.60.1820.01731.83
7.1.50.1690.00331.59
7.1.40.1670.01331.52
7.1.30.1710.00331.68
7.1.20.1780.01331.64
7.1.10.1380.00713.98
7.1.00.1250.01013.55
5.6.380.0060.00614.55

preferences:
78.56 ms | 1457 KiB | 5 Q