Skip to content

Commit 85009b8

Browse files
committed
Remove deprecated (real) cast
1 parent 06750d7 commit 85009b8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Zend/zend_language_scanner.l

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,13 +1494,6 @@ NEWLINE ("\r"|"\n"|"\r\n")
14941494
RETURN_TOKEN(T_DOUBLE_CAST);
14951495
}
14961496

1497-
<ST_IN_SCRIPTING>"("{TABS_AND_SPACES}"real"{TABS_AND_SPACES}")" {
1498-
if (PARSER_MODE()) {
1499-
zend_error(E_DEPRECATED, "The (real) cast is deprecated, use (float) instead");
1500-
}
1501-
RETURN_TOKEN(T_DOUBLE_CAST);
1502-
}
1503-
15041497
<ST_IN_SCRIPTING>"("{TABS_AND_SPACES}("string"|"binary"){TABS_AND_SPACES}")" {
15051498
RETURN_TOKEN(T_STRING_CAST);
15061499
}

0 commit comments

Comments
 (0)