@@ -374,9 +374,13 @@ function is_known_term (string $term): ?string {
374374 '== ' => 'language.operators.comparison.php ' ,
375375 '=== ' => 'language.operators.comparison.php ' ,
376376 '@ ' => 'language.operators.errorcontrol.php ' ,
377+ '__halt_compiler ' => 'function.halt-compiler.php ' ,
378+ '__PHP_Incomplete_Class ' => 'function.unserialize.php ' ,
379+ 'and ' => 'language.operators.logical.php ' ,
377380 'apache ' => 'install.php ' ,
378381 'array ' => 'language.types.array.php ' ,
379382 'arrays ' => 'language.types.array.php ' ,
383+ 'as ' => 'control-structures.foreach.php ' ,
380384 'case ' => 'control-structures.switch.php ' ,
381385 'catch ' => 'language.exceptions.php ' ,
382386 'checkbox ' => 'faq.html.php ' ,
@@ -385,9 +389,19 @@ function is_known_term (string $term): ?string {
385389 'closures ' => 'functions.anonymous.php ' ,
386390 'cookie ' => 'features.cookies.php ' ,
387391 'date ' => 'function.date.php ' ,
392+ 'default ' => 'control-structures.switch.php ' ,
393+ 'do ' => 'control-structures.do.while.php ' ,
394+ 'enddeclare ' => 'control-structures.declare.php ' ,
395+ 'endfor ' => 'control-structures.alternative-syntax.php ' ,
396+ 'endforeach ' => 'control-structures.alternative-syntax.php ' ,
397+ 'endif ' => 'control-structures.alternative-syntax.php ' ,
398+ 'endswitch ' => 'control-structures.alternative-syntax.php ' ,
399+ 'endwhile ' => 'control-structures.alternative-syntax.php ' ,
388400 'exception ' => 'language.exceptions.php ' ,
389401 'extends ' => 'language.oop5.basic.php#language.oop5.basic.extends ' ,
402+ 'false ' => 'language.types.boolean.php ' ,
390403 'file ' => 'function.file.php ' ,
404+ 'final ' => 'language.oop5.final.php ' ,
391405 'finally ' => 'language.exceptions.php ' ,
392406 'fopen ' => 'function.fopen.php ' ,
393407 'for ' => 'control-structures.for.php ' ,
@@ -401,34 +415,42 @@ function is_known_term (string $term): ?string {
401415 'globals ' => 'language.variables.scope.php ' ,
402416 'header ' => 'function.header.php ' ,
403417 'heredoc ' => 'language.types.string.php#language.types.string.syntax.heredoc ' ,
404- 'nowdoc ' => 'language.types.string.php#language.types.string.syntax.nowdoc ' ,
405418 'htaccess ' => 'configuration.file.php ' ,
406419 'if ' => 'control-structures.if.php ' ,
420+ 'implements ' => 'language.oop5.interfaces.php ' ,
407421 'include ' => 'function.include.php ' ,
422+ 'insteadof ' => 'language.oop5.traits.php#language.oop5.traits.conflict ' ,
408423 'int ' => 'language.types.integer.php ' ,
409424 'ip ' => 'reserved.variables.server.php ' ,
410425 'iterable ' => 'language.types.iterable.php ' ,
411426 'juggling ' => 'language.types.type-juggling.php ' ,
412427 'location ' => 'function.header.php ' ,
413428 'mail ' => 'function.mail.php ' ,
429+ 'mixed ' => 'language.types.mixed.php ' ,
414430 'modulo ' => 'language.operators.arithmetic.php ' ,
415431 'mysql ' => 'mysql.php ' ,
432+ 'never ' => 'language.types.never.php ' ,
416433 'new ' => 'language.oop5.basic.php#language.oop5.basic.new ' ,
434+ 'nowdoc ' => 'language.types.string.php#language.types.string.syntax.nowdoc ' ,
417435 'null ' => 'language.types.null.php ' ,
436+ 'numeric ' => 'reserved.other-reserved-words.php ' ,
418437 'object ' => 'language.types.object.php ' ,
419438 'operator ' => 'language.operators.php ' ,
420439 'operators ' => 'language.operators.php ' ,
421440 'or ' => 'language.operators.logical.php ' ,
441+ 'parent ' => 'reserved.classes.php#reserved.classes.special ' ,
422442 'php.ini ' => 'configuration.file.php ' ,
423443 'php-mysql.dll ' => 'book.mysql.php ' ,
424444 'php-self ' => 'reserved.variables.server.php ' ,
425445 'query-string ' => 'reserved.variables.server.php ' ,
446+ 'readonly ' => 'language.oop5.properties.php#language.oop5.properties.readonly-properties ' ,
426447 'redirect ' => 'function.header.php ' ,
427448 'reference ' => 'index.php ' ,
428449 'referer ' => 'reserved.variables.server.php ' ,
429450 'referrer ' => 'reserved.variables.server.php ' ,
430451 'remote-addr ' => 'reserved.variables.server.php ' ,
431452 'request ' => 'reserved.variables.request.php ' ,
453+ 'self ' => 'reserved.classes.php#reserved.classes.special ' ,
432454 'session ' => 'features.sessions.php ' ,
433455 'smtp ' => 'book.mail.php ' ,
434456 'ssl ' => 'book.openssl.php ' ,
@@ -439,8 +461,70 @@ function is_known_term (string $term): ?string {
439461 'superglobals ' => 'language.variables.superglobals.php ' ,
440462 'switch ' => 'control-structures.switch.php ' ,
441463 'timestamp ' => 'function.time.php ' ,
464+ 'true ' => 'language.types.boolean.php ' ,
442465 'try ' => 'language.exceptions.php ' ,
443466 'upload ' => 'features.file-upload.php ' ,
467+ 'use ' => 'language.namespaces.php ' ,
468+ 'void ' => 'language.types.void.php ' ,
469+ 'xor ' => 'language.operators.logical.php ' ,
470+ 'yield from ' => 'language.generators.syntax.php#control-structures.yield.from ' ,
471+ 'yield ' => 'language.generators.syntax.php#control-structures.yield ' ,
472+
473+ '__COMPILER_HALT_OFFSET__ ' => 'function.halt-compiler.php ' ,
474+ 'DEFAULT_INCLUDE_PATH ' => 'reserved.constants.php ' ,
475+ 'E_ALL ' => 'errorfunc.constants.php ' ,
476+ 'E_COMPILE_ERROR ' => 'errorfunc.constants.php ' ,
477+ 'E_COMPILE_WARNING ' => 'errorfunc.constants.php ' ,
478+ 'E_CORE_ERROR ' => 'errorfunc.constants.php ' ,
479+ 'E_CORE_WARNING ' => 'errorfunc.constants.php ' ,
480+ 'E_DEPRECATED ' => 'errorfunc.constants.php ' ,
481+ 'E_ERROR ' => 'errorfunc.constants.php ' ,
482+ 'E_NOTICE ' => 'errorfunc.constants.php ' ,
483+ 'E_PARSE ' => 'errorfunc.constants.php ' ,
484+ 'E_RECOVERABLE_ERROR ' => 'errorfunc.constants.php ' ,
485+ 'E_STRICT ' => 'errorfunc.constants.php ' ,
486+ 'E_USER_DEPRECATED ' => 'errorfunc.constants.php ' ,
487+ 'E_USER_ERROR ' => 'errorfunc.constants.php ' ,
488+ 'E_USER_NOTICE ' => 'errorfunc.constants.php ' ,
489+ 'E_USER_WARNING ' => 'errorfunc.constants.php ' ,
490+ 'E_WARNING ' => 'errorfunc.constants.php ' ,
491+ 'PEAR_EXTENSION_DIR ' => 'reserved.constants.php ' ,
492+ 'PEAR_INSTALL_DIR ' => 'reserved.constants.php ' ,
493+ 'PHP_BINARY ' => 'reserved.constants.php ' ,
494+ 'PHP_BINDIR ' => 'reserved.constants.php ' ,
495+ 'PHP_CONFIG_FILE_PATH ' => 'reserved.constants.php ' ,
496+ 'PHP_CONFIG_FILE_SCAN_DIR ' => 'reserved.constants.php ' ,
497+ 'PHP_DATADIR ' => 'reserved.constants.php ' ,
498+ 'PHP_DEBUG ' => 'reserved.constants.php ' ,
499+ 'PHP_EOL ' => 'reserved.constants.php ' ,
500+ 'PHP_EXTENSION_DIR ' => 'reserved.constants.php ' ,
501+ 'PHP_EXTRA_VERSION ' => 'reserved.constants.php ' ,
502+ 'PHP_FD_SETSIZE ' => 'reserved.constants.php ' ,
503+ 'PHP_FLOAT_DIG ' => 'reserved.constants.php ' ,
504+ 'PHP_FLOAT_EPSILON ' => 'reserved.constants.php ' ,
505+ 'PHP_FLOAT_MAX ' => 'reserved.constants.php ' ,
506+ 'PHP_FLOAT_MIN ' => 'reserved.constants.php ' ,
507+ 'PHP_INT_MAX ' => 'reserved.constants.php ' ,
508+ 'PHP_INT_MIN ' => 'reserved.constants.php ' ,
509+ 'PHP_INT_SIZE ' => 'reserved.constants.php ' ,
510+ 'PHP_LIBDIR ' => 'reserved.constants.php ' ,
511+ 'PHP_LOCALSTATEDIR ' => 'reserved.constants.php ' ,
512+ 'PHP_MAJOR_VERSION ' => 'reserved.constants.php ' ,
513+ 'PHP_MANDIR ' => 'reserved.constants.php ' ,
514+ 'PHP_MAXPATHLEN ' => 'reserved.constants.php ' ,
515+ 'PHP_MINOR_VERSION ' => 'reserved.constants.php ' ,
516+ 'PHP_OS_FAMILY ' => 'reserved.constants.php ' ,
517+ 'PHP_OS ' => 'reserved.constants.php ' ,
518+ 'PHP_PREFIX ' => 'reserved.constants.php ' ,
519+ 'PHP_RELEASE_VERSION ' => 'reserved.constants.php ' ,
520+ 'PHP_SAPI ' => 'reserved.constants.php ' ,
521+ 'PHP_SHLIB_SUFFIX ' => 'reserved.constants.php ' ,
522+ 'PHP_SYSCONFDIR ' => 'reserved.constants.php ' ,
523+ 'PHP_VERSION_ID ' => 'reserved.constants.php ' ,
524+ 'PHP_VERSION ' => 'reserved.constants.php ' ,
525+ 'PHP_WINDOWS_EVENT_CTRL_BREAK ' => 'reserved.constants.php ' ,
526+ 'PHP_WINDOWS_EVENT_CTRL_C ' => 'reserved.constants.php ' ,
527+ 'PHP_ZTS ' => 'reserved.constants.php ' ,
444528 ];
445529
446530 return $ terms [$ term ] ?? null ;
0 commit comments