/PHP-5.5/Zend/tests/ |
H A D | ns_070.phpt | 14 new bar(new \stdclass); 15 new bar(null);
|
H A D | each_002.phpt | 6 $foo = each(new stdClass); 9 var_dump(each(new stdClass)); 11 $a = array(new stdClass);
|
H A D | bug30162.phpt | 9 throw new Exception; 23 $this->z = new FIIFO; 35 $db = new FIIFO(); 40 $db = new hariCow;
|
H A D | closure_042.phpt | 9 $d = $c->bindTo(new stdClass); 11 $rm = new ReflectionFunction($d); 15 $d = $c->bindTo(new stdClass, NULL); 17 $rm = new ReflectionFunction($d);
|
H A D | exception_007.phpt | 8 throw new Exception("First", 1, new Exception("Another", 0, NULL)); 11 throw new Exception("Second", 2, $e); 15 throw new Exception("Third", 3, $e);
|
/PHP-5.5/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.5/ext/spl/tests/ |
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 | bug61326.phpt | 5 $aobj1 = new ArrayObject(array(0)); 6 $aobj2 = new ArrayObject(array(1)); 9 $aobj3 = new ArrayObject(array(0));
|
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 | arrayObject___construct_error1.phpt | 6 $a = new stdClass; 9 var_dump(new ArrayObject($a, 0, "Exception")); 16 var_dump(new ArrayObject(new stdClass, 0, "nonExistentClassName"));
|
/PHP-5.5/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.5/ext/reflection/tests/ |
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');
|
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 | ReflectionClass_isIterateable_variation1.phpt | 12 $reflection = new ReflectionClass($obj); 16 $basicClass = new BasicClass(); 17 $stdClass = new StdClass();
|
/PHP-5.5/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__);
|
H A D | write8.phar.inc | 6 $phar = new Phar($fname); 8 $p = new Phar(__FILE__); 10 $p2 = new Phar(__FILE__);
|
/PHP-5.5/Zend/tests/generators/ |
H A D | throw_rethrow.phpt | 13 throw new LogicException('new throw'); 18 var_dump($gen->throw(new RuntimeException('throw'))); 28 Fatal error: Uncaught exception 'LogicException' with message 'new throw' in %s:%d
|
/PHP-5.5/ext/intl/tests/ |
H A D | calendar_setTimeZone_variation2.phpt | 13 $intlcal = new IntlGregorianCalendar(); 16 $intlcal->setTimeZone(new DateTimeZone('Europe/Madrid')); 19 $pstdate = new DateTime('2012-01-01 00:00:00 PST'); 23 $offsetdate = new DateTime('2012-01-01 00:00:00 -02:30');
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | bug64146.phpt | 14 $this->a[] = new B(1); 15 $this->a[] = new B(2); 25 $this->b = new C($c); 49 $a = unserialize(serialize(new A()));
|
/PHP-5.5/ext/date/tests/ |
H A D | DateTimeZone_getOffset_basic1.phpt | 16 $tz1 = new DateTimeZone("Europe/London"); 17 $date = new DateTime("GMT"); 20 $tz2 = new DateTimeZone("America/New_York"); 23 $tz3 = new DateTimeZone("America/Los_Angeles");
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | bug35821.phpt | 10 throw new Exception(); 19 $arr = array(new Element(), new Element(), new Element());
|
/PHP-5.5/ext/soap/tests/bugs/ |
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.5/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
|
/PHP-5.5/ext/phar/tests/ |
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…
|