Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions spec/09-lexical-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,8 @@ single-quotes (`'`, U+0027). The literal can contain any source character except
single-quote (`'`) and backslash (`\\`), which can only be represented by
their corresponding escape sequence.

The optional *b-prefix* is reserved for future use in dealing with
so-called *binary strings*. For now, a *single-quoted-string-literal*
*Deprecated* The optional *b-prefix* was reserved for future use in dealing with
so-called *binary strings*. A *single-quoted-string-literal*
with a *b-prefix* is equivalent to one without.

A single-quoted string literal is always a constant expression.
Expand Down Expand Up @@ -812,8 +812,8 @@ double-quote (`"`) and backslash (`\\`), which can only be represented by
their corresponding escape sequence. Certain other (and sometimes
non-printable) characters can also be expressed as escape sequences.

The optional *b-prefix* is reserved for future use in dealing with
so-called *binary strings*. For now, a *double-quoted-string-literal*
*Deprecated* The optional *b-prefix* was reserved for future use in dealing with
so-called *binary strings*. A *double-quoted-string-literal*
with a *b-prefix* is equivalent to one without.

An escape sequence represents a single-character encoding, as described
Expand Down Expand Up @@ -1040,7 +1040,7 @@ A heredoc literal supports variable substitution as defined for
A heredoc string literal is a constant expression if it does not contain
any variable substitution.

The optional *b-prefix* has no effect.
*Deprecated* The optional *b-prefix* has no effect.

**Examples**

Expand Down Expand Up @@ -1085,7 +1085,7 @@ not subject to variable substitution (like the single-quoted string).

A nowdoc string literal is a constant expression.

The optional *b-prefix* has no effect.
*Deprecated* The optional *b-prefix* has no effect.

**Examples**

Expand Down
4 changes: 2 additions & 2 deletions spec/10-expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2192,8 +2192,8 @@ A cast can result in a loss of information.

A *cast-type* of `array` results in a [conversion to type array](08-conversions.md#converting-to-array-type).

A *cast-type* of `binary` is reserved for future use in dealing with
so-called *binary strings*. For now, it is fully equivalent to `string` cast.
*Deprecated* A *cast-type* of `binary` was reserved for future use in dealing with
so-called *binary strings*. It is fully equivalent to `string` cast.

A *cast-type* of `bool` or `boolean` results in a [conversion to type `bool`](08-conversions.md#converting-to-boolean-type).

Expand Down
Binary file modified tests/expressions/unary_operators/cast.phpt
Binary file not shown.