Permalink
Browse files

added error_reporting( E_ALL )

git-svn-id: http://svn.php.net/repository/pear/packages/XML_Beautifier/trunk@148542 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent f1a8547 commit 3f2d2bf77cfdb1850f6aa8549150765f21974683 Stephan Schmidt committed Jan 12, 2004
Showing with 9 additions and 0 deletions.
  1. +1 −0 examples/example1.php
  2. +2 −0 examples/example2.php
  3. +2 −0 examples/example3.php
  4. +1 −0 examples/example4.php
  5. +1 −0 examples/example5.php
  6. +2 −0 examples/example6.php
@@ -6,6 +6,7 @@
*
* @author Stephan Schmidt <schst@php.net>
*/
+ error_reporting( E_ALL );
require_once 'XML/Beautifier.php';
$fmt = new XML_Beautifier();
@@ -8,6 +8,8 @@
*
* @author Stephan Schmidt <schst@php.net>
*/
+ error_reporting( E_ALL );
+
$xmlString = '<xml><foo bar="tomato &amp; Cheese"/><argh>foobar</argh></xml>';
require_once 'XML/Beautifier.php';
@@ -10,6 +10,8 @@
*
* @author Stephan Schmidt <schst@php.net>
*/
+ error_reporting( E_ALL );
+
require_once 'XML/Beautifier.php';
$options = array(
@@ -8,6 +8,7 @@
*
* @author Stephan Schmidt <schst@php.net>
*/
+ error_reporting( E_ALL );
require_once 'XML/Beautifier.php';
@@ -11,6 +11,7 @@
*
* @author Stephan Schmidt <schst@php.net>
*/
+ error_reporting( E_ALL );
require_once 'XML/Beautifier.php';
@@ -8,8 +8,10 @@
*
* @author Stephan Schmidt <schst@php.net>
*/
+ error_reporting( E_ALL );
require_once 'XML/Beautifier.php';
+
$fmt = new XML_Beautifier( array( "multilineTags" => true ) );
$result = $fmt->formatFile('test.xml');

0 comments on commit 3f2d2bf

Please sign in to comment.