> > In either of the above cases, you specify where a function belongs, both
> > where it's defined, and where it's used (either through full
qualification,
> > or a shorter one, using "import"). I'm not arguing for a function to
> > "magically" become a part of a class/module/whatever, if you thou
>On 9/11/06, Terje Slettebø <[EMAIL PROTECTED]> wrote:
>> Please, people: The availability of free (non-member) functions in PHP
(as
>> in C/C++) is one advantage it has over Java, where everything _has_ to be
a
>> class. So in Java, instead of being able to write "sqrt()", you
have
>> to write "Ma
Is this a dual-core or a multi-CPU system? There was a race condition in
tsrm_shutdown which has been fixed. Not sure if this fix is in 5.1.6.
> -Original Message-
> From: Brian Fertig [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 11, 2006 8:12 PM
> To: internals@lists.php.net; php
I have enabled debugging and such.. Here is a spit out of bt from gdb
#0 0x00501144 in ?? ()
#1 0x010f6578 in tsrm_shutdown () at
/usr/src/docelmo/trunk/libs/php-5.1.6/TSRM/TSRM.c:180
#2 0x011c8759 in php_embed_shutdown (tsrm_ls=0x899e9d8) at
/usr/src/docelmo/trunk/libs/php-5.1.6/sapi/embed/p
Add new PEAR package HTML_TagCloud.
http://pear.php.net/user/shomas
http://pear.php.net/pepr/pepr-proposal-show.php?id=399
http://catbot.net/src/HTML_TagCloud-0.1.0.tgz
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 9/11/06, Terje Slettebø <[EMAIL PROTECTED]> wrote:
Please, people: The availability of free (non-member) functions in PHP (as
in C/C++) is one advantage it has over Java, where everything _has_ to be a
class. So in Java, instead of being able to write "sqrt()", you have
to write "Math::sqrt()"
Hello Andrei,
for some reason i like "instance of class" better than "class object".
The reason is that we have instances rather than objects - So it's a
purist thing.
best regards
marcus
Monday, September 11, 2006, 6:44:08 PM, you wrote:
> How is "instance of" different from "object"?
> -A
Hi KitMan:
Anything other than a plain text attachment gets stripped from PHP
mailing lists. So we can't see what you tried to send.
And this is not the mailing list that you are looking for; you want
the php-doc mailing list.
Good luck!
On 11/09/06, KitMan Cheung <[EMAIL PROTECTED]> wrote:
H
> There is a missing function from the ibm_db2 driver documentation. I would
> like to add this to the documentation package. This is my first try at
> this, I hope this is done correctly.
> If one of you kind folks can take a moment and add this to the
> documentation, it would be greatly apprec
Hi folks,
There is a missing function from the ibm_db2 driver documentation. I would
like to add this to the documentation package. This is my first try at
this, I hope this is done correctly.
If one of you kind folks can take a moment and add this to the
documentation, it would be greatly appre
> In either of the above cases, you specify where a function belongs, both
> where it's defined, and where it's used (either through full qualification,
> or a shorter one, using "import"). I'm not arguing for a function to
> "magically" become a part of a class/module/whatever, if you thought so
It's been a while since I sent my original message, and nobody has
replied, so I'm going to assume that I was simply too brief in my
explanation (which, looking back, seems quite likely).
Basically, I have a library, written in C, that uses a MySQL 5+
database. I've already written an extension fo
> > Or "namespaces"... Or just plain "modules". Classes is not the only way
to
> > group things, and may not be the best (namespaces can typically be
> >
> Oh, of course it's not the only way. It's the only way native to PHP
though.
Yes.
> > re-opened, so functions and classes belonging to a name
> Or "namespaces"... Or just plain "modules". Classes is not the only way to
> group things, and may not be the best (namespaces can typically be
>
Oh, of course it's not the only way. It's the only way native to PHP though.
> re-opened, so functions and classes belonging to a namespace can spa
> >> Maybe a dump question, but wouldn't it get considered only, AFTER PHP
has
> >> found that the function does not exist?
>
> Technically, this can be done - i.e. engine can be patched so that
> instead of throwing an error or refusing the call it would call
> appropriate function which would all
How is "instance of" different from "object"?
-Andrei
On Sep 10, 2006, at 11:44 PM, Marcus Boerger wrote:
Hello Hannes,
with your changewe'd have:
"Warning: token_get_all() expects parameter 1 to be binary string,
stdClass object
given in %s on line %d"
i would like the followingmore:
Maybe a dump question, but wouldn't it get considered only, AFTER PHP has
found that the function does not exist?
Technically, this can be done - i.e. engine can be patched so that
instead of throwing an error or refusing the call it would call
appropriate function which would allow for autolo
Scratch that, not enough caffeine in the bloodstream :(
Yes, of course it's under doze a more intelligent question would be
'which version of PHP are you using?'
- Steph
Is this crash under Windows perchance?
Johannes Schlueter wrote:
Not without code, backtrace, etc.
johannes
Brian
I wrote an embedded application that can execute php scripts.
When the script exits and I call the php_embed_shutdown() function
it crashes. Can someone explain to me how I can keep this from
happening?
Without looking into the code, crash on shutdown frequently hints on one
of the two:
1. Me
Is this crash under Windows perchance?
Johannes Schlueter wrote:
Not without code, backtrace, etc.
johannes
Brian Fertig wrote:
I wrote an embedded application that can execute php scripts.
When the script exits and I call the php_embed_shutdown() function
it crashes. Can someone explain to
LAUPRETRE François (P) wrote:
4. I don't see why there would be a performance impact if the autoloading mechanism was
extended to functions and constants. It is just a hook in the error handler and does not slow
down the code for defined symbols.
Anything that shifts things away from the compi
I agree. I don't understand why several people in the PHP team seem to consider
that
the future of PHP and any improvement we can propose must be exclusively object
oriented. I
really think that one of the biggest advantage of PHP against its competitors
is its short
learning curve, especiall
Johannes Schlueter wrote:
> Not without code, backtrace, etc.
>
> johannes
>
> Brian Fertig wrote:
>> I wrote an embedded application that can execute php scripts.
>> When the script exits and I call the php_embed_shutdown() function
>> it crashes. Can someone explain to me how I can keep this f
Not without code, backtrace, etc.
johannes
Brian Fertig wrote:
I wrote an embedded application that can execute php scripts.
When the script exits and I call the php_embed_shutdown() function
it crashes. Can someone explain to me how I can keep this from happening?
Brian
--
PHP Interna
I wrote an embedded application that can execute php scripts.
When the script exits and I call the php_embed_shutdown() function
it crashes. Can someone explain to me how I can keep this from happening?
Brian
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http:/
Testing on high traffic board.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 9/11/06, Richard Quadling <[EMAIL PROTECTED]> wrote:
One way in useerland to solve this is to use an error handler to
identify non existant function calls and then use an appropriate
mechanism to find them.
You can't catch fatal errors.
Regards,
Michael
--
PHP Internals - PHP Runtime Devel
PHP 5 Bug Database summary - http://bugs.php.net
Num Status Summary (583 total including feature requests)
===[*Configuration Issues]
37919 Open PHP doesn't read the configurations propertly
===
PHP 4 Bug Database summary - http://bugs.php.net
Num Status Summary (635 total including feature requests)
===[*Configuration Issues]
38670 Feedback Whole 4.4.x branch has problem with open_basedir option nested
from Apache2
On 10/09/06, dAniel hAhler <[EMAIL PROTECTED]> wrote:
Marcus Boerger wrote:
> it hasbeendiscussed and the conclusion is that it isfar too much of a
> slowdown for every function call and thus we are not going to implement
> it.
Maybe a dump question, but wouldn't it get considered only, AFTER
30 matches
Mail list logo