[PHP-DEV] Re: Performance problem in Windows between 5.1 & 5.2

2007-04-24 Thread Andrew Hutchings
h a microtime difference between start & end I get: > > - PHP 5.1.6: 111ms avg. > - PHP 5.2.1: 205ms avg. I brought this issue up before using Linux, but it was all in my imagination apparently :) Regards Andrew -- Andrew Hutchings - Linux Jedi - http://www.linuxjedi.co.uk/ Windows

Re: [PHP-DEV] Performance problem in Windows between 5.1 & 5.2

2007-04-25 Thread Andrew Hutchings
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 b

Re: [PHP-DEV] While-else

2007-05-03 Thread Andrew Brampton
hought I'll just post a example of when I would use it. thanks Andrew -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Proposal: array_get, a more palatable alternative to ifsetor

2007-06-17 Thread Andrew Shearer
rray_key_exists($key, $arr)) { return $arr[$key]; } else { return $default; } } } (This version turned in the fastest times out of several variants. Passing $arr by reference or attempting to return the result by reference had a huge nega

[PHP-DEV] Re: Exception thrown without a stack frame

2007-06-28 Thread Andrew Minerd
> I sometimes get the following error > >> Fatal error: Exception thrown without a stack frame in > >> Unknown on line 0 > > What does this mean? When we see these, they're typically from our custom session handler. -- Andrew Minerd Software Architect The S

Re: [PHP-DEV] Simple Namespace Proposal

2007-07-12 Thread Andrew Minerd
utoloader alltogether.) Similarly, allowing multiple namespaces per file does not limit the developer in any way. Not allowing them does. I always thought a language should be designed to empower it's developers, not get in their way. -- Andrew Minerd Software Architect The Selling Source,

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread Andrew Minerd
anguage's responsibility ends. If there are technical reasons (i.e., compile-time name resolution, as you mentioned in passing), I think it'd be beneficial to see a discussion of those. A programming language is a tool: a hammer doesn't tell you where to put the nail. -- Andrew

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread Andrew Minerd
x27;d be somewhat confusing, but, at the very least, address the proper issue. > That's only one problem with blanket imports. So. What are the others? Andrew Minerd Software Architect The Selling Source, Inc. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Question about Namespace patch

2007-07-23 Thread Andrew Minerd
s could still exist, so that argument is pointless. Andrew Minerd Software Architect The Selling Source, Inc. On Mon, 23 Jul 2007 20:40:19 +0200 Markus Fischer <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Andrew, > > Andrew Minerd wrote: &

Re: [PHP-DEV] Question about Namespace patch

2007-07-24 Thread Andrew Minerd
t > clear to me yet which one. > > w/ snapshot from yesterday: [EMAIL PROTECTED] /usr/local/src/php6.0-200707232030 $ cat ./namespace3.php [EMAIL PROTECTED] /usr/local/src/php6.0-200707232030 $ ./sapi/cli/php ./namespace3.php Test Andrew Minerd Software Architect The Selling

Re: [PHP-DEV] [PATCH] array_get()

2007-09-10 Thread Andrew Shearer
Let me try that again with the files attached. I'll leave out the full original proposal this time. On Sep 10, 2007, at 6:12 PM, Andrew Shearer wrote: Here's a patch against HEAD that implements the array_get function previously suggested on this list. I also attached a

[PHP-DEV] [PATCH] array_get()

