Subversion Repositories PHPX

Rev

Rev 9 | Rev 14 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 13
Line 1... Line 1...
1
<?php
1
<?php
2
2
3
require_once 'global.inc';
3
require_once 'global.inc';
4
4
-
 
5
define('FEATURES_ENCODING',
-
 
6
  mb_detect_encoding(file_get_contents($_SERVER['SCRIPT_FILENAME'])));
-
 
7
5
/**
8
/**
6
 * A list of language features with URNs definitions
9
 * A list of language features with URNs definitions
7
 * for reference links.
10
 * for reference links.
8
 */
11
 */
9
class FeatureList
12
class FeatureList
Line 400... Line 403...
400
            echo $this->getAssumed($ver) . $this->getTested($ver);
403
            echo $this->getAssumed($ver) . $this->getTested($ver);
401
            if (!$key)
404
            if (!$key)
402
            {
405
            {
403
              if (!empty($ver))
406
              if (!empty($ver))
404
              {
407
              {
405
                echo ' title="Test code: ' . htmlspecialchars(stripslashes($ver)) . '"';
408
                echo ' title="Test code: '
-
 
409
                  . htmlspecialchars(
-
 
410
                      stripslashes($ver),
-
 
411
                      ENT_COMPAT,
-
 
412
                      FEATURES_ENCODING)
-
 
413
                  . '"';
406
              }
414
              }
407
              else
415
              else
408
              {
416
              {
409
                echo ' title="Not applicable: No automated test case'
417
                echo ' title="Not applicable: No automated test case'
410
                  . ' is available for this feature.  Please click'
418
                  . ' is available for this feature.  Please click'