Skip to content

Commit

Permalink
add magic constant __PROPERTY__
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Sep 5, 2024
1 parent 56f6b9e commit bb5ac40
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions standard/basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,3 +281,10 @@ function sapi_windows_generate_ctrl_event(int $event, int $pid = 0): bool {}
* @link https://php.net/manual/en/language.constants.predefined.php
*/
define('__NAMESPACE__', '', true);

/**
* The name of the current property (case-sensitive). This constant
* is defined in compile-time (Added in PHP 8.4.0).
* @link https://php.net/manual/en/language.constants.predefined.php
*/
define('__PROPERTY__', '', true);

0 comments on commit bb5ac40

Please sign in to comment.