3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arrDados = array(); $arrDados['NumeroEmpenhoAno'] = array('code' => 0,'size' => 1); $arrDados['UnidadeOrc'] = array('code' => 1,'size' => 2); echo 'Método 2: '; echo $arrDados['UnidadeOrc']['code']; echo PHP_EOL; // -------------------------------------------------------------- $arrDados = array(); $arrDados += array('NumeroEmpenhoAno' => array('code' => 0,'size' => 1)); $arrDados += array('UnidadeOrc' => array('code' => 1,'size' => 2)); echo 'Método 1: '; echo $arrDados['UnidadeOrc']['code'];

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.130.0060.00318.36
8.3.120.0060.00318.79
8.3.110.0090.00020.94
8.3.100.0030.00724.06
8.3.90.0040.00426.77
8.3.80.0090.00017.97
8.3.70.0040.01118.18
8.3.60.0120.00618.43
8.3.50.0080.00817.35
8.3.40.0070.00718.71
8.3.30.0040.01118.84
8.3.20.0040.00419.43
8.3.10.0050.00223.57
8.3.00.0060.00317.93
8.2.250.0000.00818.33
8.2.240.0060.00319.19
8.2.230.0080.00822.58
8.2.220.0060.01037.54
8.2.210.0080.00026.77
8.2.200.0080.00418.29
8.2.190.0130.00316.58
8.2.180.0170.00316.50
8.2.170.0120.00322.96
8.2.160.0110.00419.16
8.2.150.0000.00825.66
8.2.140.0060.00324.66
8.2.130.0040.00420.35
8.2.120.0030.00626.35
8.2.110.0090.00020.97
8.2.100.0090.00318.22
8.2.90.0030.00518.03
8.2.80.0050.00317.97
8.2.70.0050.00517.75
8.2.60.0030.00618.05
8.2.50.0000.00818.10
8.2.40.0000.00820.55
8.2.30.0050.00319.38
8.2.20.0040.00418.03
8.2.10.0000.00718.04
8.2.00.0030.00718.21
8.1.300.0090.00917.68
8.1.290.0060.00330.84
8.1.280.0140.00025.92
8.1.270.0050.00323.99
8.1.260.0050.00326.35
8.1.250.0030.00628.09
8.1.240.0040.00423.83
8.1.230.0040.00719.15
8.1.220.0060.00317.88
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0000.00917.22
8.1.180.0080.00018.10
8.1.170.0000.00818.54
8.1.160.0070.00018.86
8.1.150.0040.00419.98
8.1.140.0050.00219.47
8.1.130.0030.00318.86
8.1.120.0040.00317.37
8.1.110.0040.00417.38
8.1.100.0040.00417.45
8.1.90.0080.00017.34
8.1.80.0000.00817.30
8.1.70.0000.00717.39
8.1.60.0030.00617.34
8.1.50.0000.00817.37
8.1.40.0000.00717.43
8.1.30.0040.00417.41
8.1.20.0040.00417.48
8.1.10.0070.00017.44
8.1.00.0050.00317.43
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0030.00318.50
8.0.270.0000.00717.21
8.0.260.0050.00220.79
8.0.250.0060.00017.02
8.0.240.0000.00716.86
8.0.230.0000.00716.95
8.0.220.0030.00316.93
8.0.210.0000.00716.78
8.0.200.0070.00016.88
8.0.190.0000.01016.93
8.0.180.0040.00416.95
8.0.170.0000.00816.79
8.0.160.0030.00316.93
8.0.150.0030.00316.93
8.0.140.0000.00716.76
8.0.130.0020.00613.29
8.0.120.0040.00416.80
8.0.110.0040.00416.97
8.0.100.0040.00316.93
8.0.90.0000.00716.72
8.0.80.0070.01316.89
8.0.70.0040.00416.74
8.0.60.0060.00316.95
8.0.50.0070.00016.93
8.0.30.0090.00917.12
8.0.20.0090.00917.40
8.0.10.0000.00716.99
8.0.00.0090.01316.76
7.4.330.0000.00615.55
7.4.320.0000.00716.53
7.4.300.0000.00616.43
7.4.290.0070.00016.52
7.4.280.0000.00816.33
7.4.270.0040.00416.48
7.4.260.0000.00716.41
7.4.250.0070.00016.42
7.4.240.0040.00416.57
7.4.230.0000.00716.37
7.4.220.0180.00316.40
7.4.210.0030.01716.36
7.4.200.0000.00716.45
7.4.160.0080.01016.70
7.4.150.0120.00617.40
7.4.140.0140.00717.86
7.4.130.0200.00316.57
7.4.120.0120.01116.47
7.4.110.0100.01116.47
7.4.100.0180.00316.46
7.4.90.0100.01016.40
7.4.80.0090.01017.92
7.4.70.0150.00416.32
7.4.60.0120.00616.45
7.4.50.0070.00716.59
7.4.40.0110.00616.48
7.4.30.0050.01216.37
7.4.20.0060.01216.43
7.4.10.0070.01215.79
7.4.00.0100.00815.27
7.3.330.0030.00313.10
7.3.320.0030.00313.18
7.3.310.0030.00316.25
7.3.300.0030.00416.05
7.3.290.0090.00816.26
7.3.280.0070.01116.27
7.3.270.0110.00717.40
7.3.260.0080.01416.46
7.3.250.0120.01116.31
7.3.240.0070.01316.45
7.3.230.0090.00816.17
7.3.220.0070.01316.37
7.3.210.0080.01316.45
7.3.200.0070.01016.41
7.3.190.0060.01016.25
7.3.180.0080.00916.34
7.3.170.0120.00716.40
7.3.160.0080.01016.29
7.3.150.0030.01616.15
7.3.140.0100.01016.24
7.3.130.0030.01315.70
7.3.120.0060.01115.54
7.3.110.0050.01015.39
7.3.100.0130.00715.56
7.3.90.0070.00715.65
7.3.80.0030.01015.50
7.3.70.0080.00715.69
7.3.60.0070.00815.55
7.3.50.0060.00715.33
7.3.40.0070.01215.54
7.3.30.0080.01115.42
7.3.20.0080.00716.51
7.3.10.0090.00516.43
7.3.00.0110.00816.50
7.2.340.0110.00716.41
7.2.330.0090.00916.48
7.2.320.0080.01016.68
7.2.310.0150.00616.51
7.2.300.0110.00816.71
7.2.290.0060.01316.46
7.2.280.0040.01416.61
7.2.270.0100.00616.79
7.2.260.0090.00915.75
7.2.250.0070.01115.97
7.2.240.0070.00915.94
7.2.230.0030.01515.82
7.2.220.0080.00815.71
7.2.210.0070.00915.82
7.2.200.0120.00615.77
7.2.190.0080.00815.78
7.2.180.0050.00915.83
7.2.170.0040.01215.72
7.2.160.0100.00815.71
7.2.150.0090.00616.67
7.2.140.0070.01016.86
7.2.130.0070.01516.77
7.2.120.0090.00616.87
7.2.110.0200.00915.21
7.2.100.0180.00515.37
7.2.90.0180.00715.47
7.2.80.0340.01015.52
7.2.70.0180.00915.57
7.2.60.0130.01015.80
7.2.50.0130.01115.61
7.2.40.0180.00815.63
7.2.30.0180.00715.68
7.2.20.0140.01115.40
7.2.10.0180.00715.55
7.2.00.0140.00916.23
7.1.330.0180.00715.62
7.1.320.0150.00915.49
7.1.310.0130.01115.61
7.1.300.0160.00615.41
7.1.290.0120.01215.58
7.1.280.0130.01215.73
7.1.270.0120.01015.54
7.1.260.0120.00815.56
7.1.250.0150.00915.53
7.1.240.0140.00915.57
7.1.230.0220.00414.32
7.1.220.0180.00914.30
7.1.210.0210.00514.44
7.1.200.0320.00614.69
7.1.190.0220.00814.43
7.1.180.0290.00614.45
7.1.170.0170.00814.49
7.1.160.0180.00614.45
7.1.150.0170.01014.48
7.1.140.0190.00714.42
7.1.130.0190.00714.47
7.1.120.0180.00514.42
7.1.110.0190.00614.45
7.1.100.0170.00715.15
7.1.90.0580.00914.34
7.1.80.0150.00814.51
7.1.70.0110.00915.08
7.1.60.0210.01124.13
7.1.50.0220.01024.11
7.1.40.0230.01324.13
7.1.30.0250.01024.02
7.1.20.0250.00823.94
7.1.10.0150.00915.09
7.1.00.0150.00714.98
7.0.330.0080.01215.30
7.0.320.0110.01015.15
7.0.310.0200.00814.34
7.0.300.0200.00914.25
7.0.290.0200.00614.21
7.0.280.0230.00714.09
7.0.270.0190.00714.13
7.0.260.0200.00814.17
7.0.250.0200.00614.21
7.0.240.0210.00714.19
7.0.230.0250.00514.34
7.0.220.0210.00714.25
7.0.210.0190.00914.38
7.0.200.0170.00614.97
7.0.190.0220.00815.06
7.0.180.0230.00815.02
7.0.170.0140.00914.99
7.0.160.0160.00815.06
7.0.150.0180.00915.02
7.0.140.0170.00615.05
7.0.130.0150.00714.98
7.0.120.0170.00815.00
7.0.110.0160.01014.90
7.0.100.0150.00914.97
7.0.90.0180.00714.92
7.0.80.0140.01015.00
7.0.70.0160.00814.97
7.0.60.0160.00814.96
7.0.50.0290.00614.99
7.0.40.0180.00714.71
7.0.30.0160.00914.72
7.0.20.0140.00714.60
7.0.10.0230.00714.69
7.0.00.0170.00714.68
5.6.400.0090.01415.34
5.6.390.0160.00615.37
5.6.380.0100.01014.61
5.6.370.0130.00814.68
5.6.360.0120.00714.70
5.6.350.0140.01014.73
5.6.340.0140.00714.76
5.6.330.0100.01114.57
5.6.320.0140.00714.64
5.6.310.0130.00914.82
5.6.300.0130.02015.78
5.6.290.0130.01815.79
5.6.280.0100.01815.81
5.6.270.0150.01215.82
5.6.260.0150.01315.75
5.6.250.0150.01215.65
5.6.240.0110.01715.69
5.6.230.0120.01415.69
5.6.220.0120.01515.74
5.6.210.0110.01615.78
5.6.200.0090.01815.67
5.6.190.0100.01815.66
5.6.180.0120.01415.74
5.6.170.0100.01515.66
5.6.160.0150.01115.74
5.6.150.0130.01315.74
5.6.140.0160.01315.65
5.6.130.0100.02215.71
5.6.120.0110.01515.71
5.6.110.0140.01315.69
5.6.100.0120.01415.65
5.6.90.0150.01415.71
5.6.80.0110.01415.48
5.6.70.0100.01615.48
5.6.60.0160.01215.47
5.6.50.0110.01215.49
5.6.40.0090.01515.57
5.6.30.0110.01415.50
5.6.20.0090.01515.58
5.6.10.0130.01215.53
5.6.00.0090.01715.58
5.5.380.0100.02313.53
5.5.370.0130.01413.52
5.5.360.0120.01113.51
5.5.350.0100.01513.59
5.5.340.0110.01813.58
5.5.330.0140.01713.58
5.5.320.0140.01213.55
5.5.310.0100.01413.67
5.5.300.0110.01913.61
5.5.290.0100.01413.63
5.5.280.0110.01613.57
5.5.270.0150.01113.55
5.5.260.0120.01313.60
5.5.250.0120.01313.51
5.5.240.0100.01313.58
5.5.230.0120.01213.58
5.5.220.0120.01213.57
5.5.210.0080.01913.61
5.5.200.0090.01513.44
5.5.190.0110.01313.53
5.5.180.0110.01413.53
5.5.170.0140.01014.76
5.5.160.0130.01113.66
5.5.150.0110.01213.64
5.5.140.0110.01313.51
5.5.130.0110.01313.67
5.5.120.0110.01513.59
5.5.110.0140.01713.50
5.5.100.0090.01513.57
5.5.90.0080.01613.57
5.5.80.0110.01313.53
5.5.70.0060.01613.53
5.5.60.0080.01513.48
5.5.50.0140.01313.50
5.5.40.0080.01513.45
5.5.30.0090.01313.45
5.5.20.0110.01213.54
5.5.10.0090.01513.53
5.5.00.0130.01013.60
5.4.450.0110.01413.04
5.4.440.0090.01712.91
5.4.430.0110.01412.97
5.4.420.0080.01512.95
5.4.410.0090.01313.00
5.4.400.0080.02112.96
5.4.390.0100.01312.86
5.4.380.0110.01112.89
5.4.370.0100.01212.89
5.4.360.0110.01212.79
5.4.350.0110.01312.91
5.4.340.0100.01512.84
5.4.330.0130.00511.28
5.4.320.0100.01912.94
5.4.310.0100.01312.92
5.4.300.0140.00912.80
5.4.290.0090.01412.98
5.4.280.0050.01512.80
5.4.270.0120.01412.73
5.4.260.0100.01412.81
5.4.250.0080.01412.90
5.4.240.0110.01112.85
5.4.230.0110.01012.88
5.4.220.0100.01212.92
5.4.210.0100.01212.83
5.4.200.0100.01112.90
5.4.190.0110.01712.87
5.4.180.0110.01312.80
5.4.170.0090.01312.78
5.4.160.0060.01612.89
5.4.150.0100.01512.88
5.4.140.0120.01112.88
5.4.130.0110.01512.80
5.4.120.0090.01212.88
5.4.110.0100.01212.80
5.4.100.0070.01412.86
5.4.90.0090.01212.83
5.4.80.0080.01512.82
5.4.70.0100.01012.85
5.4.60.0110.01012.89
5.4.50.0110.01212.86
5.4.40.0080.01212.80
5.4.30.0110.01212.86
5.4.20.0070.01412.81
5.4.10.0110.01212.87
5.4.00.0070.01312.91
5.3.290.0100.01612.68
5.3.280.0090.01412.67
5.3.270.0120.01012.64
5.3.260.0090.01312.70
5.3.250.0070.01312.67
5.3.240.0120.01112.47
5.3.230.0100.01412.62
5.3.220.0100.01112.49
5.3.210.0100.01412.56
5.3.200.0130.01112.50
5.3.190.0110.01612.59
5.3.180.0100.01312.65
5.3.170.0070.01512.62
5.3.160.0080.01312.63
5.3.150.0130.01112.62
5.3.140.0120.01412.61
5.3.130.0060.01512.60
5.3.120.0110.01112.68
5.3.110.0090.01312.70
5.3.100.0100.01512.65
5.3.90.0050.01412.61
5.3.80.0070.01312.60
5.3.70.0090.01212.54
5.3.60.0100.01112.66
5.3.50.0140.01112.56
5.3.40.0080.01612.54
5.3.30.0110.01012.50
5.3.20.0080.01212.54
5.3.10.0100.01012.36
5.3.00.0060.01412.44
5.2.170.0060.01111.77
5.2.160.0090.00911.78
5.2.150.0070.01211.72
5.2.140.0060.01111.80
5.2.130.0050.01211.79
5.2.120.0060.01111.83
5.2.110.0060.01111.77
5.2.100.0090.00911.77
5.2.90.0070.01111.66
5.2.80.0050.01711.65
5.2.70.0080.01411.64
5.2.60.0070.01611.63
5.2.50.0060.01211.66
5.2.40.0080.01011.69
5.2.30.0090.00811.62
5.2.20.0060.01111.63
5.2.10.0070.01011.66
5.2.00.0070.00911.56
5.1.60.0060.00911.56
5.1.50.0060.00911.56
5.1.40.0040.01311.56
5.1.30.0050.01011.56
5.1.20.0090.00711.56
5.1.10.0060.00811.56
5.1.00.0070.00711.56
5.0.50.0040.01011.56
5.0.40.0050.00811.56
5.0.30.0040.01011.56
5.0.20.0050.00711.56
5.0.10.0060.00611.56
5.0.00.0050.00911.56
4.4.90.0050.00711.56
4.4.80.0070.00311.56
4.4.70.0040.00611.56
4.4.60.0030.00711.56
4.4.50.0040.00511.56
4.4.40.0040.00911.56
4.4.30.0060.00411.56
4.4.20.0040.00611.56
4.4.10.0030.00911.56
4.4.00.0030.00811.56
4.3.110.0050.00511.56
4.3.100.0070.00311.56
4.3.90.0030.00611.56
4.3.80.0050.01111.56
4.3.70.0050.00611.56
4.3.60.0020.00711.56
4.3.50.0030.00811.56
4.3.40.0050.00711.56
4.3.30.0040.00411.56
4.3.20.0030.00611.56
4.3.10.0050.00611.56
4.3.00.0040.00511.56

preferences:
33.74 ms | 403 KiB | 5 Q