[PHP-DEV] Re: Proposal for updating zbacktrace in gdbinit

2011-12-05 Thread Laruence
Hi: patch upateded, http://pastebin.com/cr6N7NUx thanks On Tue, Dec 6, 2011 at 2:33 PM, Laruence wrote: > Hi: >   I am plan to commit a new change to 5.4-trunk/.gdbinit which can be > found at http://pastebin.com/N6hTRMRA. > >   after update,  the zbacktrace will print arguments info: > >

[PHP-DEV] Proposal for updating zbacktrace in gdbinit

2011-12-05 Thread Laruence
Hi: I am plan to commit a new change to 5.4-trunk/.gdbinit which can be found at http://pastebin.com/N6hTRMRA. after update, the zbacktrace will print arguments info: (gdb) zbacktrace [0x95dac5d8] sleep(long: 1000) /tmp/1.php:21 [0x95dac4b8] e(resource(#5)) /tmp/1.php:17 [0x95dac3e8] d(bo

Re: Re: [PHP-DEV] Fixing string offsets of strings.

2011-12-05 Thread Alan Knowles
> Thanks so much for the patch. Looking at the source I noticed some > small things (care to build a bike shed with me? :). > > Many of the test EXPECT's have %d changed to hard coded line numbers and > others have %s changed to hard coded file names. In some of them, > that's all that changed

RE: [PHP-DEV] Re: Patch: getters/setters syntax Implementation

2011-12-05 Thread Clint M Priest
I believe the attempt with the RFC was to mimic the syntax that C# went with, the RFC is here: https://wiki.php.net/rfc/propertygetsetsyntax The first public would apply to either of the get/set which did not have it further defined, for example: public $Hours { get { ... } priv

[PHP-DEV] Issue with op_array moving

2011-12-05 Thread James Edmunds
Hi all, I am writing an extension that does performance monitoring. I guess somewhat like xdebug but a bit different. The user can specify the functions / methods they care about and I will time the execution of those things. I do this by hooking zend_execute. My hook is: void rrdmon_execute

[PHP-DEV] Re: Patch: getters/setters syntax Implementation

2011-12-05 Thread Rasmus Schultz
2011/12/4 Clint M Priest : > Updated patch w/o white-space: http://www.clintpriest.com/patches/accessors_v1.patch > > In the end it is a relatively simple patch. The new syntax effectively creates internal functions on the object and the system looks for those functions and calls them at the appro

Re: [PHP-DEV] Appropriate list for questions about extensions?

2011-12-05 Thread Derick Rethans
On Tue, 6 Dec 2011, James Edmunds wrote: > I am new to this list and I am wondering if this is the appropriate place to > ask a question about the internals for an extension, or is there a more > appropriate list for that purpose? My issue is fairly technical and involved > with the deep guts of Z

Re: [PHP-DEV] Appropriate list for questions about extensions?

2011-12-05 Thread Ferenc Kovacs
On Mon, Dec 5, 2011 at 11:27 PM, James Edmunds wrote: > Hello all, > > I am new to this list and I am wondering if this is the appropriate place > to ask a question about the internals for an extension, or is there a more > appropriate list for that purpose? My issue is fairly technical and > inv

[PHP-DEV] Appropriate list for questions about extensions?

2011-12-05 Thread James Edmunds
Hello all, I am new to this list and I am wondering if this is the appropriate place to ask a question about the internals for an extension, or is there a more appropriate list for that purpose? My issue is fairly technical and involved with the deep guts of Zend so I suspect this may be the r

[PHP-DEV] Only 10 more days to order and get your gift from Encore/CelebrityAccess!

2011-12-05 Thread CelebrityAccess
Whether you are purchasing a new subscription, renewing an old one, or advertising with us – all purchases allow you to choose one of many wonderful holiday gifts. It's our way of thanking you for your business. Visit our Holiday Special Page and look around. There are some great gifts for

Re: [PHP-DEV] Fixing string offsets of strings.

2011-12-05 Thread Daniel Convissor
Hi Alan: On Mon, Dec 05, 2011 at 09:59:50AM -0500, Daniel Convissor wrote: > > I tried to apply the patch to 54 and trunk via "patch < bug.diff" > (which usually works fine) and all hunks failled. Not sure what I'm > doing wrong. Ah, I needed to do "patch -p0 < bug.diff" But now that I applied

Re: [PHP-DEV] Fixing string offsets of strings.

2011-12-05 Thread Daniel Convissor
Hi Alan: > https://bugs.php.net/patch-display.php?bug=60362&patch=fix_disabling_bad_string_offsets&revision=1323002696 Thanks so much for the patch. Looking at the source I noticed some small things (care to build a bike shed with me? :). Many of the test EXPECT's have %d changed to hard coded