mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Nits to type juggling page
Add links Remove implicit conversation to array note as this can never happen
This commit is contained in:
parent
55956ac4e2
commit
7ee66cf9b5
1 changed files with 5 additions and 11 deletions
|
@ -73,7 +73,9 @@
|
|||
|
||||
<simpara>
|
||||
This is the context when using <function>echo</function>,
|
||||
<function>print</function>, string interpolation, or the string
|
||||
<function>print</function>,
|
||||
<link linkend="language.types.string.parsing">string interpolation</link>,
|
||||
or the string
|
||||
<link linkend="language.operators.string">concatenation operator</link>.
|
||||
</simpara>
|
||||
|
||||
|
@ -168,8 +170,8 @@
|
|||
|
||||
<warning>
|
||||
<simpara>
|
||||
<!-- TODO add link to internal function definition if we have? -->
|
||||
Internal functions automatically coerce &null; to scalar types,
|
||||
<link linkend="functions.internal">Internal functions</link>
|
||||
automatically coerce &null; to scalar types,
|
||||
this behaviour is <emphasis>DEPRECATED</emphasis> as of PHP 8.1.0.
|
||||
</simpara>
|
||||
</warning>
|
||||
|
@ -319,14 +321,6 @@ if ($fst === $str) {
|
|||
</sect2>
|
||||
|
||||
<simplesect>
|
||||
<!-- when can this happen? TODO Remove? -->
|
||||
<note>
|
||||
<simpara>
|
||||
The behaviour of an automatic conversion to <type>array</type> is currently
|
||||
undefined.
|
||||
</simpara>
|
||||
</note>
|
||||
|
||||
<note>
|
||||
<simpara>
|
||||
Also, because PHP supports indexing into <type>string</type>s via offsets
|
||||
|
|
Loading…
Reference in a new issue