Home
last modified time | relevance | path

Searched refs:new (Results 701 – 725 of 4661) sorted by relevance

1...<<21222324252627282930>>...187

/PHP-5.4/tests/classes/
H A Dproperty_override_public_public.phpt24 $a = new A;
27 $b = new B;
/PHP-5.4/ext/spl/tests/
H A Diterator_057.phpt8 * From Docs: Construct a new array iterator from anything that has a hash table.
14 $it = new myArrayIterator();
H A Diterator_044.phpt33 $it = new MyCachingIterator(new ArrayIterator(array(0, 'foo'=>1, 2, 'bar'=>3, 4)));
53 $it = new MyCachingIterator(new ArrayIterator(array(0, 'foo'=>1, 2, 'bar'=>3, 4)), CachingIterator:…
58 $checks = array(0, new stdClass, new MyFoo, NULL, 2, 'foo', 3);
H A Dobserver_001.phpt70 $sub = new SubjectImpl;
72 $ob1 = new ObserverImpl("ob1");
73 $ob2 = new ObserverImpl("ob2");
74 $ob3 = new ObserverImpl("ob3");
H A Dbug37457.phpt52 throw new Exception("Failure in Accept");
56 $test = new TestFilter(new Collection(array(0)));
H A Dspl_autoload_012.phpt9 throw new Exception('first');
15 throw new Exception('second');
30 new ThisClassDoesNotExist;
/PHP-5.4/Zend/tests/
H A Dbug32429.phpt16 throw new Exception('Call to undefined method'.get_class($this).'::'.$name.'()');
21 $test = new TestClass;
H A Dbug33771.phpt12 throw new Exception();
18 throw new Exception();
H A Dbug36759.phpt22 $y = new Bar();
23 $x = new Foo($y);
H A Dbug43175.phpt8 throw new Exception();
15 return new foobar();
H A Dbug65108.phpt12 $isCallable = is_callable(array(new C, 'f'));
17 new B();
H A Dcatch_003.phpt10 throw new Exception();
27 new MyObject();
H A Dexception_handler_002.phpt10 throw new Exception();
16 throw new test();
/PHP-5.4/ext/standard/tests/array/
H A Dasort_object2.phpt55 1 => new for_integer_asort(11, 33,2), 2 => new for_integer_asort(44, 66,3),
56 3 => new for_integer_asort(23, 32,6), 4 => new for_integer_asort(-88, -5,-4),
61 "a" => new for_string_asort("axx","AXX","d"), "b" => new for_string_asort("T", "t","q"),
62 "c" => new for_string_asort("w", "W","c"), "d" => new for_string_asort("PY", "py","s"),
H A Dsort_object2.phpt54 new for_integer_sort(11,33,30),
55 new for_integer_sort(66,44,4),
56 new for_integer_sort(-88,-5,5),
57 new for_integer_sort(0.001,99.5,0.1)
62 new for_string_sort("axx","AXX","ass"),
63 new for_string_sort("t","eee","abb"),
64 new for_string_sort("w","W", "c"),
65 new for_string_sort("py","PY", "pt"),
H A Dnatcasesort_object2.phpt39 new for_string_natcasesort("axx","AXX","ass"),
40 new for_string_natcasesort("t","eee","abb"),
41 new for_string_natcasesort("w","W", "c"),
42 new for_string_natcasesort("py","PY", "pt"),
/PHP-5.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_pconnect.phpt19 $db1 = new PDO($dsn, $user, $pass, array(PDO::ATTR_PERSISTENT => true));
20 $db2 = new PDO($dsn, $user, $pass, array(PDO::ATTR_PERSISTENT => true));
39 $db1 = new PDO($dsn, $user, $pass, array(PDO::ATTR_PERSISTENT => true));
62 $db1 = new PDO($dsn, $user, $pass, array(PDO::ATTR_PERSISTENT => false));
67 $db2 = new PDO($dsn, $user, $pass, array(PDO::ATTR_PERSISTENT => true));
78 $connections[$i] = new PDO($dsn, $user, $pass, array(PDO::ATTR_PERSISTENT => true));
/PHP-5.4/ext/com_dotnet/
H A DREADME1 This is the new php5 COM module.
25 $obj = new COM("...");
46 You can use the new object casting hook to for a php-native representation of
49 $a = new variant(4);
50 $b = new variant(6);
57 $word = new COM("word.application");
/PHP-5.4/ext/phar/tests/tar/
H A Dbignames.phpt15 $p1 = new PharData($fname);
19 $p2 = new PharData($fname2);
30 $p2 = new PharData($fname3);
37 $p2 = new PharData($fname4);
H A Dphar_buildfromiterator5.phpt40 $phar = new Phar(dirname(__FILE__) . '/buildfromiterator.phar.tar');
41 var_dump($phar->buildFromIterator(new myIterator(array('a' => new stdClass))));
/PHP-5.4/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt31 $class = new ReflectionClass( 'Example' );
32 $staticclass = new ReflectionClass( 'StaticExample' );
35 $object = new Example();
36 $fakeobj = new StdClass();
H A DReflectionObject_isInstance_error.phpt6 $instance = new X;
7 $ro = new ReflectionObject(new X);
/PHP-5.4/ext/date/tests/
H A DDateTime_compare_basic1.phpt22 $obj1 = new DateTime("2009-02-12 12:47:41 GMT");
23 $obj2 = new DateTimeExt1("2009-02-12 12:47:41 GMT");
24 $obj3 = new DateTimeExt2("2009-02-12 12:47:41 GMT");
25 $obj4 = new DateTimeExt3("2009-02-12 12:47:41 GMT");
/PHP-5.4/ext/phar/tests/
H A Dphar_buildfromiterator5.phpt40 $phar = new Phar(dirname(__FILE__) . '/buildfromiterator.phar');
41 var_dump($phar->buildFromIterator(new myIterator(array('a' => new stdClass))));
/PHP-5.4/ext/phar/tests/zip/
H A Dphar_buildfromiterator5.phpt40 $phar = new Phar(dirname(__FILE__) . '/buildfromiterator.phar.zip');
41 var_dump($phar->buildFromIterator(new myIterator(array('a' => new stdClass))));

Completed in 27 milliseconds

1...<<21222324252627282930>>...187