3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dogs= [ ['name'=>'jippy','age'=>12 ,'address'=>'bhaktapur', 'size'=>[ 'weight'=>52, 'heght' =>2]], ['name'=>'jipu','age'=>2 ,'address'=>'pur', 'size'=>[ 'weight'=>52, 'heght' =>2]] ]; foreach($dogs as $key=> $item){ echo $item['name']; }

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.00416.50
8.3.50.0000.01416.57
8.3.40.0120.00318.72
8.3.30.0040.01118.47
8.3.20.0000.00720.16
8.3.10.0050.00323.61
8.3.00.0000.01122.04
8.2.180.0070.01418.18
8.2.170.0060.00822.96
8.2.160.0030.01020.39
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0110.00419.29
8.2.120.0040.00426.35
8.2.110.0070.00421.00
8.2.100.0080.00817.43
8.2.90.0030.00619.17
8.2.80.0040.00418.04
8.2.70.0100.00017.38
8.2.60.0000.00717.93
8.2.50.0040.00418.10
8.2.40.0030.00520.32
8.2.30.0050.00219.27
8.2.20.0000.00718.04
8.2.10.0000.00718.21
8.2.00.0040.00418.18
8.1.280.0100.00325.92
8.1.270.0080.00023.98
8.1.260.0080.00026.35
8.1.250.0090.00928.09
8.1.240.0080.00023.96
8.1.230.0090.00319.07
8.1.220.0060.00317.78
8.1.210.0030.00518.77
8.1.200.0090.00017.25
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0080.00018.50
8.1.160.0000.00719.05
8.1.150.0080.00020.59
8.1.140.0040.00419.59
8.1.130.0070.00018.90
8.1.120.0000.00717.51
8.1.110.0040.00417.39
8.1.100.0050.00317.43
8.1.90.0040.00417.49
8.1.80.0070.00017.50
8.1.70.0000.00917.45
8.1.60.0000.00817.63
8.1.50.0050.00317.52
8.1.40.0040.00417.43
8.1.30.0080.00017.66
8.1.20.0040.00417.61
8.1.10.0030.00517.59
8.1.00.0070.00017.52
8.0.300.0040.00418.77
8.0.290.0050.00316.63
8.0.280.0050.00318.55
8.0.270.0000.00717.32
8.0.260.0030.00316.88
8.0.250.0030.00316.91
8.0.240.0030.00316.97
8.0.230.0000.00716.94
8.0.220.0000.00716.84
8.0.210.0030.00316.78
8.0.200.0060.00016.94
8.0.190.0030.00516.79
8.0.180.0000.00716.95
8.0.170.0070.00016.85
8.0.160.0040.00416.88
8.0.150.0070.00016.89
8.0.140.0000.00716.90
8.0.130.0000.00613.35
8.0.120.0040.00416.88
8.0.110.0030.00516.72
8.0.100.0040.00416.71
8.0.90.0070.00016.90
8.0.80.0120.00916.89
8.0.70.0000.00716.89
8.0.60.0040.00416.93
8.0.50.0070.00016.76
8.0.30.0150.00617.10
8.0.20.0080.01117.40
8.0.10.0000.00716.96
8.0.00.0120.00616.82
7.4.330.0050.00015.55
7.4.320.0030.00316.51
7.4.300.0000.00716.41
7.4.290.0000.00716.50
7.4.280.0030.00616.54
7.4.270.0040.00416.59
7.4.260.0080.00016.55
7.4.250.0000.00716.41
7.4.240.0000.00716.52
7.4.230.0000.00716.70
7.4.220.0120.01216.63
7.4.210.0050.01116.55
7.4.200.0030.00316.39
7.4.160.0120.00616.55
7.4.150.0090.01617.40
7.4.140.0140.00917.86
7.4.130.0100.00716.63
7.4.120.0100.00616.63
7.4.110.0110.00716.50
7.4.100.0100.00716.37
7.4.90.0100.00616.29
7.4.80.0100.01119.39
7.4.70.0060.01016.59
7.4.60.0040.01116.41
7.4.50.0060.00916.65
7.4.40.0120.00616.46
7.4.30.0060.00916.50
7.4.00.0040.00815.14
7.3.330.0030.00313.27
7.3.320.0050.00013.23
7.3.310.0000.00716.47
7.3.300.0070.00016.42
7.3.290.0030.00316.30
7.3.280.0080.00816.27
7.3.270.0110.00617.40
7.3.260.0080.01216.41
7.3.250.0070.01016.37
7.3.240.0130.00716.44
7.3.230.0140.00716.54
7.3.210.0110.00716.45
7.3.200.0120.00316.40
7.3.190.0120.00416.51
7.3.180.0060.00916.54
7.3.170.0080.00816.44
7.3.160.0040.01616.48
7.2.330.0070.01016.58
7.2.320.0060.01616.55
7.2.310.0040.01216.72
7.2.300.0080.00916.65
7.2.290.0190.00316.80
7.2.110.0080.00816.62
7.2.100.0070.00716.78
7.2.90.0030.01016.64
7.2.80.0120.00016.40
7.2.70.0030.01017.11
7.2.60.0030.01216.98
7.2.50.0040.01116.69
7.2.40.0060.00616.69
7.2.30.0040.00416.90
7.2.20.0040.00716.85
7.2.10.0000.01416.84
7.2.00.0040.01218.12
7.1.230.0000.01215.85
7.1.220.0030.00915.75
7.1.210.0130.00015.46
7.1.200.0090.00315.89
7.1.190.0000.01315.80
7.1.180.0040.01115.48
7.1.170.0090.00015.87
7.1.160.0090.00315.85
7.1.150.0000.00915.91
7.1.140.0030.00715.86
7.1.130.0000.01215.61
7.1.120.0040.00715.86
7.1.110.0030.01015.66
7.1.100.0040.00716.77
7.1.90.0070.00715.72
7.1.80.0060.00615.64
7.1.70.0060.01016.51
7.1.60.0120.00725.35
7.1.50.0120.00825.32
7.1.40.0130.01025.15
7.1.30.0090.01525.31
7.1.20.0090.01325.04
7.1.10.0030.00816.08
7.1.00.0060.00716.13
7.0.310.0060.00315.56
7.0.300.0030.00615.17
7.0.290.0040.00815.32
7.0.280.0030.00715.48
7.0.270.0000.01015.27
7.0.260.0060.00315.58
7.0.250.0030.00915.41
7.0.240.0040.00815.31
7.0.230.0040.00415.51
7.0.220.0070.00715.54
7.0.210.0000.01215.09
7.0.200.0070.00615.85
7.0.190.0040.00715.96
7.0.180.0060.00815.93
7.0.170.0020.01015.82
7.0.160.0060.00815.78
7.0.150.0040.00715.79
7.0.140.0060.00516.00
7.0.130.0070.00616.06
7.0.120.0070.00516.13
7.0.110.0050.00715.86
7.0.100.0060.00715.79
7.0.90.0030.01015.78
7.0.80.0070.00615.86
7.0.70.0020.01215.91
7.0.60.0050.00515.60
7.0.50.0030.01115.80
7.0.40.0070.00514.94
7.0.30.0040.01114.94
7.0.20.0070.00814.77
7.0.10.0060.00814.84
7.0.00.0030.01114.92
5.6.380.0060.00314.37

preferences:
38.92 ms | 401 KiB | 5 Q