I love empty, because its fast and compact.
checking an array for a boolean value when a key does not exist, like here:
A:
if ( empty($foo['x']) ) echo 'no x';
this does not throw a notice that 'x' does not exist and is the fastest
variant compared to these two, even if 'x' exists. I especiall
Are you turning warnings into errors (would have thought that was a warning,
not an error)?
Normally you wouldn't call apache functions to write data, you would call the
PHP SAPI write function. This way your extension works with output buffering
on or off.
Brian
On Jan 17, 2010, at 5:18 PM
please ignore this if any of the following apply:
1. you name is 'mm w' (I don't care for your response either) - granted this is
reverse psychology.
2. your very busy atm (nothing technical being added here)
3. you abhor off-topic junk
otherwise the following may help to make you smile ...
---
Hi Brian,
I followed your suggestion but I still got the same error message:
ext/hello/.libs/hello.o: In function
`zif_confirm_hello_compiled':/home/www/php-5.3.1/ext/hello/hello.c:168:
undefined reference to `ap_rprintf'collect2: ld returned 1 exit statusmake: ***
[sapi/cli/php] Error 1
Tha
Thanks Alexey Zakhlestin ,I'm kown very well all answer in your replies.
2010/1/17 Alexey Zakhlestin :
>
> On 17.01.2010, at 15:10, hack988 hack988 wrote:
>
>> thanks,but document say's dl() is not supported in multithreaded Web servers
>> form php5.3.0 php not relase isapi in binary pack.It's mea
On 17.01.2010, at 14:46, hack988 hack988 wrote:
> In Online document about dl function
> http://www.php.net/manual/en/function.dl.php
> This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of
> PHP 6.0.0. Relying on this feature is highly discouraged.
>
>
> It's mean we can't Loads
In Online document about dl function
http://www.php.net/manual/en/function.dl.php
This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of
PHP 6.0.0. Relying on this feature is highly discouraged.
It's means we can't Loads a PHP extension at runtime since version 5.3.0
and higher versi
In Online document about dl function
http://www.php.net/manual/en/function.dl.php
This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of
PHP 6.0.0. Relying on this feature is highly discouraged.
It's mean we can't Loads a PHP extension at runtime sine version 5.3.0
and higher version
You are just trolling again, or do you have some solution/suggestion
for the original problem?
Tyrael
On Sun, Jan 17, 2010 at 7:35 AM, mm w <0xcafef...@gmail.com> wrote:
> yep nevermind I don't you post this question on php-internal and don't
> understand this ugly suggestion, Brian when I read y