File tree 11 files changed +14
-14
lines changed
language/control-structures
11 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 36
36
</simpara >
37
37
</simplesect >
38
38
<simplesect >
39
- <title >Examplo de script em lote</title >
39
+ <title >Exemplo de script em lote</title >
40
40
<example >
41
41
<title >Linha de comando para configurar o IIS e o PHP</title >
42
42
<programlisting >
Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ foreach (expressão_iterável as $chave => $valor) {
49
49
<programlisting role =" php" >
50
50
<![CDATA[
51
51
<?php
52
- /* Examplo : somente valor */
52
+ /* Exemplo : somente valor */
53
53
54
54
$array = [1, 2, 3, 17];
55
55
56
56
foreach ($array as $value) {
57
57
echo "Elemento atual de \$array: $value.\n";
58
58
}
59
59
60
- /* Examplo : chave e valor */
60
+ /* Exemplo : chave e valor */
61
61
62
62
$array = [
63
63
"um" => 1,
@@ -70,7 +70,7 @@ foreach ($array as $key => $value) {
70
70
echo "Chave: $key => Valor: $value\n";
71
71
}
72
72
73
- /* Examplo : arrays chave-valor multidimensionais */
73
+ /* Exemplo : arrays chave-valor multidimensionais */
74
74
$grid = [];
75
75
$grid[0][0] = "a";
76
76
$grid[0][1] = "b";
@@ -83,7 +83,7 @@ foreach ($grid as $y => $row) {
83
83
}
84
84
}
85
85
86
- /* Examplo : arrays dinâmicos */
86
+ /* Exemplo : arrays dinâmicos */
87
87
88
88
foreach (range(1, 5) as $value) {
89
89
echo "$value\n";
Original file line number Diff line number Diff line change 62
62
<simplelist >
63
63
<member ><function >dba_nextkey</function ></member >
64
64
<member ><function >dba_key_split</function ></member >
65
- <member >Examplo 2 nos <link linkend =" dba.examples" >exemplos DBA</link ></member >
65
+ <member >Exemplo 2 nos <link linkend =" dba.examples" >exemplos DBA</link ></member >
66
66
</simplelist >
67
67
</para >
68
68
</refsect1 >
Original file line number Diff line number Diff line change @@ -1177,7 +1177,7 @@ string(5) "12.34"
1177
1177
</note >
1178
1178
<example >
1179
1179
<title >
1180
- Examplo de uso de <constant >FILTER_CALLBACK</constant > para validar
1180
+ Exemplo de uso de <constant >FILTER_CALLBACK</constant > para validar
1181
1181
um login
1182
1182
</title >
1183
1183
<programlisting role =" php" >
Original file line number Diff line number Diff line change 12
12
<![CDATA[
13
13
<?php
14
14
// Instancia um novo objeto Gmagick
15
- $image = new Gmagick('examplo .jpg');
15
+ $image = new Gmagick('exemplo .jpg');
16
16
17
17
// Carrega miniatura da imagem. 0 para qualquer eixo preserva a razão de aspecto
18
18
$image->thumbnailimage(100, 0);
Original file line number Diff line number Diff line change 80
80
<example >
81
81
<title >Usando <function >Imagick::chopImage</function >:</title >
82
82
<para >
83
- Examplo de uso de Imagick::chopImage
83
+ Exemplo de uso de Imagick::chopImage
84
84
</para >
85
85
<programlisting role =" php" >
86
86
<![CDATA[
Original file line number Diff line number Diff line change 53
53
&reftitle.examples;
54
54
<para >
55
55
<example >
56
- <title >Examplo de Formato de Resultado</title >
56
+ <title >Exemplo de Formato de Resultado</title >
57
57
<screen >
58
58
<![CDATA[
59
59
Array
Original file line number Diff line number Diff line change 84
84
<example >
85
85
<title >Um exemplo de <function >Imagick::setFont</function ></title >
86
86
<para >
87
- Examplo de uso de Imagick::setFont
87
+ Exemplo de uso de Imagick::setFont
88
88
</para >
89
89
<programlisting role =" php" >
90
90
<![CDATA[
Original file line number Diff line number Diff line change 103
103
<programlisting role =" php" >
104
104
<![CDATA[
105
105
<?php
106
- // Examplo de uso de getenv()
106
+ // Exemplo de uso de getenv()
107
107
$ip = getenv('REMOTE_ADDR');
108
108
109
109
// Ou simplesmente usa uma variável super global ($_SERVER ou $_ENV)
Original file line number Diff line number Diff line change 70
70
&reftitle.examples;
71
71
<para >
72
72
<example >
73
- <title >Examplos de uso de <function >headers_sent</function ></title >
73
+ <title >Exemplos de uso de <function >headers_sent</function ></title >
74
74
<programlisting role =" php" >
75
75
<![CDATA[
76
76
<?php
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ $conf = array(
117
117
);
118
118
119
119
Apenas controlador:
120
- http://examplo /noticias
120
+ http://example /noticias
121
121
controlador == noticias
122
122
Apenas ação (quando definido yaf.action_prefer=1 no php.ini)
123
123
ação == noticias
You can’t perform that action at this time.
0 commit comments