php-doc-en/reference/var/functions
Tyson Andre 565d140248 Update note on print_r() and var_export() using output buffering
var_export stopped using output buffering to convert output to a string
long before php 7.0. See
https://github.com/php/php-src/blob/PHP-7.0/ext/standard/var.c#L564-L582

highlight_string/highlight_file are still using output buffering.

```
<?php
function my_buffer($value) {
    fprintf(STDERR, "var_export output: %s\n", var_export(array(), true));
    fprintf(STDERR, "print_r output: %s\n", print_r(array(), true));
    //fprintf(STDERR, "highlight_string output: %s\n", highlight_string('2+2', true));
    return $value;
}
ob_start('my_buffer');
echo "test";
$result = ob_get_clean();
echo "Result: $result\n";
```

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-381.
2021-02-15 15:32:20 +01:00
..
boolval.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
debug-zval-dump.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
doubleval.xml
empty.xml Fix #79126: empty() documentation does not mention SimpleXML objects from empty tags 2020-12-07 14:40:21 +00:00
floatval.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
get-defined-vars.xml Remove changelogs for PHP 4 - 3rd round 2014-08-27 17:46:13 +00:00
get-resource-id.xml Added documentation for the get_resource_id function 2020-11-24 17:52:54 +00:00
get-resource-type.xml Revert revision 351727 from phpdoc/en/trunk: 2020-11-28 17:58:32 +00:00
gettype.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
intval.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-array.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-bool.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-callable.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-countable.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-double.xml
is-float.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-int.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-integer.xml Revert last commit, as it makes more sense to keep it to is_int() over is_integer(), see php-src commit: 6b8ed592b92027ceb4f76e6a06754a9c75ca4f36 2014-12-14 21:30:48 +00:00
is-iterable.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-long.xml Revert last commit, as it makes more sense to keep it to is_int() over is_integer(), see php-src commit: 6b8ed592b92027ceb4f76e6a06754a9c75ca4f36 2014-12-14 21:30:48 +00:00
is-null.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-numeric.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-object.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-real.xml is_float() is deprecated and removed 2020-10-04 11:06:52 +00:00
is-resource.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-scalar.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
is-string.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
isset.xml Proper variadics instead of pseudo variadics 2020-11-02 11:17:26 +00:00
print-r.xml Update note on print_r() and var_export() using output buffering 2021-02-15 15:32:20 +01:00
serialize.xml Fix typo 2020-12-01 16:23:33 +00:00
settype.xml Another round of PHP 4 content removal (mostly inline mentions) 2016-12-05 10:17:07 +00:00
strval.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
unserialize.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
unset.xml Proper variadics instead of pseudo variadics 2020-11-02 11:17:26 +00:00
var-dump.xml Generate some standard methodsynopses based on stubs 2020-12-26 19:26:31 +00:00
var-export.xml Update note on print_r() and var_export() using output buffering 2021-02-15 15:32:20 +01:00