Brian Moon wrote:
You can call time pass as const.
Damn, need to proof read. Should be "CAN'T"
--
Brian Moon
-
http://dealnews.com/
It's good to be cheap =)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Guilherme Blanco wrote:
Why? Because $db should be a constant and could not be modified.
Allowing this, the 3rd party component could redefine some important
properties inside of your object and may cause unbelievable issues in
your appplication.
This makes it sound like you let other people wr
> $db = new DBConnection($properties);
> // Notice, still not connected to DB
> $third_party_obj->foo($db);
> $db->connect();
In the requested feature, the "protection" is in the wrong hands (that
of the third party object).
You're much better off changing your call to:
$third_party_obj->foo(clon
Hi,
I think it's a great possibility too, specially when dealing with 3rd
party components.
If you have an interface in your application to be implemented by
others, you can notice them about the constant argument (and should
NOT be redefined) and throw a fatal error (altho I still do not
unders
William A. Rowe, Jr. wrote:
Thomas Hruska wrote:
Heads up! Installed the latest Win32 binaries of thread-safe PHP 5.2.1
on Win32 Apache and IIS. PHP started crashing (definitely PHP -
php5ts.dll) when I went to access the MyProBB web forum. (Win32 Apache
flat out crashes, IIS bails with HTTP
On 3/2/07, Jakob Buchgraber <[EMAIL PROTECTED]> wrote:
Marco Kaiser wrote:
> Hi Jakob,
>> It would be nice if in PHP 6 using constant parameters for functions
>> and methods would be possible. This feature is e.g. available in Java.
>>
>> function doSth (const A) {
>> if (defined ("A")) echo
Marco Kaiser wrote:
Hi Jakob,
It would be nice if in PHP 6 using constant parameters for functions
and methods would be possible. This feature is e.g. available in Java.
function doSth (const A) {
if (defined ("A")) echo "A is a constant";
}
doSth ("foo");
Cheers,
Jay
This makes absolut
Hi Jakob,
> It would be nice if in PHP 6 using constant parameters for functions
> and methods would be possible. This feature is e.g. available in Java.
>
> function doSth (const A) {
> if (defined ("A")) echo "A is a constant";
> }
>
> doSth ("foo");
>
> Cheers,
> Jay
>
This makes absolute no
Jakob Buchgraber wrote:
Hello!
It would be nice if in PHP 6 using constant parameters for functions and
methods would be possible. This feature is e.g. available in Java.
function doSth (const A) {
if (defined ("A")) echo "A is a constant";
}
doSth ("foo");
Cheers,
Jay
Hmm, can you g
Hello!
It would be nice if in PHP 6 using constant parameters for functions and
methods would be possible. This feature is e.g. available in Java.
function doSth (const A) {
if (defined ("A")) echo "A is a constant";
}
doSth ("foo");
Cheers,
Jay
--
PHP Internals - PHP Runtime Developmen
Hi ANdy,
Looks good to me. Nice and clean.
- Frank
> Hi Internals,
> Below are details of a suggested patch for COM extension defect
> 35872 (http://bugs.php.net/bug.php?id=35872) for review/approval.
> All comments welcome; good or bad.
>
> Regards
>Andy
>
> Andy Wharmby
> IBM Unit
Hi Internals,
Below are details of a suggested patch for COM extension defect
35872 (http://bugs.php.net/bug.php?id=35872) for review/approval.
All comments welcome; good or bad.
Regards
Andy
Andy Wharmby
IBM United Kingdom Limited
Winchester, England SO21 2JN
E-mail: [EMAIL PROTECTED]
For example lighttpd according to NetCraft:
01.2007 lighttpd 172819
02.2007 lighttpd 702712
You should wait march, such a jump is suspect :)
--Pierre
Hello Pierre,
03.2007 lighttpd 1.399.786
http://survey.netcraft.com/Reports/0703/
This gives place 4, right behind Sun (if you skip 'unknow
13 matches
Mail list logo