@@ -374,9 +374,13 @@ function is_known_term (string $term): ?string {
374
374
'== ' => 'language.operators.comparison.php ' ,
375
375
'=== ' => 'language.operators.comparison.php ' ,
376
376
'@ ' => 'language.operators.errorcontrol.php ' ,
377
+ '__halt_compiler ' => 'function.halt-compiler.php ' ,
378
+ '__PHP_Incomplete_Class ' => 'function.unserialize.php ' ,
379
+ 'and ' => 'language.operators.logical.php ' ,
377
380
'apache ' => 'install.php ' ,
378
381
'array ' => 'language.types.array.php ' ,
379
382
'arrays ' => 'language.types.array.php ' ,
383
+ 'as ' => 'control-structures.foreach.php ' ,
380
384
'case ' => 'control-structures.switch.php ' ,
381
385
'catch ' => 'language.exceptions.php ' ,
382
386
'checkbox ' => 'faq.html.php ' ,
@@ -385,9 +389,19 @@ function is_known_term (string $term): ?string {
385
389
'closures ' => 'functions.anonymous.php ' ,
386
390
'cookie ' => 'features.cookies.php ' ,
387
391
'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 ' ,
388
400
'exception ' => 'language.exceptions.php ' ,
389
401
'extends ' => 'language.oop5.basic.php#language.oop5.basic.extends ' ,
402
+ 'false ' => 'language.types.boolean.php ' ,
390
403
'file ' => 'function.file.php ' ,
404
+ 'final ' => 'language.oop5.final.php ' ,
391
405
'finally ' => 'language.exceptions.php ' ,
392
406
'fopen ' => 'function.fopen.php ' ,
393
407
'for ' => 'control-structures.for.php ' ,
@@ -401,34 +415,42 @@ function is_known_term (string $term): ?string {
401
415
'globals ' => 'language.variables.scope.php ' ,
402
416
'header ' => 'function.header.php ' ,
403
417
'heredoc ' => 'language.types.string.php#language.types.string.syntax.heredoc ' ,
404
- 'nowdoc ' => 'language.types.string.php#language.types.string.syntax.nowdoc ' ,
405
418
'htaccess ' => 'configuration.file.php ' ,
406
419
'if ' => 'control-structures.if.php ' ,
420
+ 'implements ' => 'language.oop5.interfaces.php ' ,
407
421
'include ' => 'function.include.php ' ,
422
+ 'insteadof ' => 'language.oop5.traits.php#language.oop5.traits.conflict ' ,
408
423
'int ' => 'language.types.integer.php ' ,
409
424
'ip ' => 'reserved.variables.server.php ' ,
410
425
'iterable ' => 'language.types.iterable.php ' ,
411
426
'juggling ' => 'language.types.type-juggling.php ' ,
412
427
'location ' => 'function.header.php ' ,
413
428
'mail ' => 'function.mail.php ' ,
429
+ 'mixed ' => 'language.types.mixed.php ' ,
414
430
'modulo ' => 'language.operators.arithmetic.php ' ,
415
431
'mysql ' => 'mysql.php ' ,
432
+ 'never ' => 'language.types.never.php ' ,
416
433
'new ' => 'language.oop5.basic.php#language.oop5.basic.new ' ,
434
+ 'nowdoc ' => 'language.types.string.php#language.types.string.syntax.nowdoc ' ,
417
435
'null ' => 'language.types.null.php ' ,
436
+ 'numeric ' => 'reserved.other-reserved-words.php ' ,
418
437
'object ' => 'language.types.object.php ' ,
419
438
'operator ' => 'language.operators.php ' ,
420
439
'operators ' => 'language.operators.php ' ,
421
440
'or ' => 'language.operators.logical.php ' ,
441
+ 'parent ' => 'reserved.classes.php#reserved.classes.special ' ,
422
442
'php.ini ' => 'configuration.file.php ' ,
423
443
'php-mysql.dll ' => 'book.mysql.php ' ,
424
444
'php-self ' => 'reserved.variables.server.php ' ,
425
445
'query-string ' => 'reserved.variables.server.php ' ,
446
+ 'readonly ' => 'language.oop5.properties.php#language.oop5.properties.readonly-properties ' ,
426
447
'redirect ' => 'function.header.php ' ,
427
448
'reference ' => 'index.php ' ,
428
449
'referer ' => 'reserved.variables.server.php ' ,
429
450
'referrer ' => 'reserved.variables.server.php ' ,
430
451
'remote-addr ' => 'reserved.variables.server.php ' ,
431
452
'request ' => 'reserved.variables.request.php ' ,
453
+ 'self ' => 'reserved.classes.php#reserved.classes.special ' ,
432
454
'session ' => 'features.sessions.php ' ,
433
455
'smtp ' => 'book.mail.php ' ,
434
456
'ssl ' => 'book.openssl.php ' ,
@@ -439,8 +461,70 @@ function is_known_term (string $term): ?string {
439
461
'superglobals ' => 'language.variables.superglobals.php ' ,
440
462
'switch ' => 'control-structures.switch.php ' ,
441
463
'timestamp ' => 'function.time.php ' ,
464
+ 'true ' => 'language.types.boolean.php ' ,
442
465
'try ' => 'language.exceptions.php ' ,
443
466
'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 ' ,
444
528
];
445
529
446
530
return $ terms [$ term ] ?? null ;
0 commit comments