Skip to content

Commit f56e4e6

Browse files
dingo-djrfnl
andauthored
Update wordpress-coding-standards/php.md
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
1 parent 62fce6e commit f56e4e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • wordpress-coding-standards

wordpress-coding-standards/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ switch ( $foo ) {
569569

570570
The `goto` statement must never be used.
571571

572-
The `eval()` construct is _very dangerous_ and is impossible to secure. Additionally, the `create_function()` function, which internally performs an `eval()`, is deprecated in PHP 7.2. Neither of these must be used.
572+
The `eval()` construct is _very dangerous_ and is impossible to secure. Additionally, the `create_function()` function, which internally performs an `eval()`, is deprecated since PHP 7.2 and has been removed in PHP 8.0. Neither of these must be used.
573573

574574
## Error Control Operator `@`
575575

0 commit comments

Comments
 (0)