Home
last modified time | relevance | path

Searched refs:indent (Results 1 – 25 of 35) sorted by relevance

12

/PHP-5.4/ext/tidy/examples/
H A Ddumpit5.php47 function do_leaf($string, $indent) { argument
48 for($i = 0; $i < $indent; $i++) {
54 function dump_tree(tidyNode $node, $indent = 0) { argument
61 do_leaf(" + $nodename (".node_type($node->type).")\n", $indent);
68 do_leaf(" |\n", $indent);
69 do_leaf(" +---- Value: '{$node->value}'\n", $indent);
73 do_leaf(" |\n", $indent);
74 do_leaf(" +---- Attributes\n", $indent);
77 @do_leaf(" +-- $name\n", $indent);
78 do_leaf(" | +-- Value: $value\n", $indent);
[all …]
/PHP-5.4/ext/pcre/tests/
H A Dpreg_replace_callback.phpt5 $input = "plain [indent] deep [indent] [abcd]deeper[/abcd] [/indent] deep [/indent] plain";
10 $regex = '#\[indent]((?:[^[]|\[(?!/?indent])|(?R))+)\[/indent]#';
/PHP-5.4/tests/lang/
H A DforeachLoopIteratorAggregate.001.phpt10 global $indent;
16 global $indent;
22 global $indent;
28 global $indent;
34 global $indent;
46 global $indent;
52 global $indent;
58 global $indent;
64 global $indent;
116 $indent = " ";
[all …]
H A DforeachLoopIterator.001.phpt11 global $indent;
12 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
17 global $indent;
18 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
23 global $indent;
24 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
29 global $indent;
35 global $indent;
52 $indent = " ";
59 $indent = " ";
[all …]
H A DforeachLoopIteratorAggregate.003.phpt10 global $indent;
11 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
16 global $indent;
17 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
22 global $indent;
23 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
28 global $indent;
29 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
34 global $indent;
35 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
/PHP-5.4/ext/tidy/tests/
H A D030.phpt13 'indent' => true, // AutoBool
14 'indent-attributes' => true, // Boolean
15 'indent-spaces' => 3, // Integer
20 var_dump($c['indent']);
21 var_dump($c['indent-attributes']);
22 var_dump($c['indent-spaces']);
H A D027.phpt15 'indent' => false,
/PHP-5.4/ext/xmlreader/examples/
H A Dxmlreader_validatedtd.php2 $indent = 5; /* Number of spaces to indent per level */ variable
10 print str_repeat(" ", $xml->depth * $indent).$xml->name."\n";
13 print str_repeat(" ", $xml->depth * $indent)." Number of Attributes: ".$xml->attributeCount."\n";
H A Dxmlreader_relaxNG.php2 $indent = 5; /* Number of spaces to indent per level */ variable
13 print str_repeat(" ", $reader->depth * $indent).$reader->name."\n";
/PHP-5.4/ext/xsl/tests/
H A Dxslt005.phpt10 $res = $xp->query("/xsl:stylesheet/xsl:output/@indent");
12 print "No or more than one xsl:output/@indent found";
/PHP-5.4/ext/phar/tests/zip/
H A Dbug48791.phpt14indent="-0.635cm" fo:margin-left="1.27cm"/></style:list-level-properties></text:list-level-style-b…
/PHP-5.4/ext/mbstring/tests/
H A Dmb_encode_mimeheader_variation1.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
26 $indent = 2;
100 var_dump( mb_encode_mimeheader($input, $charset, $transfer_encoding, $linefeed, $indent));
H A Dmb_encode_mimeheader_variation3.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
28 $indent = 2;
102 var_dump( mb_encode_mimeheader($str, $charset, $input, $linefeed, $indent));
H A Dmb_encode_mimeheader_variation5.phpt2 Test mb_encode_mimeheader() function : usage variations - Pass different data types to $indent arg
11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
17 * Pass different data types to $indent argument to see how mb_encode_mimeheader() behaves
50 // unexpected values to be passed to $indent argument
H A Dmb_encode_mimeheader_variation2.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
28 $indent = 2;
102 var_dump( mb_encode_mimeheader($str, $input, $transfer_encoding, $linefeed, $indent));
H A Dmb_encode_mimeheader_variation4.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
29 $indent = 2;
103 var_dump( mb_encode_mimeheader($str, $charset, $transfer_encoding, $input, $indent));
H A Dmb_encode_mimeheader_variation6.phpt11 …* (string $str [, string $charset [, string $transfer_encoding [, string $linefeed [, int $indent]…
H A Dmb_encode_mimeheader_basic3.phpt12 * [, string $transfer-encoding [, string $linefeed [, int $indent]]]])
H A Dmb_encode_mimeheader_basic2.phpt12 * [, string $transfer-encoding [, string $linefeed [, int $indent]]]])
H A Dmb_encode_mimeheader_basic.phpt12 …* (string $str [, string $charset [, string $transfer-encoding [, string $linefeed [, int $indent]…
/PHP-5.4/Zend/
H A Dzend.c142 for (i = 0; i < indent; i++) { in print_hash()
146 indent += PRINT_ZVAL_INDENT; in print_hash()
149 for (i = 0; i < indent; i++) { in print_hash()
186 indent -= PRINT_ZVAL_INDENT; in print_hash()
187 for (i = 0; i < indent; i++) { in print_hash()
309 ZEND_API int zend_print_zval(zval *expr, int indent) /* {{{ */ in zend_print_zval() argument
311 return zend_print_zval_ex(zend_write, expr, indent); in zend_print_zval()
393 zend_print_zval_r_ex(zend_write, expr, indent TSRMLS_CC); in zend_print_zval_r()
407 print_hash(write_func, Z_ARRVAL_P(expr), indent, 0 TSRMLS_CC); in zend_print_zval_r_ex()
437 print_hash(write_func, properties, indent, 1 TSRMLS_CC); in zend_print_zval_r_ex()
[all …]
H A Dzend.h636 ZEND_API int zend_print_zval(zval *expr, int indent);
637 ZEND_API int zend_print_zval_ex(zend_write_func_t write_func, zval *expr, int indent);
638 ZEND_API void zend_print_zval_r(zval *expr, int indent TSRMLS_DC);
640 ZEND_API void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int indent TSRMLS_DC);
/PHP-5.4/ext/reflection/
H A Dphp_reflection.c450 string_printf(str, "%s }\n", indent); in _class_string()
648 string_printf(str, "%s}\n", indent); in _class_string()
778 string_printf(str, "%s ", indent); in _function_parameter_string()
783 string_printf(str, "%s}\n", indent); in _function_parameter_string()
817 string_printf(str, "%s}\n", indent); in _function_closure_string()
837 string_write(str, indent, strlen(indent)); in _function_string()
921 string_printf(str, "%s}\n", indent); in _function_string()
969 char *indent = va_arg(args, char *); in _extension_ini_string() local
1005 char *indent = va_arg(args, char *); in _extension_class_string() local
1021 char *indent = va_arg(args, char *); in _extension_const_string() local
[all …]
/PHP-5.4/ext/xsl/tests/53965/
H A Dcollection.xsl6 <xsl:output method="html" encoding="iso-8859-1" indent="no"/>
/PHP-5.4/ext/dom/tests/
H A Dbug28721.phpt12 static $indent = "";
13 echo "\n" . $indent;
16 echo $indent . "parent: ";
22 echo $indent . "previousSibling: ";
28 echo $indent . "nextSibling: ";
39 $old_indent = $indent;
40 $indent .= " ";
42 $indent = $old_indent;

Completed in 51 milliseconds

12