Re: "Show Paragraphs" screenshot on abiword.com


Subject: Re: "Show Paragraphs" screenshot on abiword.com
From: James Montgomerie (jamie@montgomerie.net)
Date: Sat Feb 24 2001 - 09:44:51 CST


----- Original Message -----
From: "Tomas Frydrych" <tomas@frydrych.uklinux.net>
Sent: Saturday, February 24, 2001 12:48 PM
Subject: Re: "Show Paragraphs" screenshot on abiword.com
>
> The middle variant is likely the correct one, there appears to be a
> typo in randpng.php:
> while (($file = readdir($dir))!==false)
> should, I think, be
> while (($file = readdir($dir))!=false)
>
> (php has === operator but not !==)
> Tomas

Grrr - the curse of developing PHP3 on a system with PHP4.

For those who are interested the PHP4isms were:

!== instead of !=
sizeof($array) instead of count($array)
array_push($array, $object) instead of $array[] = $object

[I was also doing variable substution in strings rather weirdly, but it at
least worked].

Jamie.

P.S. If you hadn't guessed, it now works - I've mailed the info to Sam.



This archive was generated by hypermail 2b25 : Sat Feb 24 2001 - 09:46:09 CST