cvs: phpdoc /en/functions array.xml /scripts tfn.php

From: Date: Sat, 07 Jul 2001 22:11:17 +0000
Subject: cvs: phpdoc /en/functions array.xml /scripts tfn.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335933@lists.php.net to get a copy of this message
jeroen Sat Jul 7 18:11:17 2001 EDT Modified files: /phpdoc/en/functions array.xml /phpdoc/scripts tfn.php Log: Updated script, fixed error in array.xml Index: phpdoc/en/functions/array.xml diff -u phpdoc/en/functions/array.xml:1.77 phpdoc/en/functions/array.xml:1.78 --- phpdoc/en/functions/array.xml:1.77 Sat Jul 7 17:27:04 2001 +++ phpdoc/en/functions/array.xml Sat Jul 7 18:11:15 2001 @@ -879,7 +879,7 @@ the <parameter>array</parameter>, shortening the <parameter>array</parameter> by one element. If <parameter>array</parameter> is empty (or is not an array), - <varname>&null;</varname> will be returned. + &null; will be returned. </para> <para> <example> @@ -1136,7 +1136,7 @@ <parameter>array</parameter> by one element and moving everything down. If <parameter>array</parameter> is empty (or is not an array), - <varname>&null;</varname> will be returned. + &null; will be returned. </para> <para> <example> Index: phpdoc/scripts/tfn.php diff -u phpdoc/scripts/tfn.php:1.1 phpdoc/scripts/tfn.php:1.2 --- phpdoc/scripts/tfn.php:1.1 Sat Jul 7 17:19:48 2001 +++ phpdoc/scripts/tfn.php Sat Jul 7 18:11:16 2001 @@ -1,4 +1,4 @@ -<?php +<?php // vim: ts=4 sw=4 // For use in process.php @@ -17,9 +17,8 @@ { $active = $active && !ereg('<programlisting',$line); $active = $active || ereg('</programlisting',$line); - if ($active) - $lines[$nr] = preg_replace( $from , $to , $line ); - + if ($active) + $lines[$nr] = substr(preg_replace( $from , $to , $line.' ' ),0,-1); } $output = implode("\n",$lines);

« previous php.doc (#969335933) next »