/PHP-5.4/tests/classes/ |
H A D | property_override_public_public.phpt | 24 $a = new A; 27 $b = new B;
|
/PHP-5.4/ext/spl/tests/ |
H A D | iterator_057.phpt | 8 * From Docs: Construct a new array iterator from anything that has a hash table. 14 $it = new myArrayIterator();
|
H A D | iterator_044.phpt | 33 $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 D | observer_001.phpt | 70 $sub = new SubjectImpl; 72 $ob1 = new ObserverImpl("ob1"); 73 $ob2 = new ObserverImpl("ob2"); 74 $ob3 = new ObserverImpl("ob3");
|
H A D | bug37457.phpt | 52 throw new Exception("Failure in Accept"); 56 $test = new TestFilter(new Collection(array(0)));
|
H A D | spl_autoload_012.phpt | 9 throw new Exception('first'); 15 throw new Exception('second'); 30 new ThisClassDoesNotExist;
|
/PHP-5.4/Zend/tests/ |
H A D | bug32429.phpt | 16 throw new Exception('Call to undefined method'.get_class($this).'::'.$name.'()'); 21 $test = new TestClass;
|
H A D | bug33771.phpt | 12 throw new Exception(); 18 throw new Exception();
|
H A D | bug36759.phpt | 22 $y = new Bar(); 23 $x = new Foo($y);
|
H A D | bug43175.phpt | 8 throw new Exception(); 15 return new foobar();
|
H A D | bug65108.phpt | 12 $isCallable = is_callable(array(new C, 'f')); 17 new B();
|
H A D | catch_003.phpt | 10 throw new Exception(); 27 new MyObject();
|
H A D | exception_handler_002.phpt | 10 throw new Exception(); 16 throw new test();
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | asort_object2.phpt | 55 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 D | sort_object2.phpt | 54 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 D | natcasesort_object2.phpt | 39 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 D | pdo_mysql_pconnect.phpt | 19 $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 D | README | 1 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 D | bignames.phpt | 15 $p1 = new PharData($fname); 19 $p2 = new PharData($fname2); 30 $p2 = new PharData($fname3); 37 $p2 = new PharData($fname4);
|
H A D | phar_buildfromiterator5.phpt | 40 $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 D | ReflectionMethod_getClosure_error.phpt | 31 $class = new ReflectionClass( 'Example' ); 32 $staticclass = new ReflectionClass( 'StaticExample' ); 35 $object = new Example(); 36 $fakeobj = new StdClass();
|
H A D | ReflectionObject_isInstance_error.phpt | 6 $instance = new X; 7 $ro = new ReflectionObject(new X);
|
/PHP-5.4/ext/date/tests/ |
H A D | DateTime_compare_basic1.phpt | 22 $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 D | phar_buildfromiterator5.phpt | 40 $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 D | phar_buildfromiterator5.phpt | 40 $phar = new Phar(dirname(__FILE__) . '/buildfromiterator.phar.zip'); 41 var_dump($phar->buildFromIterator(new myIterator(array('a' => new stdClass))));
|