/PHP-5.4/ext/reflection/tests/ |
H A D | ReflectionFunction_construct.001.phpt | 9 $a = new ReflectionFunction(array(1, 2, 3)); 11 $a = new ReflectionFunction('nonExistentFunction'); 15 $a = new ReflectionFunction(); 16 $a = new ReflectionFunction(1, 2);
|
H A D | ReflectionParameter_invalidMethodInConstructor.phpt | 8 new ReflectionParameter (array ('A', 'b'), 0); 13 new ReflectionParameter (array ('C', 'b'), 0); 18 new ReflectionParameter (array (new C, 'b'), 0);
|
H A D | bug39067.phpt | 18 $rc = new ReflectionClass('C'); 21 $rc = new ReflectionClass('B'); 24 $rc = new ReflectionClass('A'); 35 $rc = new ReflectionClass('Test2');
|
H A D | parameters_001.phpt | 12 $f = new ReflectionMethod('Test', 'func'); 16 $p = new ReflectionParameter(array('Test', 'func'), 'x'); 19 $p = new ReflectionParameter(array('Test', 'func'), 'y'); 23 $p = new ReflectionParameter(array('Test', 'func'), 'z');
|
/PHP-5.4/ext/date/tests/ |
H A D | DateTime_extends_basic2.phpt | 9 echo "*** Testing new DateTime() : with user space __construct magic method ***\n"; 17 $dtz = new DateTimeZone(date_default_timezone_get()); 23 $d = new DateTimeExt("1967-05-01 22:30:41"); 29 *** Testing new DateTime() : with user space __construct magic method ***
|
/PHP-5.4/Zend/tests/ |
H A D | bug38772.phpt | 34 $a = new A(); 35 $b = new B(); 36 $c = new C(); 37 $d = new D();
|
H A D | exception_008.phpt | 9 throw new Exception("First"); 16 throw new Exception("Second"); 20 $ar = array(new TestFirst, new TestSecond);
|
H A D | objects_031.phpt | 6 $x[] = clone new stdclass; 7 $x[] = clone new stdclass; 8 $x[] = clone new stdclass;
|
H A D | ns_070.phpt | 14 new bar(new \stdclass); 15 new bar(null);
|
H A D | bug31177-2.phpt | 7 if($n) throw new Exception("new"); 10 $x = new foo();
|
/PHP-5.4/ext/spl/tests/ |
H A D | spl_limit_iterator_check_limits.phpt | 9 $arrayIterator = new ArrayIterator($array); 12 $limitIterator = new LimitIterator($arrayIterator, -1); 19 $limitIterator = new LimitIterator($arrayIterator, 0, -2); 25 $limitIterator = new LimitIterator($arrayIterator, 0, -1);
|
H A D | arrayObject_magicMethods1.phpt | 31 $obj = new UsesMagic; 33 $ao = new ArrayObject($obj); 36 $ao['dynamic'] = 'new'; 37 $ao['dynamic'] = 'new.changed'; 83 string(11) "new.changed" 98 string(11) "new.changed" 107 string(11) "new.changed" 119 string(11) "new.changed" 134 string(11) "new.changed" 153 string(11) "new.changed" [all …]
|
H A D | bug53144.phpt | 6 $o1 = new StdClass; 7 $o2 = new StdClass; 9 $b = new SplObjectStorage();
|
H A D | bug50579.phpt | 14 $h = new foo; 15 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE); 26 $h = new foo; 27 $i = new RegexIterator($h, '/^test(.*)/', RegexIterator::REPLACE);
|
H A D | bug61326.phpt | 5 $aobj1 = new ArrayObject(array(0)); 6 $aobj2 = new ArrayObject(array(1)); 9 $aobj3 = new ArrayObject(array(0));
|
/PHP-5.4/ext/phar/tests/ |
H A D | test_signaturealgos.phpt | 16 $a = new Phar(dirname(__FILE__) . '/files/sha1.phar'); 19 $a = new Phar(dirname(__FILE__) . '/files/sha512.phar'); 22 $a = new Phar(dirname(__FILE__) . '/files/sha256.phar'); 25 $a = new Phar(dirname(__FILE__) . '/files/md5.phar'); 28 $a = new Phar(dirname(__FILE__) . '/files/openssl.phar');
|
H A D | open_for_write_newfile_c.phpt | 2 Phar: fopen a .phar for writing (new file) 23 $fp = fopen($pname . '/b/new.php', 'wb'); 27 include $pname . '/b/new.php'; 35 Warning: fopen(phar://%sopen_for_write_newfile_c.phar.php/b/new.php): failed to open stream: phar e… 42 …clude(phar://%sopen_for_write_newfile_c.phar.php/b/new.php): failed to open stream: phar error: "b… 44 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_c.phar.php/b/new.php' for inclu…
|
H A D | open_for_write_newfile_c_5_2.phpt | 2 Phar: fopen a .phar for writing (new file) 21 $fp = fopen($pname . '/b/new.php', 'wb'); 25 include $pname . '/b/new.php'; 33 Warning: fopen(phar://%sopen_for_write_newfile_c_5_2.phar.php/b/new.php): failed to open stream: ph… 40 …e(phar://%sopen_for_write_newfile_c_5_2.phar.php/b/new.php): failed to open stream: phar error: "b… 42 Warning: include(): Failed opening 'phar://%sopen_for_write_newfile_c_5_2.phar.php/b/new.php' for i…
|
/PHP-5.4/ext/soap/tests/bugs/ |
H A D | bug50762.phpt | 21 $this->server = new SoapServer($wsdl, $options); 22 $this->server->setObject(new testSoap()); 35 $cl = new LocalSoapClient(dirname(__FILE__).'/bug50762.wsdl', array('cache_wsdl'=>WSDL_CACHE_NONE, … 43 $cl->__setSoapHeaders(array(new SoapHeader('http://sova.pronto.ru/', 'authToken', new authToken('to…
|
H A D | bug30928.phpt | 23 $this->server = new SoapServer($wsdl, $options); 36 $x = new LocalSoapClient(dirname(__FILE__)."/bug30928.wsdl", 38 var_dump($x->test(new foo())); 40 $x = new LocalSoapClient(dirname(__FILE__)."/bug30928.wsdl", 42 var_dump($x->test(new foo()));
|
/PHP-5.4/tests/lang/ |
H A D | foreachLoop.012.phpt | 294 string(5) "new.0" 315 string(5) "new.0" 317 string(5) "new.1" 343 string(5) "new.0" 345 string(5) "new.1" 347 string(5) "new.2" 378 string(5) "new.0" 380 string(5) "new.1" 382 string(5) "new.2" 384 string(5) "new.3" [all …]
|
/PHP-5.4/ext/soap/tests/interop/Round2/Base/ |
H A D | r2_base_015s.phpt | 17 $struct1 = new SoapVar(array( 18 new SoapVar('arg', XSD_STRING, null, null, 'varString'), 19 new SoapVar('34', XSD_INT, null, null, 'varInt'), 20 new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat') 22 $struct2 = new SoapVar(array( 23 new SoapVar('arg', XSD_STRING, null, null, 'varString'), 24 new SoapVar('34', XSD_INT, null, null, 'varInt'), 25 new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat') 28 $param = new SoapParam(new SoapVar(array( 32 $client = new SoapClient(NULL,array("location"=>"test://","uri"=>"http://soapinterop.org/","trace"=…
|
/PHP-5.4/ext/phar/tests/cache_list/files/ |
H A D | write6.phar.inc | 6 $phar = new Phar($fname); 8 $phar = new Phar(__FILE__); 13 $arr = $phar->buildFromIterator(new RecursiveDirectoryIterator($d, RecursiveDirectoryIterator::SKIP… 17 $phar2 = new Phar(__FILE__);
|
/PHP-5.4/ext/xml/tests/ |
H A D | bug32001.phpt | 131 new testcase("UTF-8", 0, 0, 0), 132 new testcase("UTF-8", 0, 0, 1), 133 new testcase("UTF-8", 0, 1, 0), 134 new testcase("UTF-8", 0, 1, 1), 135 new testcase("UTF-16BE", 0, 0, 0), 136 new testcase("UTF-16BE", 0, 1, 0), 137 new testcase("UTF-16BE", 0, 1, 1), 138 new testcase("UTF-16LE", 0, 0, 0), 139 new testcase("UTF-16LE", 0, 1, 0), 140 new testcase("UTF-16LE", 0, 1, 1), [all …]
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | nl2br_variation3.phpt | 11 * combinations of new line chars to 'str' argument 15 //heredoc string containing new line chars(\n, \r and combinations of \r & \n) and new lines 25 //heredoc string containing embedded 'new line chars'/'new lines' in the string 28 This is \tes\t for \n \new lines
|