__construct() public method

public __construct ( $data, array $opts = [] )
$opts array Additional options: - eol: (boolean) If true, normalize EOLs in input. @since 2.2.0 - skipscan: (boolean) If true, don't scan input for binary/literal/quoted data. @since 2.2.0
示例#1
0
文件: Nstring.php 项目: horde/horde
 /**
  */
 public function __construct($data = null)
 {
     /* Data can be null (NIL) here. */
     if (is_null($data)) {
         $this->_data = null;
     } else {
         parent::__construct($data);
     }
 }