Home
last modified time | relevance | path

Searched refs:new (Results 201 – 225 of 4661) sorted by relevance

12345678910>>...187

/PHP-5.4/ext/reflection/tests/
H A DReflectionFunction_construct.001.phpt9 $a = new ReflectionFunction(array(1, 2, 3));
11 $a = new ReflectionFunction('nonExistentFunction');
15 $a = new ReflectionFunction();
16 $a = new ReflectionFunction(1, 2);
H A DReflectionParameter_invalidMethodInConstructor.phpt8 new ReflectionParameter (array ('A', 'b'), 0);
13 new ReflectionParameter (array ('C', 'b'), 0);
18 new ReflectionParameter (array (new C, 'b'), 0);
H A Dbug39067.phpt18 $rc = new ReflectionClass('C');
21 $rc = new ReflectionClass('B');
24 $rc = new ReflectionClass('A');
35 $rc = new ReflectionClass('Test2');
H A Dparameters_001.phpt12 $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 DDateTime_extends_basic2.phpt9 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 Dbug38772.phpt34 $a = new A();
35 $b = new B();
36 $c = new C();
37 $d = new D();
H A Dexception_008.phpt9 throw new Exception("First");
16 throw new Exception("Second");
20 $ar = array(new TestFirst, new TestSecond);
H A Dobjects_031.phpt6 $x[] = clone new stdclass;
7 $x[] = clone new stdclass;
8 $x[] = clone new stdclass;
H A Dns_070.phpt14 new bar(new \stdclass);
15 new bar(null);
H A Dbug31177-2.phpt7 if($n) throw new Exception("new");
10 $x = new foo();
/PHP-5.4/ext/spl/tests/
H A Dspl_limit_iterator_check_limits.phpt9 $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 DarrayObject_magicMethods1.phpt31 $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 Dbug53144.phpt6 $o1 = new StdClass;
7 $o2 = new StdClass;
9 $b = new SplObjectStorage();
H A Dbug50579.phpt14 $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 Dbug61326.phpt5 $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 Dtest_signaturealgos.phpt16 $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 Dopen_for_write_newfile_c.phpt2 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 Dopen_for_write_newfile_c_5_2.phpt2 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 Dbug50762.phpt21 $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 Dbug30928.phpt23 $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 DforeachLoop.012.phpt294 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 Dr2_base_015s.phpt17 $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 Dwrite6.phar.inc6 $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 Dbug32001.phpt131 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 Dnl2br_variation3.phpt11 * 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

Completed in 64 milliseconds

12345678910>>...187