Hello Damien- I disagree with these changes and don't consider them upgrades, I intentionally put the output in the example as to make a clean cut-n-paste example. In fact, there are times when I change it the other way around :)
Why do you feel using <screen> is "an upgrade"? Regards, Philip On Fri, 30 May 2003, Damien Seguy wrote: > dams Fri May 30 08:54:53 2003 EDT > > Modified files: > /phpdoc/en/reference/array/functions array-combine.xml > Log: > upgrading example > > Index: phpdoc/en/reference/array/functions/array-combine.xml > diff -u phpdoc/en/reference/array/functions/array-combine.xml:1.1 > phpdoc/en/reference/array/functions/array-combine.xml:1.2 > --- phpdoc/en/reference/array/functions/array-combine.xml:1.1 Wed May 21 21:05:26 > 2003 > +++ phpdoc/en/reference/array/functions/array-combine.xml Fri May 30 08:54:53 > 2003 > @@ -1,5 +1,5 @@ > <?xml version="1.0" encoding="iso-8859-1"?> > -<!-- $Revision: 1.1 $ --> > +<!-- $Revision: 1.2 $ --> > <refentry id="function.array-combine"> > <refnamediv> > <refname>array_combine</refname> > @@ -34,18 +34,22 @@ > $c = array_combine($a, $b); > > print_r($c); > - > -/* Outputs: > +?> > +]]> > + </programlisting> > + <para> > + Outputs: > + </para> > + <screen> > +<![CDATA[ > Array > ( > [green] => avocado > [red] => apple > [yellow] => banana > ) > -*/ > -?> > ]]> > - </programlisting> > + </screen> > </example> > </para> > <para> > > > > -- > PHP Documentation Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
