/PHP-5.5/Zend/tests/ |
H A D | bug60833.phpt | 8 $this->v1 = new sELF; 9 $this->v2 = new SELF; 17 $this->v3 = new sELF; 18 $this->v4 = new PARENT; 22 $t = new B();
|
H A D | ns_072.phpt | 23 new bar(new test); 24 new bar(null); 25 new bar(new \stdclass);
|
H A D | bug45178.phpt | 2 Bug #45178 memory corruption on assignment result of "new" by reference 10 $a =& new Foo(); 18 $b =& new Bar(); 23 Deprecated: Assigning the return value of new by reference is deprecated in %sbug45178.php on line 7 25 Deprecated: Assigning the return value of new by reference is deprecated in %sbug45178.php on line …
|
H A D | bug65784.phpt | 9 throw new Exception("not catch"); 13 throw new Exception("catched"); 30 throw new Exception("catched"); 34 throw new Exception("catched"); 47 throw new Exception("not catched"); 51 throw new NotExists();
|
H A D | indirect_property_access.phpt | 16 $bar = new bar; 18 var_dump((new bar)->y); // foo 19 var_dump((new $x)->y); // foo 20 var_dump((new $bar->y)->x); // 1
|
/PHP-5.5/ext/intl/tests/ |
H A D | dateformat_create_cal_arg.phpt | 15 $cal = new IntlGregorianCalendar('UTC', NULL); 16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 24 $cal = new IntlGregorianCalendar('UTC', NULL); 25 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal); 29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL); 40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
|
H A D | dateformat_create_cal_arg_variant4.phpt | 15 $cal = new IntlGregorianCalendar('UTC', NULL); 16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 24 $cal = new IntlGregorianCalendar('UTC', NULL); 25 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal); 29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL); 40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
|
H A D | dateformat_create_cal_arg_variant2.phpt | 15 $cal = new IntlGregorianCalendar('UTC', NULL); 16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 24 $cal = new IntlGregorianCalendar('UTC', NULL); 25 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal); 29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL); 40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
|
H A D | dateformat_create_cal_arg_variant3.phpt | 16 $cal = new IntlGregorianCalendar('UTC', NULL); 17 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 21 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 25 $cal = new IntlGregorianCalendar('UTC', NULL); 26 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal); 30 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 34 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 38 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL); 41 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
|
/PHP-5.5/ext/dba/ |
H A D | dba_qdbm.c | 83 char *value, *new = NULL; in DBA_FETCH_FUNC() local 89 new = estrndup(value, value_size); in DBA_FETCH_FUNC() 93 return new; in DBA_FETCH_FUNC() 136 char *value, *new = NULL; in DBA_FIRSTKEY_FUNC() local 143 new = estrndup(value, value_size); in DBA_FIRSTKEY_FUNC() 147 return new; in DBA_FIRSTKEY_FUNC() 154 char *value, *new = NULL; in DBA_NEXTKEY_FUNC() local 159 new = estrndup(value, value_size); in DBA_NEXTKEY_FUNC() 163 return new; in DBA_NEXTKEY_FUNC()
|
H A D | dba_tcadb.c | 92 char *value, *new = NULL; in DBA_FETCH_FUNC() local 100 new = estrndup(value, value_size); in DBA_FETCH_FUNC() 104 return new; in DBA_FETCH_FUNC() 155 char *value, *new = NULL; in DBA_FIRSTKEY_FUNC() local 164 new = estrndup(value, value_size); in DBA_FIRSTKEY_FUNC() 168 return new; in DBA_FIRSTKEY_FUNC() 175 char *value, *new = NULL; in DBA_NEXTKEY_FUNC() local 182 new = estrndup(value, value_size); in DBA_NEXTKEY_FUNC() 186 return new; in DBA_NEXTKEY_FUNC()
|
/PHP-5.5/ext/spl/tests/ |
H A D | iterator_002.phpt | 15 return new RecursiceArrayIterator($this->current()); 33 return new RecursiceArrayIterator($this->getInnerIterator()->current()); 39 $dir = new RecursiveIteratorIterator(new CrashIterator(new RecursiceArrayIterator($array)), Recursi…
|
H A D | countable_count_variation1.phpt | 19 return new returnObject; 31 throw new Exception('Thrown from count'); 37 var_dump(count(new returnNull)); 40 var_dump(count(new returnString)); 43 var_dump(count(new returnObject)); 46 var_dump(count(new returnArray)); 50 echo count(new throwException);
|
H A D | fixedarray_021.phpt | 7 $a = new SplFixedArray(); 14 $b = new SplFixedArray(-10); 20 $b = new SplFixedArray(); 28 $c = new SplFixedArray(0); 32 $d = new SplFixedArray(); 40 $e = new SplFixedArray(10); 54 $a = new SplFixedArray(4);
|
H A D | recursiveIteratorIterator_beginchildren_error.phpt | 7 $arrOb = new ArrayObject($arr); 9 $recArrIt = new RecursiveArrayIterator($arrOb->getIterator()); 14 throw new Exception; 19 $recItIt = new MyRecursiveIteratorIterator($recArrIt, RecursiveIteratorIterator::LEAVES_ONLY, Recur… 23 $recItIt2 = new MyRecursiveIteratorIterator($recArrIt, RecursiveIteratorIterator::LEAVES_ONLY);
|
H A D | recursiveIteratorIterator_callHasChildren_error.phpt | 7 $arrOb = new ArrayObject($arr); 9 $recArrIt = new RecursiveArrayIterator($arrOb->getIterator()); 14 throw new Exception; 19 $recItIt = new MyRecursiveIteratorIterator($recArrIt, RecursiveIteratorIterator::LEAVES_ONLY, Recur… 23 $recItIt2 = new MyRecursiveIteratorIterator($recArrIt, RecursiveIteratorIterator::LEAVES_ONLY);
|
H A D | recursiveIteratorIterator_nextelement_error.phpt | 7 $arrOb = new ArrayObject($arr); 9 $recArrIt = new RecursiveArrayIterator($arrOb->getIterator()); 14 throw new Exception; 19 $recItIt = new MyRecursiveIteratorIterator($recArrIt, RecursiveIteratorIterator::LEAVES_ONLY, Recur… 23 $recItIt = new MyRecursiveIteratorIterator($recArrIt, RecursiveIteratorIterator::LEAVES_ONLY);
|
H A D | array_016.phpt | 6 $it = new ArrayIterator(range(0,3)); 8 foreach(new IteratorIterator($it) as $v) 13 $it = new ArrayObject(range(0,3)); 15 foreach(new IteratorIterator($it) as $v)
|
/PHP-5.5/ext/reflection/tests/ |
H A D | bug30148.phpt | 17 $a = new ReflectionMethod('Root','Root'); 18 $b = new ReflectionMethod('Base','Root'); 19 $c = new ReflectionMethod('Base','__construct'); 20 $d = new ReflectionMethod('Derived','Root'); 21 $e = new ReflectionMethod('Derived','__construct');
|
H A D | ReflectionClass_constructor_002.phpt | 6 var_dump(new ReflectionClass()); 12 var_dump(new ReflectionClass(null)); 18 var_dump(new ReflectionClass(true)); 24 var_dump(new ReflectionClass(1)); 30 var_dump(new ReflectionClass(array(1,2,3))); 36 var_dump(new ReflectionClass("stdClass", 1)); 42 var_dump(new ReflectionClass("X"));
|
/PHP-5.5/ext/date/tests/ |
H A D | bug43003.phpt | 7 $oDateTest = new DateTime("@0", new DateTimeZone(date_default_timezone_get())); 10 $oDateTest->setTimezone(new DateTimeZone("UTC")); 13 $oDateTest->setTimezone(new DateTimeZone(date_default_timezone_get())); 16 $oDateTest = new DateTime("@0"); 19 $oDateTest->setTimezone( new DateTimeZone(date_default_timezone_get()));
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | bug28739.phpt | 12 $p1 = array(new p(2), new p(1), new p(0)); 13 $p2 = array(new p(0), new p(2), new p(3));
|
H A D | natcasesort_object1.phpt | 36 new for_string_natcasesort("axx"), new for_string_natcasesort("t"), 37 new for_string_natcasesort("w"), new for_string_natcasesort("py"), 38 new for_string_natcasesort("apple"), new for_string_natcasesort("Orange"), 39 new for_string_natcasesort("Lemon"), new for_string_natcasesort("aPPle")
|
/PHP-5.5/ext/phar/tests/ |
H A D | phar_oo_compressed_001.phpt | 22 $phar = new Phar($fname); 31 $phar['a'] = 'new a'; 33 $phar['b'] = 'new b'; 35 $phar['d'] = 'new d'; 37 $phar = new Phar($fname); 60 string(5) "new a" 62 string(5) "new b" 66 string(5) "new d"
|
H A D | phar_oo_compressed_001b.phpt | 22 $phar = new Phar($fname); 31 $phar['a'] = 'new a'; 33 $phar['b'] = 'new b'; 35 $phar['d'] = 'new d'; 37 $phar = new Phar($fname); 60 string(5) "new a" 62 string(5) "new b" 66 string(5) "new d"
|