Home
last modified time | relevance | path

Searched refs:arr (Results 151 – 175 of 212) sorted by relevance

123456789

/PHP-5.5/ext/spl/tests/
H A Dfixedarray_013.phpt9 function test(SplFixedArray &$arr) {
/PHP-5.5/ext/standard/tests/file/
H A Dstat_error-win32.phpt17 $arr = array(__FILE__);
27 var_dump( stat($arr) ); // array argument
H A Dpopen_pclose_basic-win32.phpt30 $arr = array("ggg", "ddd", "aaa", "sss");
47 foreach($arr as $str) {
H A Dpopen_pclose_basic.phpt45 $arr = array("ggg", "ddd", "aaa", "sss");
49 foreach($arr as $str) {
/PHP-5.5/ext/phar/tests/zip/
H A Dphar_setsignaturealgo2.phpt6 $arr = Phar::getSupportedSignatures();
7 if (!in_array("OpenSSL", $arr)) die("skip openssl support required");
8 if (!in_array('SHA-256', $arr)) die("skip hash extension loaded shared"); ?>
/PHP-5.5/ext/standard/tests/strings/
H A Dstripslashes_variation4.phpt33 foreach( $str_array as $arr ) {
35 var_dump( stripslashes_deep($arr) );
H A Dimplode1.phpt80 $arr = array();
81 $arr[0] = &$obj;
82 $arr[1] = &$obj;
83 var_dump( implode(",", $arr) );
84 var_dump($arr);
H A Dparse_str_basic2.phpt7 /* Prototype : void parse_str ( string $str [, array &$arr ] )
H A Dsprintf_variation6.phpt40 foreach($array_types as $arr) {
44 var_dump( sprintf($format, $arr) );
/PHP-5.5/Zend/tests/
H A Doffset_string.phpt25 $arr = Array(1,2,3);
26 var_dump($str[$arr]);
H A Dbug34064.phpt2 Bug #34064 (arr[] as param to function in class gives invalid opcode)
/PHP-5.5/main/
H A Dphp_variables.c454 zval *arr, *argc, *tmp; in php_build_argv() local
462 ALLOC_INIT_ZVAL(arr); in php_build_argv()
463 array_init(arr); in php_build_argv()
474 if (zend_hash_next_index_insert(Z_ARRVAL_P(arr), &tmp, sizeof(zval *), NULL) == FAILURE) { in php_build_argv()
494 if (zend_hash_next_index_insert(Z_ARRVAL_P(arr), &tmp, sizeof(zval *), NULL) == FAILURE) { in php_build_argv()
518 Z_ADDREF_P(arr); in php_build_argv()
520 zend_hash_update(&EG(symbol_table), "argv", sizeof("argv"), &arr, sizeof(zval *), NULL); in php_build_argv()
524 Z_ADDREF_P(arr); in php_build_argv()
526 …zend_hash_update(Z_ARRVAL_P(track_vars_array), "argv", sizeof("argv"), &arr, sizeof(zval *), NULL); in php_build_argv()
529 zval_ptr_dtor(&arr); in php_build_argv()
/PHP-5.5/ext/intl/tests/
H A Dut_common.inc54 function ut_coll_sort( $coll, &$arr, $sort_flag = Collator::SORT_REGULAR )
56 …return $GLOBALS['oo-mode'] ? $coll->sort( $arr, $sort_flag ) : collator_sort( $coll, $arr, $sort_f…
58 function ut_coll_sort_with_sort_keys( $coll, &$arr )
60 …urn $GLOBALS['oo-mode'] ? $coll->sortWithSortKeys( $arr ) : collator_sort_with_sort_keys( $coll, $
66 function ut_coll_asort( $coll, &$arr, $sort_flag = Collator::SORT_REGULAR )
68 …return $GLOBALS['oo-mode'] ? $coll->asort( $arr, $sort_flag ) : collator_asort( $coll, $arr, $sort…
H A Dlocale_parse_locale.phpt74 $arr = ut_loc_locale_parse( $locale);
77 if( $arr){
78 foreach( $arr as $key => $value){
H A Dlocale_parse_locale2.phpt75 $arr = ut_loc_locale_parse( $locale);
78 if( $arr){
79 foreach( $arr as $key => $value){
/PHP-5.5/ext/standard/tests/array/
H A Darray_merge_variation3.phpt18 $arr = array (1, 2);
115 var_dump( array_merge($input, $arr) );
116 var_dump( array_merge($arr, $input) );
H A Dshuffle_variation3.phpt54 foreach($array_arg as $arr) {
56 var_dump( shuffle($arr) );
58 var_dump( $arr );
H A Dshuffle_variation4.phpt57 foreach($array_arg as $arr) {
59 var_dump( shuffle($arr) );
61 var_dump( $arr );
H A Deach_variation1.phpt2 Test each() function : usage variations - Pass different data types as $arr arg
5 /* Prototype : array each(array $arr)
12 * Pass different data types as $arr arg to each() to test behaviour
37 // unexpected values to be passed to $arr argument
H A Darray_merge_variation4.phpt18 $arr = array ('one' => 1, 'two' => 2);
103 var_dump( array_merge($input, $arr) );
104 var_dump( array_merge($arr, $input) );
H A Dbug34227.phpt60 $arr = explode('a', 'b');
H A Deach_variation3.phpt5 /* Prototype : array each(array $arr)
26 // unexpected values to be passed as $arr
/PHP-5.5/ext/oci8/tests/
H A Dlob_null.phpt155 while ($arr = oci_fetch_assoc($s)) {
156 if (is_object($arr['DATA'])) {
157 echo $arr['ID'] . " is an object: ";
158 $r = $arr['DATA']->load();
162 echo $arr['ID'] . " is not an object\n";
/PHP-5.5/ext/phar/tests/
H A Dphpinfo_001.phpt8 $arr = Phar::getSupportedSignatures();
9 if (in_array("OpenSSL", $arr)) die("skip openssl support enabled");
/PHP-5.5/ext/openssl/
H A Dxp_ssl.c685 zval *arr; in php_openssl_enable_crypto() local
688 MAKE_STD_ZVAL(arr); in php_openssl_enable_crypto()
694 array_init(arr); in php_openssl_enable_crypto()
703 add_next_index_zval(arr, zcert); in php_openssl_enable_crypto()
707 ZVAL_NULL(arr); in php_openssl_enable_crypto()
712 arr); in php_openssl_enable_crypto()
713 zval_dtor(arr); in php_openssl_enable_crypto()
714 efree(arr); in php_openssl_enable_crypto()

Completed in 44 milliseconds

123456789