Hi there,
This may already have been considered in the past, but I was wondering
whether the PHP_EOL constant available inside the PHP source code could be
made available to PHP programmers in their scripts? The current solution
is, of course, to check PHP_OS each time and set the constant by han
tted?
Paul
--
Quoting Andrey Hristov <[EMAIL PROTECTED]>:
> Hi Paul,
> may you compile your PHP binary with
> --enable-debug and after that run your
> sample scrit for once. See if there are leaks.
>
>
> Andrey
>
> Quoting Paul Hudson
> <[EMAI
Er, either the php-internals MARC archive doesn't show all attachments, or
my diff file got stripped en route for not having a .txt extension. I've
attached it again, just to make sure.
Paul
--
-Original Message-----
From: Paul Hudson [mailto:[EMAIL PROTECTED]
Sent: 10 February
Hi there,
Bug #24064 (submitted by [EMAIL PROTECTED]) requests a standard deviation
function for PHP. I realise that any of you could implement this in 10
minutes, but according to the bug database it is still Open so I figured I
would give it a try myself!
There are probably a dozen errors in t
Andi,
Wouldn't it be more useful if they worked for all variables, or is there a
design reason why they work as they do currently?
--Paul
> Yes, you are right. They only work if the variable is not defined.
>
> Andi
>
> At 08:03 PM 12/7/2003 +0100, Paul Hudson wrote:
>
All,
I've been poking around with these two functions while testing the build from
CVS, and am not sure how they're supposed to work. From what I can gather,
they are only called when changing a variable that wasn't in the class
definition. I say that because I took the example script from
h
Andi,
> However, if you inherit from this class the new class does not know any of
> the parents' private members and therefore doesn't error out. This is the
> correct way of handling it because private members should be hidden to
> inheriting classes.
When you say "hidden", do you mean that it
Alan,
> I think what you are getting at is that you can set 'private' variable
> from outside.. - with no warnings etc.
Yup.
> so if you want a warning when you set/create a variable with the same
> name as the private - use protected...
> Or am I missing the point on what you expected..?
I was
ay 12 Jul 2003 10:51 am
From: Paul Hudson <[EMAIL PROTECTED]>
To: Greg Beaver <[EMAIL PROTECTED]>, Alan D'Angelo <[EMAIL PROTECTED]>
Greg,
Meh - I thought namespaces were canned? Or is it just that the Poppy object
gets the private variables, but when I say $poppy->
All,
The manual currently doesn't specify what the function file_put_contents
returns beyond just "int". The code prototype says string, and the function
appears to return a boolean rather than any integer (at least in the latest
CVS). Which of the three should it be?
I was /expecting/ it to
10 matches
Mail list logo