No description
Find a file
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
.github/workflows Enhancement: Switch from Travis CI to GitHub Actions 2021-01-08 19:20:12 +01:00
appendices Fix #61044: invalid PHP_BINDIR 2021-02-12 14:35:22 +01:00
chapters Use canonical type names 2020-11-02 15:39:04 +00:00
chmonly Fix other typos outside of php module docs 2020-04-27 06:59:43 +00:00
faq Remove magic quote mentions 2021-01-16 10:39:39 +00:00
features Remove incorrect note about autoloading in interactive CLI 2021-02-11 23:28:27 +01:00
install liip is deprecated 2021-01-20 15:07:36 +01:00
language Named Arguments are also supported. 2021-02-15 23:28:58 +09:00
reference Update note on print_r() and var_export() using output buffering 2021-02-15 15:32:20 +01:00
security Remove obsolete info from security.database.storage page 2021-02-01 15:45:52 +01:00
.editorconfig Add editorconfig file 2020-08-18 14:04:18 +00:00
.gitignore Add .gitignore to ignore generated entities.*.xml files 2020-12-30 18:26:10 +01:00
bookinfo.xml Wrap Copyright page title in <info> tag to use h1 header 2015-04-08 20:41:29 +00:00
contributors.ent Upgraded the Editor :) 2015-05-27 00:16:49 +00:00
contributors.xml Credit Yoshinari Takaoka 2021-01-24 17:53:37 +01:00
extensions.ent Convert entity files to UTF-8 to please strict standards check in OE 2013-09-09 14:32:44 +00:00
language-defs.ent Show inherited constants 2018-09-20 15:10:00 +00:00
language-snippets.ent Update note on print_r() and var_export() using output buffering 2021-02-15 15:32:20 +01:00
make_chm_index.html Fix doc-level encoding declaration in make_chm_index.html 2013-09-18 12:26:38 +00:00
preface.xml Capitalisation fix in preface 2014-09-01 16:39:55 +00:00
README ws 2017-06-27 05:15:25 +00:00

----------------------------------------------------------------------
README
----------------------------------------------------------------------

Please refer to the README file within the doc-base/ directory. Your
directory structure is probably like:

  phpdoc/en            (DocBook files for the English language)
  phpdoc/doc-base      (Tools and resources used for all languages)