3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr["TextosCodificados"]["TextoCodificado"]["0"]["QualificadorAssunto"]["0"] = "ALL"; $arr["TextosCodificados"]["TextoCodificado"]["0"]["Texto"] = "Vnd mer.adq.rec.ter.op.mer.sj.rg.sub.trb.cnd.sub.t"; $arr["TextosCodificados"]["TextoCodificado"]["1"]["QualificadorAssunto"]["0"] = "AAI"; $arr["TextosCodificados"]["TextoCodificado"]["1"]["Texto"] = "Protocolo ICMS 18809 e 1192012 ICMS Retido Art 313W"; $arr["TextosCodificados"]["TextoCodificado"]["2"]["QualificadorAssunto"]["0"] = "IVN"; $arr["TextosCodificados"]["TextoCodificado"]["2"]["Texto"] = "Pedido Interno:0000283278 ID da Carga:"; function teste($arr) { foreach($arr as $k => $v) { if(is_array($v)){ } else { } } } $rst = teste($arr); var_dump($rst);

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.0110.01116.60
8.3.50.0070.00716.38
8.3.40.0120.00918.89
8.3.30.0040.01118.79
8.3.20.0000.00820.38
8.3.10.0080.00021.85
8.3.00.0040.00419.38
8.2.180.0070.01416.88
8.2.170.0090.00622.96
8.2.160.0070.00721.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00419.27
8.2.120.0000.00826.35
8.2.110.0060.00321.04
8.2.100.0090.00318.21
8.2.90.0000.00819.27
8.2.80.0050.00318.05
8.2.70.0030.00617.62
8.2.60.0000.00718.03
8.2.50.0050.00318.10
8.2.40.0070.00020.59
8.2.30.0040.00421.07
8.2.20.0000.00718.14
8.2.10.0080.00018.14
8.2.00.0000.00818.13
8.1.280.0150.00625.92
8.1.270.0050.00323.96
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0030.00623.88
8.1.230.0040.00719.14
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.38
8.1.190.0040.00717.22
8.1.180.0030.00618.10
8.1.170.0040.00418.65
8.1.160.0000.00719.03
8.1.150.0040.00419.01
8.1.140.0000.00719.48
8.1.130.0030.00317.44
8.1.120.0050.00317.49
8.1.110.0080.00017.44
8.1.100.0040.00417.33
8.1.90.0040.00417.41
8.1.80.0040.00417.48
8.1.70.0070.00017.46
8.1.60.0030.00617.59
8.1.50.0030.00617.47
8.1.40.0050.00317.58
8.1.30.0040.00417.51
8.1.20.0070.00317.55
8.1.10.0030.00517.55
8.1.00.0000.00817.45
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0050.00218.41
8.0.270.0030.00317.19
8.0.260.0070.00316.84
8.0.250.0030.00316.95
8.0.240.0040.00416.97
8.0.230.0030.00317.00
8.0.220.0030.00316.82
8.0.210.0000.00716.94
8.0.200.0070.00016.91
8.0.190.0090.00317.02
8.0.180.0040.00416.82
8.0.170.0000.00716.98
8.0.160.0000.00716.91
8.0.150.0050.00216.95
8.0.140.0030.00416.92
8.0.130.0000.00613.22
8.0.120.0000.00816.88
8.0.110.0030.00716.79
8.0.100.0000.00716.74
8.0.90.0000.00716.89
8.0.80.0100.00616.98
8.0.70.0000.00716.86
8.0.60.0000.00716.88
8.0.50.0040.00416.75
8.0.30.0110.00717.22
8.0.20.0110.00717.41
8.0.10.0070.00017.03
8.0.00.0150.00616.86
7.4.330.0020.00215.55
7.4.320.0000.00616.52
7.4.300.0060.00016.45
7.4.290.0030.00316.65
7.4.280.0000.00716.54
7.4.270.0040.00416.55
7.4.260.0030.00316.65
7.4.250.0080.00016.55
7.4.240.0030.00416.65
7.4.230.0070.00016.61
7.4.220.0120.01216.54
7.4.210.0060.00916.73
7.4.200.0030.00316.37
7.4.160.0090.01116.40
7.4.150.0100.00717.40
7.4.140.0120.00717.86
7.4.130.0140.01116.47
7.4.120.0040.01416.48
7.4.110.0110.01116.39
7.4.100.0100.01116.60
7.4.90.0110.00716.59
7.4.80.0190.00319.39
7.4.70.0120.00416.68
7.4.60.0060.00916.45
7.4.50.0000.01316.29
7.4.40.0070.01016.28
7.4.30.0080.00816.18
7.4.00.0030.01315.05
7.3.330.0000.00613.25
7.3.320.0050.00013.41
7.3.310.0050.00316.42
7.3.300.0000.00716.39
7.3.290.0090.00716.34
7.3.280.0080.00816.37
7.3.270.0080.00817.40
7.3.260.0090.01016.58
7.3.250.0080.01316.57
7.3.240.0110.00616.30
7.3.230.0090.00916.49
7.3.210.0030.01916.64
7.3.200.0070.01016.34
7.3.190.0120.00416.51
7.3.180.0030.01316.66
7.3.170.0100.01216.59
7.3.160.0080.00816.28
7.3.10.0030.01016.57
7.3.00.0070.01116.43
7.2.330.0090.00916.70
7.2.320.0040.01216.71
7.2.310.0070.01016.65
7.2.300.0140.00316.45
7.2.290.0180.00016.50
7.2.130.0030.00916.72
7.2.120.0090.00316.50
7.2.110.0070.01016.92
7.2.100.0040.01117.02
7.2.90.0070.00716.91
7.2.80.0180.00916.51
7.2.70.0090.01316.91
7.2.60.0100.00716.91
7.2.50.0220.00616.81
7.2.40.0110.00816.51
7.2.30.0030.01216.64
7.2.20.0070.01116.76
7.2.10.0150.01516.52
7.2.00.0090.00717.93
7.1.250.0150.00015.81
7.1.200.0100.00315.79
7.1.100.0030.01018.23
7.1.70.0000.01117.13
7.1.60.0140.01135.04
7.1.50.0160.00934.54
7.1.40.0190.00834.38
7.1.30.0130.01334.49
7.1.20.0260.00034.56
7.1.10.0030.01016.43
7.1.00.0100.00316.54
7.0.200.0040.00716.74
7.0.190.0080.00416.62
7.0.180.0030.01216.34
7.0.170.0100.00316.43
7.0.160.0060.00616.18
7.0.150.0000.01316.33
7.0.140.0030.01016.30
7.0.130.0030.00916.43
7.0.120.0060.00616.66
7.0.110.0030.00916.23
7.0.100.0050.01016.40
7.0.90.0030.00916.08
7.0.80.0060.00616.35
7.0.70.0030.01316.45
7.0.60.0030.01416.14
7.0.50.0120.00016.17
7.0.40.0000.01216.43
7.0.30.0050.00816.29
7.0.20.0120.00016.54
7.0.10.0030.00916.54
7.0.00.0050.00816.23

preferences:
36 ms | 401 KiB | 5 Q