Changeset View
Changeset View
Standalone View
Standalone View
scripts/phutil_symbols.php
| Show First 20 Lines • Show All 534 Lines • ▼ Show 20 Lines | 'class' => array_fill_keys($builtin['classes'], true) + array( | ||||
| // PHP7 defines these new parent classes of "Exception", but they do not | // PHP7 defines these new parent classes of "Exception", but they do not | ||||
| // exist prior to PHP7. It's possible to use them safely in PHP5, in | // exist prior to PHP7. It's possible to use them safely in PHP5, in | ||||
| // some cases, to write code which is compatible with either PHP5 or | // some cases, to write code which is compatible with either PHP5 or | ||||
| // PHP7, but it s hard for us tell if a particular use is safe or not. | // PHP7, but it s hard for us tell if a particular use is safe or not. | ||||
| // For now, assume users know what they're doing and that uses are safe. | // For now, assume users know what they're doing and that uses are safe. | ||||
| // For discussion, see T12855. | // For discussion, see T12855. | ||||
| 'Throwable' => true, | 'Throwable' => true, | ||||
| 'Error' => true, | 'Error' => true, | ||||
| 'ParseError' => true, | |||||
| ), | ), | ||||
| 'function' => array_filter( | 'function' => array_filter( | ||||
| array( | array( | ||||
| 'empty' => true, | 'empty' => true, | ||||
| 'isset' => true, | 'isset' => true, | ||||
| 'die' => true, | 'die' => true, | ||||
| // These are provided by libphutil but not visible in the map. | // These are provided by libphutil but not visible in the map. | ||||
| Show All 14 Lines | |||||