I personally have no problem with using trigger_error instead of
die()... I just have an issue with not using mysql_error() because we
don't want to be flooding with SQL queries, or using some sort of
debugging logic in a reference manual
John
>-Original Message-
>From: Gabor Hojtsy [ma
>Of course, this does introduce the problem of scripters
>leaving the verbose error messages in their code when they're
>ready for production.
IMHO I guess I'm still of the opinion that the PHPDocs aren't really a
resource for "Good practices", there are plenty of other resources
available onl
>
>Regarding the confusion factor this is a valid point. The
>error handling docs should clearly describe how the error
>directives such as display_errors, error_reporting, and
>log_errors behave and why a blank page my result. And describe
>ideal production vs. development scenerios.
We're g
Okay... So I took a look at the XML and it looks like it checks out to
me... I checked out the source for the example:
$a =& $b
I'm assuming & is the code for the '&' character Not exactly sure
where this is breaking in the build of the manual, Anyone have a clue?
John
>-Original
onverting
the ampersand in '&' to '&'... Hence we end up with:
&
Which renders: &
Which is wrong ;)
John
>On Tue, 3 Dec 2002, John Coggeshall wrote:
>
>>
>> Okay... So I took a look at the XML and it looks like it
>checks out to
I've changed the getimagesize() function so that it RETURN_FALSE on
every error, and disables the error reporting if the file fails to open
(it still returns RETURN_FALSE)
If no one has a problem, I'll commit.
John
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
long(return_value, 0, result->width);
add_index_long(return_value, 1, result->height);
>-Original Message-
>From: Derick Rethans [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, December 05, 2002 1:39 AM
>To: John Coggeshall
>Cc: [EMAIL PROTECTED]; [EMAI
>The return false part is ok but why not showing the warnings
>from fopen?
Well, the issue here is in the bugreport... It's not an issue of PHP
throwing a warning when a file doesn't exist and is attempted to be
opened, but it was throwing the error if the filesize was zero.. I could
see that be
I was just looking through the CVS tree:
http://cvs.php.net/cvs.php/php4/ext/cybercash
And I noticed that the cybercash extension apparently simply doesn't
exist anymore. It looks like the service itself has disappeared
(actually been baught out) hence, no need for an extension.
I don't have a
ank is still around
>and CyberMut of Credit Mutuel is THERE.
>
>Actually cybermut is moved to PECL.
>
>--
>Regards.
>M.CHAILLAN Nicolas
>[EMAIL PROTECTED]
>www.WorldAKT.com Hébergement de sites internets.
>
>"John Coggeshall" <[EMAIL PROTECTED]> a écr
x27;re at. I'll add to the RFC later
>today, more comments welcome.
>
>Regards,
>Philip
>
>p.s. I responded to the top of this email specifically
>for Derick :)
>
>
>
>On 31 Dec 2002, James Cox wrote:
>
>> On Tue, 2002-12-31 at 11:00, John Coggeshall
If the service does indeed exist (the way the CVS read it was nuked for
a different service) then I of course agree it shouldn't be nuked :) My
question is where did this extension go? Did it end up in PECL or did it
get removed entirely?? In any case, perhaps we can update the
documentation to at
>I think your mailserver's maybe lagging :)
Heh :) Perhaps. Or maybe I just missed that little sidenote in a
previous e-mail :)
John
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>I have a 2500 pages manual in Word format... how should I go
>distilling it to PDF?
You need the Adobe PDF DistillerIf you don't have it shoot it my way
and I'll distill it for you.
John
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
I haven't confirmed this in the source, but in the trigger_error() docs:
Note: error_msg is limited to 1024 characters in length. Any additional
characters beyond 1024 will be truncated.
Shouldn't it truncate at the size specified by the log_errors_max_len,
(whose default is 1024) not always 10
johnFri Jun 6 07:27:15 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions implode.xml
Log:
Clearified the proto for this function per bug #24056
Index: phpdoc/en/reference/strings/functions/implode.xml
diff -u phpdoc/en/reference/str
johnFri Jun 6 11:54:48 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions implode.xml
Log:
Following Jani's Suggestion on a more appropiate proto.
Index: phpdoc/en/reference/strings/functions/implode.xml
diff -u phpdoc/en/reference/s
ange
> >both documented the new optional glue AND the
> >current/old behavior of implode() accepting the
> >parameters in reverse order. Two birds with one
> >stone :)
> >
> >Regards,
> >Philip
> >
> >
> >On Fri, 6 Jun 2003, John Coggesh
johnFri Jun 6 15:47:18 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions implode.xml
Log:
Revert back to 1.6
Index: phpdoc/en/reference/strings/functions/implode.xml
diff -u phpdoc/en/reference/strings/functions/implode.xml:1.7
phpdoc
Whatever fits -- makes absolutely no difference to me what-so-ever.
John
On Fri, 2003-06-06 at 19:15, Philip Olson wrote:
> On Fri, 6 Jun 2003, Derick Rethans wrote:
>
> > On Fri, 6 Jun 2003, John Coggeshall wrote:
> >
> > > On Fri, 2003-06-06 at
johnTue Jun 3 06:34:50 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions number-format.xml
Log:
Fixed a minor annoyance. you can have 1, 2, or 4 parameters but not three
and the proto was incorrect.
Index: phpdoc/en/reference/strings
here is a relatively small number of functions where this
problem shows up. I don't think it's something anyone has to
particularly worry about -- having two protos for those special cases is
fine by me.
John
--
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John
johnMon Jun 30 06:08:28 2003 EDT
Modified files:
/phpdoc/en/reference/pdf/functions pdf-fill.xml
Log:
The prototype for pdf_fill() is not pdf_fill_stroke() :)
Index: phpdoc/en/reference/pdf/functions/pdf-fill.xml
diff -u phpdoc/en/reference/pdf/functions
ure.
John
--
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall http://www.coggeshall.org/
john at coggeshall dot org
The PHP Developer's Handbook
The definitive PHP5 developer's guide http://www.php-handbook.com/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
http://snaps.php.net/win32/PECL_STABLE/
John
On Wed, 2003-11-26 at 23:17, Fernando Correa da ConceiÃÃo wrote:
> On tidy documentation, say it works on php4, so I go to pecl, but
> there is not a dll for windows, only source for linux.
> So, this work on windows? If no the docs must say this.
>
nch, where all of these
functions still exist.
John
--
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall http://www.coggeshall.org/
The PHP Developer's Handbookhttp://www.php-handbook.com/
0x19)?
chr(${0x32}):${chr(0xD)}[${0x32}];++${0x0};}
echo "{${""}}\n"?>
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
anual
--
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall http://www.coggeshall.org/
The PHP Developer's Handbookhttp://www.php-handbook.com/
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
The really stupid part is this moron didn't even provide a link to steal
our passwords that worked ;)
Coogle
--
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall http://www.coggeshall.org/
The PHP Developer's Handbookhttp://www.php-handbook.com/
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
Infos about Linuxtag: http://www.linuxtag.org/2004/index.html
>
> Regards
> Friedhelm
--
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall http://www.coggeshall.org/
The PHP Developer's Handbookhttp://www.php-handbook.com/
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
|> We receive many complaints at [EMAIL PROTECTED] about failures in
|> setting up PHP with Apache 2. Can somebody please update the
|> documentation with details on Apache 2 on Linux and Windows, or
|> provide information for the documentation team to add to the
|> documentation. It would def
johnWed Nov 13 18:36:37 2002 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions glob.xml
Log:
Documented the valid flags for the glob() function, including the
two new flags I added to the source (GLOB_ONLYDIR and GLOB_BRACE).
Other flags
johnTue Nov 19 21:29:57 2002 EDT
Modified files:
/phpdoc/en/reference/var/functions unserialize.xml
Log:
Added the callback parameter to the syntax statement (string callback)
Index: phpdoc/en/reference/var/functions/unserialize.xml
diff -u phpdoc/en/ref
johnTue Nov 19 21:45:02 2002 EDT
Modified files:
/phpdoc/en/reference/var/functions serialize.xml unserialize.xml
Log:
Documented the __sleep and __wakeup member functions when
serializing/unserializing objects in both function references.
Index: phpd
johnTue Nov 19 21:51:21 2002 EDT
Modified files:
/phpdoc/en/reference/var/functions unserialize.xml
Log:
Arg. I kept finding things wrong :) Added version information for the
callback parameter (PHP >= 4.2.0)
Index: phpdoc/en/reference/var/functions/u
johnWed Nov 20 00:01:38 2002 EDT
Modified files:
/phpdoc/en/reference/var/functions serialize.xml unserialize.xml
Log:
Cleaned some things up some more.
Index: phpdoc/en/reference/var/functions/serialize.xml
diff -u phpdoc/en/reference/var/functions/seri
johnSun Dec 1 17:06:11 2002 EDT
Modified files:
/phpdoc/en/reference/sessionreference.xml
Log:
Added a note to point out that sessions are not kept which have no
registered variables.
Index: phpdoc/en/reference/session/reference.xml
diff -u ph
johnSun Dec 1 17:25:04 2002 EDT
Modified files:
/phpdoc/en/reference/sessionreference.xml
Log:
Added a reference to $_SESSION as also being a valid method (instead of
just saying session_register())
Index: phpdoc/en/reference/session/reference
johnSun Dec 1 18:32:11 2002 EDT
Modified files:
/phpdoc/en/reference/sessionreference.xml
Log:
WS FIX
Index: phpdoc/en/reference/session/reference.xml
diff -u phpdoc/en/reference/session/reference.xml:1.22
phpdoc/en/reference/session/referenc
IMHO, I think it's the newbies' decision on how and when to use
functionality available in PHP. I see no problem with the examples in
the documentation reflecting the use of functionality. There are
countless examples in the manual currently which don't use what could be
considered "best practice"
39 matches
Mail list logo