2007-09-10 Thread Andrew Shearer
array_get($arr, $key, $default = false) { if (array_key_exists($key, $arr)) { return $arr[$key]; } else { return $default; } } } (This version turned in the fastest times out of several variants. Passing $arr by reference or attempting to return

Re: [PHP-DEV] [PATCH] array_get()

2007-09-10 Thread Andrew Shearer
.phpt On Sep 10, 2007, at 6:27 PM, Andrew Shearer wrote: Let me try that again with the files attached. I'll leave out the full original proposal this time. On Sep 10, 2007, at 6:12 PM, Andrew Shearer wrote: Here's a patch against HEAD that implements the array_get function previ

Re: [PHP-DEV] [PATCH] array_get()

2007-09-10 Thread Andrew Shearer
On Sep 10, 2007, at 10:31 PM, Antony Dovgal wrote: On 11.09.2007 02:12, Andrew Shearer wrote: Here's a patch against HEAD that implements the array_get function previously suggested on this list. I also attached a test suite, which should go in ext/standard/tests/array/array_get.phpt. Fee

Re: [PHP-DEV] [PATCH] array_get()

2007-09-11 Thread Andrew Shearer
ndard PHP syntax and function model, potentially making its adoption much easier. See below for answers to what you mentioned. On Sep 11, 2007, at 5:27 AM, Marcus Boerger wrote: Hello Andrew, you can easily implement this function run time. It is not very flexible and far away from

Re: [PHP-DEV] [PATCH] array_get()

2007-09-11 Thread Andrew Shearer
On 9/11/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: > Hello Andrew, > > did you check out '?:' shortcut in HEAD? > > php -r 'echo 4?:2;' -> 4 > php -r 'echo 0?:2;' -> 2 > > best regards > marcus Yes, I had hoped that th

Re: [PHP-DEV] [PATCH] array_get()

2007-09-11 Thread Andrew Shearer
On 9/11/07, Marcus Boerger <[EMAIL PROTECTED]> wrote: > Hello Andrew, > > how about @?: style? > > Like: $val = $myarray[$key] ?: $default; > > marcus There are drawbacks with using the @ style regularly. One is the lack of error checking: all error messages gen

Re: [PHP-DEV] [PATCH] array_get()

2007-09-12 Thread Andrew Shearer
, September 11, 2007, 7:17:02 PM, you wrote: > > > On Tue, 2007-09-11 at 18:54 +0200, Marcus Boerger wrote: > >> Hello Andrew, > >> > >> how about @?: style? > >> > >> Like: $val = $myarray[$key] ?: $default; > > > Did you mean like: &

Re: [PHP-DEV] [PATCH] array_get()

2007-09-13 Thread Andrew Shearer
On Sep 12, 2007, at 2:25 PM, Lukas Kahwe Smith wrote: Andrew Shearer wrote: Meanwhile, array_get() provides the most-needed functionality while avoiding the issues that prevented ifsetor's acceptance. Aside from lack of BC hacks what is the issue? I remember some fussing about the

Re: [PHP-DEV] RFC: mark functions as const for possible optimizations

2007-09-17 Thread Andrew Brampton
;abcd'); Would the optimizer work out the length before the program starts to run? Or would the optimizer wait until it knows the strlen is going to be called then convert it to the constant 4? I could see the optimizer "constifying" many function calls which will never get

[PHP-DEV] Can't compile php7 on OpenSuse 13.2

2015-10-24 Thread Andrew Kluev
In branches: master, PHP-7.0, tags/php7.0.0RC5, tags/php-7.0.0RC4 i got error /bin/sh /home/andrew/Programs/php7/libtool --silent --preserve-dup-deps --mode=compile /home/andrew/Programs/php7/meta_ccld -Iext/hash/ -I/home/andrew/Programs/php7/ext/hash/ -DPHP_ATOM_INC -I/home/andrew/Programs/php7

[PHP-DEV] Re: Can't compile php7 on OpenSuse 13.2

2015-10-25 Thread Andrew Kluev
UPD after pull of origin master i've got a ne you error Zend/.libs/zend_language_parser.o: In function `zendparse': /home/andrew/Programs/php7/Zend/zend_language_parser.y:703: undefined reference to `zend_ast_append_doc_comment' collect2: error: ld returned 1 exit status 2015-10

Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal

2016-03-08 Thread Andrew Brown
5.2 ... so adding even more warnings is not helping improve > PHP ... > > -- > Lester Caine - G8HFL > - > Contact - http://lsces.co.uk/wiki/?page=contact > L.S.Caine Electronic Services - http://lsces.co.uk > EnquirySolve - http://enquirysolve.com/ > Model Engineers Digital Workshop - http://medw.co.uk > Rainbow Digital Media - http://rainbowdigitalmedia.co.uk > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Andrew M. Brown

Re: [PHP-DEV] [RFC Proposal] var keyword deprecation/removal

2016-03-10 Thread Andrew Brown
to a vote, and accept whatever happens. -- Andrew Brown

[PHP-DEV] Merging new hash algorithm (crc32c) into PHP 7.3 and maybe 7.2?

2019-03-05 Thread Andrew Brampton
into 7.3 and maybe 7.2. This email is to get approval for which versions it can be merged into. thanks Andrew

[PHP-DEV] Re: Merging new hash algorithm (crc32c) into PHP 7.3 and maybe 7.2?

2019-03-10 Thread Andrew Brampton
Hey PHP Team, bump. Would I be able to get this small, and self contained change included into 7.3 and/or 7.4? thanks Andrew On Tue, 5 Mar 2019 at 08:01, Andrew Brampton wrote: > Hi, > > I've recently sent a pull request > <https://github.com/php/php-src/pull/3913>

Re: [PHP-DEV] Re: Merging new hash algorithm (crc32c) into PHP 7.3 and maybe 7.2?

2019-03-11 Thread Andrew Brampton
Ok thanks everyone. Merging into master it is. Thanks Andrew On Mon, 11 Mar 2019, 12:33 am Sebastian Bergmann, wrote: > Am 10.03.2019 um 21:12 schrieb Gabriel Caruso: > > As both PHP 7.2 and 7.3 has been out for a while, -1 on this one. > > Same here; no new functionality sho

[PHP-DEV] [RFC][VOTE] Deprecate curly brace syntax for accessing array elements and string offsets

2019-07-03 Thread Andrew Gromov
Hello Internals, I just started the vote on https://wiki.php.net/rfc/deprecate_curly_braces_array_accessand I will close it in two weeks from now (10.06.2019). Thanks in advance to all who paid attention to the vote. Best regards, Andrey.

[PHP-DEV] Re: [RFC][VOTE] Deprecate curly brace syntax for accessing array elements and string offsets

2019-07-03 Thread Andrew Gromov
Two weeks from now would be 17/07/2019. Also the voting period on the RFC lists June (06) as the start and end month for voting instead of July (07) Yep. Thanks. Stupid typo. Is corrected.

Re: [PHP-DEV] [RFC][VOTE] Deprecate curly brace syntax for accessing array elements and string offsets

2019-07-05 Thread Andrew Gromov
> > > Thanks for taking the time to push forward this RFC. > > > > > > I found the earlier discussion at https://externals.io/message/104744, > > > which I hadn't seen. Like others, I would have chosen to keep {} for > > > string offsets to make it clearer, though I have not used {} in my >

[PHP-DEV] Re: [VOTE] Voting opens for str_starts_with and ends_with functions

2019-07-08 Thread Andrew Gromov
For those voting against adding these functions, can you clarify why? Do you dislike how they are named, or do you not see the need for the case insensitive versions, or is there an issue with the implementation? I believe that star_with/end_with is useful, but not in this form. The standard li

[PHP-DEV] Re: Re: [VOTE] Voting opens for str_starts_with and ends_with functions

2019-07-08 Thread Andrew Gromov
Please don't switch behaviours via flags: separate names and implementations are much clearer and much simpler to follow. Yes, you will have multiple variations, but that's fine. It is depends of preferences. In my opinion, create new function for every possible situation is more worse then u

Re: [PHP-DEV] [RFC] Static return type

2020-01-09 Thread Andrew Johnstone
Sent from my iPhone > On 9 Jan 2020, at 15:06, Rowan Tommins wrote: > > On Thu, 9 Jan 2020 at 14:23, Andreas Hennings wrote: > >>> However, $this is not a real type, and it is unclear what the advantage >> of specifying $this rather than static would be from a type system level >> perspect

[PHP-DEV] Feature Proposal

2021-01-14 Thread Andrew Brown
tly have to do things. We have to explicitly pass `true` in as the second parameter. However, in the second call, we now use the new `default` keyword, which will defer to the function signature for the default value of `$param2`. Thanks all, looking forward to some feedback! -- Andrew M. Brown

Re: [PHP-DEV] Feature Proposal

2021-01-14 Thread Andrew Brown
nt to > pass. > > While some time ago, this feature suggestion has been discussed before: > * https://externals.io/message/105123 > * https://externals.io/message/80201 > > (There were additional older threads I found via externals.io searches > for "default keyword&qu

[PHP-DEV] Fix for NumberFormatter did not work properly when restored from session

2017-03-31 Thread Andrew Nester
ow us to use wakeup-based unserialization without leaking additional (PHP-level) properties.” Thanks! Andrew Nester

[PHP-DEV] Re: Fix for NumberFormatter did not work properly when restored from session

2017-06-07 Thread Andrew Nester
Bump on this thread because I would like to hear some feedback. Thanks! > On Mar 31, 2017, at 10:55 PM, Andrew Nester wrote: > > > Hello everyone! > > I’ve been working on fix for following bug: > https://bugs.php.net/bug.php?id=74063 <https://bugs.php.net/bug.php?i

[PHP-DEV] [Bug] [Discussion] filter_var and reserved IP address range

2017-06-13 Thread Andrew Nester
Hello! Currently I am working on bug #74699 (Thanks brianlmoon for pointing this issue). Here is some details: In patch applied for bug #72972 IP address block 240.0.0.0/4 has been removed from list of reserved. But according to IP Multicast Address Specification: “The range of addresses betwee

[PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface

2017-07-27 Thread Andrew Nester
Hello! I’ve been working on request introduced here https://bugs.php.net/bug.php?id=74957 related to implementing new PDOInterface and PDOStatementInterfaces. At this point of time classes PDO and PDOStatement do not implement any interfaces that’s why co

Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface

2017-07-31 Thread Andrew Nester
Thanks! > On Jul 29, 2017, at 1:13 PM, Dan Ackroyd wrote: > > On 28 July 2017 at 07:40, Andrew Nester wrote: >> Hello! >> >> the only way to add some custom classes and behavior is to approach this is >> by subclassing PDO and PDOStatement. > > >

Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface

2017-07-31 Thread Andrew Nester
explains a bit how interfaces could help here. > On Jul 31, 2017, at 2:17 PM, Dan Ackroyd wrote: > > On 31 July 2017 at 08:21, Andrew Nester wrote: >> >> when we are using persistent PDO we can’t use PDO::ATTR_STATEMENT_CLASS and >> return our custom PDOStat

Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface

2017-07-31 Thread Andrew Nester
> On Jul 31, 2017, at 2:17 PM, Dan Ackroyd wrote: > > On 31 July 2017 at 08:21, Andrew Nester wrote: >> >> when we are using persistent PDO we can’t use PDO::ATTR_STATEMENT_CLASS and >> return our custom PDOStatement class >> >> But just implementing

Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface

2017-07-31 Thread Andrew Nester
> On Jul 31, 2017, at 2:59 PM, Dan Ackroyd wrote: > > On 31 July 2017 at 12:49, Andrew Nester wrote: >> >> To make it possible to have persistent PDO with custom PDOStatement you >> should have: >> >> 1) custom `CustomPDO implements PDOInterface`

Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface

2017-07-31 Thread Andrew Nester
> On Jul 31, 2017, at 5:54 PM, Johannes Schlüter wrote: > > On Mo, 2017-07-31 at 14:49 +0300, Andrew Nester wrote: >> That’s actually the thing that you can’t use >> PDO::ATTR_STATEMENT_CLASS with persistent PDO. > > The actually question is: Why not? - From a quick

Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface

2017-08-03 Thread Andrew Nester
> On Jul 31, 2017, at 6:33 PM, Johannes Schlüter wrote: > > (off-list as this is distracting the discussion) > > On Mo, 2017-07-31 at 18:00 +0300, Andrew Nester wrote: >> >>> On Jul 31, 2017, at 5:54 PM, Johannes Schlüter >> .de> wrote: >>> >

[PHP-DEV] Re: [Bug] [Discussion] filter_var and reserved IP address range

2017-08-03 Thread Andrew Nester
> On Jun 13, 2017, at 6:03 PM, Andrew Nester wrote: > > Hello! > Currently I am working on bug #74699 (Thanks brianlmoon for pointing this > issue). > > Here is some details: > In patch applied for bug #72972 IP address block 240.0.0.0/4 has been removed > from

Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface

2017-08-06 Thread Andrew Nester
> 6 авг. 2017 г., в 16:30, Dan Ackroyd написал(а): > > Andrew Nester wrote: >> I am thinking about writing an RFC for this and continue discussion there. >> Will it be a good idea? > > You're apparently not very good at listening to suggestions, so I'll

[PHP-DEV] [Request][Discussion] Double value as array key improvement

2017-08-11 Thread Andrew Nester
Hello everyone! I was working on following request https://bugs.php.net/bug.php?id=75053 which resulted in following pull request https://github.com/php/php-src/pull/2676 The problem here is following: when we’r

[PHP-DEV] Re: [Request][Discussion] Double value as array key improvement

2017-08-11 Thread Andrew Nester
> On Aug 11, 2017, at 2:10 PM, Andrew Nester wrote: > > Hello everyone! > > I was working on following request https://bugs.php.net/bug.php?id=75053 > <https://bugs.php.net/bug.php?id=75053> which resulted in following pull > request https://github.com/php/

Re: [PHP-DEV] Re: [Bug] [Discussion] filter_var and reserved IP address range

2017-08-13 Thread Andrew Nester
> 13 авг. 2017 г., в 18:46, Dan Ackroyd написал(а): > >> On 3 August 2017 at 18:08, Andrew Nester wrote: >> >>> On Jun 13, 2017, at 6:03 PM, Andrew Nester wrote: >>> >>> Hello! >>> Currently I am working on bug #74699 (Thanks brianlmoo

[PHP-DEV] Re: [Request][Discussion] Double value as array key improvement

2017-08-13 Thread Andrew Nester
> 11 авг. 2017 г., в 15:53, Andrew Nester написал(а): > > >> On Aug 11, 2017, at 2:10 PM, Andrew Nester wrote: >> >> Hello everyone! >> >> I was working on following request https://bugs.php.net/bug.php?id=75053 >> which resulted in followin

[PHP-DEV] Re: [Request][Discussion] Double value as array key improvement

2017-08-13 Thread Andrew Nester
> 11 авг. 2017 г., в 15:53, Andrew Nester написал(а): > > >> On Aug 11, 2017, at 2:10 PM, Andrew Nester wrote: >> >> Hello everyone! >> >> I was working on following request https://bugs.php.net/bug.php?id=75053 >> which resulted in followin

[PHP-DEV] Re: [Request][Discussion] Double value as array key improvement

2017-08-17 Thread Andrew Nester
> 13 авг. 2017 г., в 21:39, Andrew Nester > написал(а): > > > >> 11 авг. 2017 г., в 15:53, Andrew Nester написал(а): >> >> >>> On Aug 11, 2017, at 2:10 PM, Andrew Nester wrote: >>> >>> Hello everyone! >>> >>

Re: [PHP-DEV] Re: [Request][Discussion] Double value as array key improvement

2017-08-22 Thread Andrew Nester
> On Aug 19, 2017, at 4:30 PM, Nikita Popov wrote: > > On Thu, Aug 17, 2017 at 5:03 PM, Andrew Nester <mailto:andrew.nester@gmail.com>> wrote: > > > > 13 авг. 2017 г., в 21:39, Andrew Nester > <mailto:andrew.nester@gmail.com>> написал(а):

[PHP-DEV] Re: Pre proposal for "Class extension functions"

2018-09-24 Thread Andrew Gromov
I’m thinking a lot about potential problems. Some of them you voiced, but not all. My message was a question of whether the topic was interesting and whether it should be formatted as RFC. Bring a little Javascript into PHP? In fact, I looked at Kotlin :) (https://kotlinlang.org/docs/referen

[PHP-DEV] GIF create support for bundled GD

2004-05-20 Thread Andrew Sitnikov
Hello , I've got a patch (originally ported from old version GD) which adds GIF write support to bundled libGD. Is there any chance to accept it to core ? I've been testing it for quite long time with 4_3 and HEAD and it works ok for me. -- Best regards, Andrew

Re[2]: [PHP-DEV] GIF create support for bundled GD

2004-05-20 Thread Andrew Sitnikov
the counterpart patents in the United Kingdom, France, Germany and Italy expire June 18, 2004, and the Japanese counterpart patents expire June 20, 2004. -- Best regards, Andrewmailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscr

[PHP-DEV] Re: finally again

2003-10-26 Thread Andrew Smith
ow/return statement and at the end of the try/catch statement justify the need of "finally". Agreed. You pointed out an example that really needs finally. If there is another aproach without "finally" and without code redundancy, I really need it. I can't think of another solution right now. But if I figure out something I'll let you know. Best Regards, Andrew Smith, Dr. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Beta 3 RC 1

2003-12-22 Thread Andrew Johnstone
PHP 5.0 Beta 3 rc 1 new Reflection_Method('','') causes apache2 on windows to crash szAppName : Apache.exe szAppVer : 2.0.48.0 szModName : php4ts.dll szModVer : 5.0.0.0 offset : 000c351b

[PHP-DEV] CVS Account Request: asnagy

2004-03-16 Thread Andrew Nagy
I will be adding a package to the pear library. I am requesting access to the pear module in CVS -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] reload() in Python, Possible in PHP?

2004-03-28 Thread Andrew Heebner
AFAIK, Python supports the reload() method, which lets you dynamically control includes while a script is running. In PHP, even workarounds are tough to create reloadable modules for scripts, so, what other means are there to reload includes, and redeclare functions? Thank you, Andrew Heebner

[PHP-DEV] Introduction - Andrew Lyons

2025-04-01 Thread Andrew Lyons
fault value for zend.exception_ignore_args to a safer default. My wiki username is andrewlyons Best wishes, Andrew Lyons

[PHP-DEV] [RFC] [Discussion] Change default for zend.exception_ignore_args INI setting

2025-04-08 Thread Andrew Lyons
races. * RFC: https://wiki.php.net/rfc/exception_ignore_args_default_value * Implementation: https://github.com/php/php-src/pull/18215 Best wishes, Andrew

Re: [PHP-DEV] [RFC] [Discussion] Change default for zend.exception_ignore_args INI setting

2025-04-10 Thread Andrew Lyons
On Thu, 10 Apr 2025 at 23:20, Tim Düsterhus wrote: > As I had said on GitHub before, but to put it onto the list for > visibility: > > I'd rather see the value in `php.ini-production` being changed to `Off` > to match the built-in default. see > https://github.com/php/php-src/pull/18215#issuecomme

Re: [PHP-DEV] [RFC] [Discussion] Change default for zend.exception_ignore_args INI setting

2025-04-10 Thread Andrew Lyons
> > Full agreement with Tim here - make PHP friendly to development. Generally I do agree with this sentiment. Languages should be developer-friendly, but not at the expense of safety. Developers are able to configure an INI setting in multiple ways including modifying an ini file, using the `ini

Re: [PHP-DEV] [RFC] [Discussion] Change default for zend.exception_ignore_args INI setting

2025-04-10 Thread Andrew Lyons
> I can't find any information on why this setting was introduced. No, I couldn't find anything either. I did try to investigate and all I could find was that it was introduced by Joe Watkins in 0819e6dc9b4788e5d44b64f8e606a56c969a1588 in 2019 but I haven't been able to find any history of RFC or

[PHP-DEV] using classes/objects in extensions

2007-11-12 Thread Andrew O. Shadoura
Hello. Can anybody suggest me any docs/tutorials on writing php extensions using Zend API those can work with classes/objects, i.e. declare some classes, create instances of others etc. Thanks. -- WBR, Andrew -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

[PHP-DEV] PHP 5.0.0 Release

2004-05-07 Thread Andrew M. Johnstone
5.0.0 Release Candidate 2 Are we expecting another Release Candidate, as I am predicting that it should hopefully, arrive in June/July. Anyway, I would appreciate if you could give me a speculative date that I could work from, thanks. Andrew Johnstone www.ajohnstone.com -- PHP Internals - PHP

Re: [PHP-DEV] im convert php-screw to windows dll

2004-12-15 Thread Andrew van Dyk
get it to work properly yet.. http://freshmeat.net/projects/phpscrew/ - Original Message - From: "Wez Furlong" <[EMAIL PROTECTED]> To: "Andrew" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 14, 2004 17:1

[PHP-DEV] File access fails in external lib called from extension

2006-02-20 Thread Andrew Mather (BT Std)
++ extension however, the class is usable, but the file io fails. Is this a permissioning issue? (Apache/Php not allowing calls to disk access?) Or am I missing something? Should a C/C++ extension still be able to access system/file IO? Cheers, Andrew -- PHP Internals - PHP Runtime Development

[PHP-DEV] Private data requiring custom object creation error

2006-03-04 Thread Andrew Mather (BT Std)
at /src/php-5.1.1/Zend/zend_object_handlers.c:884 884 zend_function *constructor = zobj->ce->constructor; If constructor was simply null, would not be an issue. Suggests either the object or object ce are inappropriate. Any thoughts? Cheers, Andrew. -- PHP Internals - PH

[PHP-DEV] RESOLVED: Private data in C/C++ generated classes - example

2006-03-05 Thread Andrew Mather (BT Std)
at: http://somabo.de/php/ext/util/ Simple test script below // written by Andrew Mather - ie: not an authorised test! // (Does work however - I leave it to you to change the target dir) $path = "/home/andrew"; $u = new dirs($path); $upath = $u->getPath

[PHP-DEV] Separating C++ zend object creation code from module code

2006-03-11 Thread Andrew Mather (BT Std)
x27; function is unavailable. (latter output below) Perhaps someone would be kind enough to clarify the syntax appropriate for this call between modules/.o files. Cheers, Andrew. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] RESOLVED: Separating C++ zend object creation code from module code

