Hello Ci,
Tuesday, April 24, 2007, 11:02:52 PM, you wrote:
Tijnema ! napisał(a):
I believe that the source string needs to be 0 terminated (\0).
Don't ask me how to fix it ;)
Thanks all of You. I solve all problems. Hmmm, maybe there are some
things to make better, but the main idea is
You probably missed.
This function can be used to substitute main PHP heap, so all emalloc()
function will work with new one.
Thanks. Dmitry.
-Original Message-
From: Brian Shire [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 1:22 AM
To: PHP internals
Subject: [PHP-DEV]
On my machine i get these results:
Win32 (PHP 5.2.1 CLI)
Windows has very slow filesystem layer (compared to Linux),
unfortunately. Which means things that do more filesystem (like
require_once that should resolve file pathes) are slower. Realpath cache
should make it better to a measure.
Mauro N. Infantino wrote:
Thanks for your response, Andrew.
Just to clarify: Maybe there's no performance problem. I'm seeing this
behavior without any logical explanation (both installations are exactly
equal and the difference in execution time is too big not to be noticed). Of
course,
I need this account to develop the pear-package Text_Wiki_Docbook . I'm in
contact with the lead for Text_Wiki, Justin Patrin.
kind regards
Daniel BrüÃler
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
I think the best separator is :::
Please not the my separator is weirder than yours thread again!
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Marcus Boerger napisał(a):
Have a look here: http://talks.somabo.de/200611_php_code_camp.pdf
Ohh this is really good. It should be in more reach place.
Regards,
Ci
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Could you explain - why do you need to use VCWD there?
Hannes Magnusson wrote:
Hi all
Attached is a patch for the PHP-cli php.ini search path feature which
fixes two things:
a) php.ini from cwd was picked up on BSDs
b) resolves to correct php-binary-location and picks up the php.ini
file from
It fixes the bug on BSDs where the ini is picked up from cwd - and
when you do touch php php -v
On 4/25/07, Stanislav Malyshev [EMAIL PROTECTED] wrote:
Could you explain - why do you need to use VCWD there?
Hannes Magnusson wrote:
Hi all
Attached is a patch for the PHP-cli php.ini search
Hi.
Running PHP via ISAPI on Sambar Server.
I have a script which is allowed to take a long time.
The user has an Abort option and via clever use of sessions, the
script can be terminated.
All fine.
Sometimes, the user is too dumb to abort it when it has to do a LOT
more work than they
I would like to contribute to the PHP Documentation team, I already created
patches that were accepted for the POSIX extension. Philip Olsen (philip) and
Sean Coates (sean) had advised me to request a CVS account right away.
--
PHP Internals - PHP Runtime Development Mailing List
To
-Original Message-
From: Andrew Hutchings [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 4:46 AM
Subject: Re: [PHP-DEV] Performance problem in Windows between
5.1 5.2
Try 5.2.0, I found it has no performance hit when compared to 5.1.6.
Regards
Andrew
Hi,
Since I
Thanks Dmitry,
I think what I was going for (in a very poorly worded way) was that
I'm unable to access any of the heap structure values outside of
zend_alloc.c because that's where the definition resides.
For example something like the following should generate a compile
time error
Given the recent discussion of the lack of real documentation for the
Zend API, and the endless links provided to various sources of
usually incomplete information, I thought it might be a good idea if
someone wrote an actual book on the subject. I'm interested in taking
that project upon
How BSD is different from any other Unix? And as far as I see,
tsrm_realpath uses getcwd anyway, so what's the difference?
Hannes Magnusson wrote:
It fixes the bug on BSDs where the ini is picked up from cwd - and
when you do touch php php -v
--
Stanislav Malyshev, Zend Products Engineer
On Wed, 25 Apr 2007, Gwynne Raskind wrote:
Given the recent discussion of the lack of real documentation for the Zend
API, and the endless links provided to various sources of usually incomplete
information, I thought it might be a good idea if someone wrote an actual book
on the subject. I'm
Hi Stas,
The problem is with the following scenario:
Say your php cli is in /usr/bin/php and /usr/bin is in your path.
You change dir to /tmp.
Now issue php -v and watch where php looks up its php.ini. main()'s
argv[0] will in this case be just php since we got called form the
path. The code
On Wed, April 25, 2007 10:21 am, Richard Quadling wrote:
Running PHP via ISAPI on Sambar Server.
I have a script which is allowed to take a long time.
The user has an Abort option and via clever use of sessions, the
script can be terminated.
[This answer probably belongs on php-general, but
On Wed, April 25, 2007 1:43 pm, Mauro N. Infantino wrote:
definitions are taking more time in PHP5.2.x. The problem I'm facing
is that
I'm trying to benchmark this, but I'm not being able because I can not
find
the way to iterate this case enough times to get a significant number.
eval()'d
On Apr 25, 2007, at 3:33 PM, Derick Rethans wrote:
Given the recent discussion of the lack of real documentation for
the Zend
API, and the endless links provided to various sources of usually
incomplete
information, I thought it might be a good idea if someone wrote an
actual book
on the
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Subject: Re: [PHP-DEV] Performance problem in Windows between
5.1 5.2
?php
$file = fopen('/tmp/foo', 'w'); //or whatever.
for ($i = 0; $i 100; $i++){
$class = EOC
class foo_$i {
//more stuff here
On 04/26/2007 01:45 AM, Gwynne Raskind wrote:
Hmm... For some reason I missed that in my searches. That being said,
the existence of one doesn't preclude the writing of another :).
Also, it seems the official documentation in the PHP manual could use
some serious updating, which I would
Hello Antony,
Thursday, April 26, 2007, 12:05:07 AM, you wrote:
On 04/26/2007 01:45 AM, Gwynne Raskind wrote:
Hmm... For some reason I missed that in my searches. That being said,
the existence of one doesn't preclude the writing of another :).
Also, it seems the official documentation
On 04/26/2007 02:12 AM, Marcus Boerger wrote:
Doxygen (which seems to be uses by the majority of F/OSS projects)
generates completely unreadable docs.
Every time I look into ICU docs (generated by Doxygen) I get lost for 10
minutes trying to find a function _by name_.
In the same time, other
On Apr 25, 2007, at 6:05 PM, Antony Dovgal wrote:
Hmm... For some reason I missed that in my searches. That being
said, the existence of one doesn't preclude the writing of
another :). Also, it seems the official documentation in the PHP
manual could use some serious updating, which I
On 04/26/2007 02:32 AM, Gwynne Raskind wrote:
I've been plugging around writing extensions long enough to have some
idea of the internals; more than once I've answered a question by
digging through the Zend sources for the internals of some API.
Great!
I'm willing to at least take a
Hello internals,
I am facing a problem with tsrm_ls. I receive a SIGSEGV on a specific memory
address.
Program received signal SIGSEGV, Segmentation fault.
0x40019880 in ?? ()
During a second execution I get
(gdb) x/ 0x40019880
0x40019880 php_cforum_globals_dtor: 0x5de58955
My code is
Hello Oliver,
we have a bunch of macros for globals. Please use those. For example
look into ext/ext_skel for help (or any extension php comeswith).
best regards
marcus
Thursday, April 26, 2007, 12:56:25 AM, you wrote:
Hello internals,
I am facing a problem with tsrm_ls. I receive a
Gwynne, I'm not wanting to be nasty or anything, but:
a) Sara is totally expert in this area and you, as yet, are not
b) the reason that was ever needed at all is that the open source stuff
needs work.
If you really want to make things easier for incomers, work on the open
source
- and that will teach me to read to the end of the thread before I respond.
What Tony said :)
- Original Message -
From: Antony Dovgal [EMAIL PROTECTED]
To: Gwynne Raskind [EMAIL PROTECTED]
Cc: internals@lists.php.net
Sent: Wednesday, April 25, 2007 11:51 PM
Subject: Re: [PHP-DEV]
Lukas,
I'm not having much spare time lately, but I'd like to continue working
on the patch as soon as I can. Will the patch be needed only on PHP 6 or
is there a possibility of including it in a minor version (5.3 or 5.4,
perhaps)? If it's only for 6, I'll try to adapt my patch for it over
31 matches
Mail list logo