Searched refs:new (Results 326 – 350 of 4661) sorted by relevance
1...<<11121314151617181920>>...187
/PHP-5.4/ext/date/tests/ |
H A D | DateTime_extends_basic3.phpt | 8 echo "*** Testing new DateTime() : with user format() method ***\n"; 18 $d = new DateTimeExt("1967-05-01 22:30:41"); 24 *** Testing new DateTime() : with user format() method ***
|
H A D | bug54340.phpt | 7 $interval = new DateInterval('P1D'); 9 $dt = new DateTime('first day of January 2011'); 15 $dt = new DateTime('first day of January 2011');
|
H A D | bug55253.phpt | 10 $interval = new DateInterval('PT2H1M'); 12 $date3 = new DateTime('2010-10-04 02:18:48'); 13 $date2 = new DateTime('2010-10-04 02:18:48 EDT'); 26 $date3 = new DateTime('2010-10-04 04:19:48'); 27 $date2 = new DateTime('2010-10-04 04:19:48 EDT');
|
H A D | bug44562.phpt | 9 $dp = new DatePeriod('2D'); 16 $begin = new DateTime( "2008-07-20T22:44:53+0200" ); 19 $dp = new DatePeriod( $begin, $interval, 10 );
|
/PHP-5.4/ext/spl/tests/ |
H A D | recursiveiteratoriterator_beginiteration_basic.phpt | 9 $sub_iterator = new RecursiveArrayIterator($sample_array); 11 $iterator = new RecursiveIteratorIterator($sub_iterator); 22 $iterator = new SkipsFirstElementRecursiveIteratorIterator($sub_iterator);
|
H A D | recursiveiteratoriterator_enditeration_basic.phpt | 9 $sub_iterator = new RecursiveArrayIterator($sample_array); 11 $iterator = new RecursiveIteratorIterator($sub_iterator); 21 $iterator = new EndIterationRecursiveIteratorIterator($sub_iterator);
|
H A D | bug45826.phpt | 5 $o = new ArrayObject(); 6 $y = new StdClass; 24 $o2 = new ArrayObject(); 43 $o = new ArrayObject2(); 44 $y = new StdClass; 62 $o2 = new ArrayObject2();
|
H A D | iterator_004.phpt | 61 foreach (new LimitIterator(new NumericArrayIterator($a), 1, 3) as $v) 68 foreach(new LimitIterator(new SeekableNumericArrayIterator($a), 1, 3) as $v) 75 $l = new LimitIterator(new SeekableNumericArrayIterator($a));
|
H A D | SplObjectStorage_unserialize_nested.phpt | 5 $o = new StdClass(); 6 $a = new StdClass(); 10 $so = new SplObjectStorage();
|
H A D | bug42703.phpt | 17 throw new Exception('boo'); 23 $it = new BlaIterator(); 24 $itit = new IteratorIterator($it);
|
H A D | spl_heap_isempty.phpt | 8 $h = new SplMaxHeap(); 9 echo "Checking a new heap is empty: "; 19 Checking a new heap is empty: bool(true)
|
/PHP-5.4/ext/dom/tests/ |
H A D | DOMComment_construct_basic_001.phpt | 10 $dom = new DOMDocument('1.0', 'UTF-8'); 11 $element = $dom->appendChild(new DOMElement('root')); 12 $comment = new DOMComment("This is the first comment.");
|
/PHP-5.4/Zend/tests/ |
H A D | bug48408.phpt | 12 throw new Exception; 15 $b = new B; 16 $c = new C;
|
H A D | bug60909_2.phpt | 6 set_error_handler(function($errno, $errstr, $errfile, $errline){throw new Exception("Foo");}); 10 throw new Exception('Oops, I cannot do this'); 14 $bad = new Bad();
|
H A D | bug54268.phpt | 25 $this->test = new DestructableObject; 32 $x = new Test(); 33 Test::$mystatic = new DestructorCreator();
|
/PHP-5.4/ext/reflection/tests/ |
H A D | bug52854.phpt | 7 $c = new ReflectionClass('Test'); 8 var_dump(new Test); 9 var_dump(new Test());
|
H A D | bug61388.phpt | 5 $x = new ArrayObject(); 8 $reflObj = new ReflectionObject($x); 12 $reflObj = new ReflectionObject($x);
|
H A D | ReflectionObject_getName_error.phpt | 6 $myInstance = new C; 7 $r2 = new ReflectionObject($myInstance); 9 $r3 = new ReflectionObject($r2);
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | bug65806.phpt | 42 $objA = new myObjA(); 43 $objB = new myObjB(); 44 $objC = new myObjC(); 46 $objB->attrA = new ArrayIterator(); 52 $list = new myList($objC);
|
/PHP-5.4/ext/soap/tests/ |
H A D | any.phpt | 17 $struct = new SOAPComplexType('arg',34,325.325); 25 …return array("return" => array("any" => array("SOAPComplexType"=>new SoapVar($struct, SOAP_ENC_OBJ… 34 $this->server = new SoapServer($wsdl, $options); 47 $client = new TestSoapClient(dirname(__FILE__)."/interop/Round4/GroupI/round4_groupI_xsd.wsdl", 53 …"any"=>new SoapVar($struct, SOAP_ENC_OBJECT, "SOAPComplexType", "http://soapinterop.org/xsd", "SOA…
|
/PHP-5.4/ext/intl/tests/ |
H A D | dateformat_calendars.phpt | 13 $fmt1 = new IntlDateFormatter('en_US', 18 $fmt2 = new IntlDateFormatter('en_US', 23 $fmt3 = new IntlDateFormatter('en_US@calendar=hebrew', 32 new IntlDateFormatter('en_US@calendar=hebrew',
|
/PHP-5.4/ext/pdo_sqlite/tests/ |
H A D | bug43831.phpt | 23 $foo = new Foo("sqlite::memory:"); 28 $bar = new Bar("sqlite::memory:"); 34 $bar = new PDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true)); 35 $baz = new MyPDO("sqlite::memory:", null, null, array(PDO::ATTR_PERSISTENT => true));
|
/PHP-5.4/tests/classes/ |
H A D | inheritance_002.phpt | 48 $c4= new Child_php4(); 51 $c5= new Child_php5(); 54 $cm= new Child_mx1(); 57 $cm= new Child_mx2();
|
/PHP-5.4/ext/imap/tests/ |
H A D | imap_mail_copy_basic.phpt | 21 echo "Create a new mailbox for test\n"; 28 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n"; 41 Create a new mailbox for test 44 Msg Count in new mailbox: 1
|
H A D | imap_mail_move_basic.phpt | 21 echo "Create a new mailbox for test\n"; 28 echo "Msg Count in new mailbox: ". $check->Nmsgs . "\n"; 41 Create a new mailbox for test 44 Msg Count in new mailbox: 1
|
Completed in 73 milliseconds
1...<<11121314151617181920>>...187