2006-03-12 Thread Andrew Mather (BT Std)
Courtesy of Sara Golemon and a helpful tutorial on the impact of the 'static' keyword in function declaration. Greatly appreciated. Andrew. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Passing a C++ Class Member Function to the (*create_object) in zend_class_entry

2006-03-14 Thread Andrew Mather (BT Std)
Is it possible to pass a C++ member function to the create_object member in zend_class_entry ? This would allow a factory-like generator of zend/c++ object pairs. error: argument of type ` zend_object_value (MyClassFactory::)(zend_class_entry*, void***)' does not match `zend_object_value

[PHP-DEV] Contamination by file include in zend_register_functions

2006-03-22 Thread Andrew Mather (BT Std)
l now. Could this be the 'NULL function referred to below? If anyone has come across a similar phenomenon, or can shed light on the matter, I'd be most grateful. Cheers, Andrew Mather. - backtrace from gdb - PHP Warning: PhpClassFactory::SelfRegister(...) in Unknown on

[PHP-DEV] Streams and Threads under Php

2006-06-25 Thread Andrew Mather (BT Std)
model? Cheers, Andrew. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] OWASP Spring of Code 2007 - tentative call for PHP security proposals

2007-01-24 Thread Andrew van der Stock
funded / complexity of effort. This is your chance to get your favorite PHP security project matured / finished! Andrew van der Stock Executive Director, OWASP -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4