Re: [PHP-DEV] OpenSSL ext. improvements for authenticated cipher modes.

2015-02-02 Thread Jason Gerfen
On Mon, Feb 2, 2015 at 3:58 AM, Leigh wrote: > On 2 February 2015 at 10:57, Leigh wrote: > > length (not sure how of > > Not sure how often tag lengths aside from 16 are used. > ​ According to documentation provided about the OCB mode of AES it says the following: Section 3: The scheme > The

Re: [PHP-DEV] OpenSSL ext. improvements for authenticated cipher modes.

2015-01-31 Thread Jason Gerfen
On Sat, Jan 31, 2015 at 8:53 AM, Leigh wrote: > Hi list, > > A couple of bug reports have highlighted the fact that our > openssl_encrypt and openssl_decrupt functions have no way of getting > or setting tags required for authenticated cipher modes (i.e. GCM, > CCM, OCB (not sure if this is avail

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: Address feature request #38917 for native SPKAC (HTML5 keygen element) support: ext/openssl/openssl.c ext/openssl/php_openssl.h ext/openssl/tests/openssl_spki_

2013-05-21 Thread Jason Gerfen
HP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Jason Gerfen http://www.github.com/jas- <http://phpdhcpadmin.sourceforge.net>

[PHP-DEV] VCS Account Request: jas

2013-05-01 Thread Jason Gerfen
pierrejoye -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Account request

2013-05-01 Thread Jason Gerfen
Pierre Joye suggested that I request an account to help maintain the OpenSSL extension as per our discussion on pull request #267. -- Jas

[PHP-DEV] Pull request status

2013-04-30 Thread Jason Gerfen
Hello, I realize testing and bug fixes are taking place for the latest beta release, so I apologize in advance if everyone is fairly busy. I was just checking on the status of pull request #267 ( https://github.com/php/php-src/pull/267) addressing bug report #38917 ( https://bugs.php.net/bug.php?i

Re: [PHP-DEV] Status of pull request

2013-02-13 Thread Jason Gerfen
Thanks! It simply implements native support for creating, parsing & exporting details of SPKAC strings sent from browsers using the HTML5 KeyGen element (even though the element has been around since Netscape 1 or 2). On Wed, Feb 13, 2013 at 10:34 AM, Lars Strojny wrote: > Hi Jason, >

[PHP-DEV] Status of pull request

2013-02-13 Thread Jason Gerfen
Is it considered spamming the list to check the status of a pull request? I am going to ask any ways, hope it doesn't offend. The pull request addresses bug fix/feature request #38917 implementing native signed public key & challenge support to the OpenSSL extension. Details can be found @ https:/

[PHP-DEV] Policy on removal of push?

2013-01-29 Thread Jason Gerfen
Is there a procedure to take regarding removal of a push to the github repo or do you simply close it. I would like to re-submit a push request against the 5.5 branch while removing the old push request. Also can I obtain some information on the current state of new function extending regarding ac

[PHP-DEV] Should "apc.slam_defence" and "apc.write_lock" be turned on at the same time?

2012-10-21 Thread Jason Gu
Hi Internals I wondering if "apc.slam_defence" and "apc.write_lock" should be turned on at the same time? The default for APC v3.1.13 have both settings turned on. But the documentation says "apc.slam_defence is Deprecated by apc.write_lock." http://www.php.net/manual/en/apc.configuration.

[PHP-DEV] Push Request #21

2012-04-03 Thread Jason Gerfen
Please bear with me as I am going to address a few things that (being new) I seem to have over looked upon my initial pull request @ https://github.com/php/php-src/pull/21. I have forked and submitted a push request to add native spkac functionality per a feature request @ https://bugs.php.net/bug

Re: [PHP-DEV] Patch inclusions

2012-01-24 Thread Jason Gerfen
On Tue, Jan 24, 2012 at 1:48 PM, Christopher Jones wrote: > > > On 01/24/2012 03:36 AM, Jason Gerfen wrote: >> >> I just have a general question regarding patch inclusions. When a >> patch is submitted is there a formal review and testing of the patch >> prior to

[PHP-DEV] Patch inclusions

2012-01-24 Thread Jason Gerfen
I just have a general question regarding patch inclusions. When a patch is submitted is there a formal review and testing of the patch prior to inclusion? From what I have been following from this list is that the process is patches get applied to new/existing bug/feature requests, bug fixes are pr

[PHP-DEV] Patch for OpenSSL extension to implement SPKAC functions

2011-12-13 Thread Jason Gerfen
) openssl_spki_details(mixed pkey) Attached is the patch (tested against php-5.3.8 & openssl-1.0.0e) as well as a cli test case and module test case. -- Jason <> <> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Patch to implement SPKAC/SPKI support within OpenSSL extension

2011-12-06 Thread Jason Gerfen
Over the weekend I went ahead and created a patch to implement support for SPKAC keys for the old/new KEYGEN element within the HTML5 spec. According to feature requests at bugs.php.net I came accross this existing request: https://bugs.php.net/bug.php?id=38917 I have filed a patch under this feat

[PHP-DEV] SVN Account Request: orange_ribbon

2011-07-06 Thread Jason M Galm
I would submit additions to the math functions already included. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CAPTCHA program on CVS account request?

2007-06-18 Thread Jason Sweat
allenge any spammer to try cracking it! Love, Hannes http://www.php.net/cvs-php.php Looks like somebody forgot the "I want an @php.net email address" in the list of reasons why they are requesting an account ;) Regards, Jason http://blog.casey-sweat.us/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: jazzadaman6969

2006-12-12 Thread jason koch
im not even sure wtf a PECL is but i have some errors so i try this -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Method inheritance and parent classes

2006-08-04 Thread Jason Sweat
on2/dp/templateMethod.html -- Regards, Jason http://blog.casey-sweat.us/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Date flamewar summary

2006-07-19 Thread Jason Sweat
On 7/19/06, Alan Knowles <[EMAIL PROTECTED]> wrote: +1 for adding the namespace patch in :) - oh well I can always dream... Regards Alan +1 dreamer ( and +1 annoying de-lurker voting because he thinks it is american idol ;) Regards, Jason http://blog.casey-sweat.us/ -- PHP Internals

[PHP-DEV] PHP Cookie Class

2006-06-14 Thread Jason Boudreault
So, I found myself wondering today why PHP has no built in way to treat cookies as objects. Why? I've already written my own class, but, we should implement this! $cookie = new Cookie(); if (!isset($cookie->username)) { $cookie->username = "george"; $cookie->save(); } ^^ is nice, I wa

Re: [PHP-DEV] private, protected, readonly, public

2006-05-17 Thread Jason Garber
Hello Hannes, Nothing is wrong, I presume. Ignorance on my part. Thanks. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Wednesday, May 17, 2006, 7:50:47 AM, you wrote: HM> Hi Jason >> I've put together a simple test framework and a 18 te

Re: [PHP-DEV] private, protected, readonly, public

2006-05-16 Thread Jason Garber
need to add tests to check out the new readable patch. -- View the tests online: http://open.izrm.com/~jason/php-readable -- Download a .tgz - just unpack it and it's ready to go: http://open.izrm.com/~jason/download/php-readable.tgz -- Get it with SVN: svn checkout svn:

Re: [PHP-DEV] private, protected, readonly, public

2006-05-16 Thread Jason Garber
not everyone does the same things with PHP that you do - you apparently haven't run into the need for it. That's okay, but others have. -- Best regards, Jasonmailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

Re: [PHP-DEV] private, protected, readonly, public

2006-05-16 Thread Jason Garber
lease clarify. Thanks! -- Best regards, Jasonmailto:[EMAIL PROTECTED] Tuesday, May 16, 2006, 5:49:45 PM, you wrote: MB> Hello Andi, MB> nothing else needs to be fixed. The patch considers a reference as a write MB> operation as well as anything els

Re: [PHP-DEV] private, protected, readonly, public

2006-05-16 Thread Jason Garber
do to help us find this stuff out? -- Best regards, Jasonmailto:[EMAIL PROTECTED] Tuesday, May 16, 2006, 5:41:31 PM, you wrote: AG> Where would readable be enforced? Would it try and prevent getting AG> references to it? Are there any internal functions/cl

Re: [PHP-DEV] private, protected, readonly, public

2006-05-15 Thread Jason Garber
ly be used where __get(), __set() used to be used - it won't confuse the end users who do not care about it. (get/set is a lot more complex). Thanks! -- Best regards, Jasonmailto:[EMAIL PROTECTED] Monday, May 15, 2006, 2:15:50 PM, you wrote: ZS> I h

Re: [PHP-DEV] private, protected, readonly, public

2006-05-13 Thread Jason Garber
. How difficult would it be to build this into the PHP engine? -- Best regards, Jasonmailto:[EMAIL PROTECTED] Saturday, May 13, 2006, 5:27:34 AM, you wrote: MB> Hello Etienne, MB> Friday, May 12, 2006, 2:11:38 PM, you wrote: >> Hi, >> my 2c:

Re: [PHP-DEV] private, protected, readonly, public

2006-05-12 Thread Jason Garber
. I'm not talking about adding hundreds of new features, or turning PHP into the next java. It's about real business cases. It's not about what YOU WOULD NOT use, it's about what a lot of people need. -- Best regards, Jason Garber mailto:[EMAIL

[PHP-DEV] private, protected, readonly, public

2006-05-11 Thread Jason Garber
Best regards, Jason Garber mailto:[EMAIL PROTECTED] IonZoft, Inc. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Passing functions to function by reference

2006-04-26 Thread Jason Garber
x27;default') would go a long way to accommodate E_STRICT code. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Wednesday, April 26, 2006, 6:41:26 PM, you wrote: RL> Brian Moon wrote: >> In PHP4, you could do: >> >> function test() >>

Re: [PHP-DEV] Re: Adieu register_globals

2006-03-06 Thread Jason Garber
Hello Zeev, I'd be happy to do this. Do you want this placed in a function or just sample code to post somewhere? -- Best regards, Jasonmailto:[EMAIL PROTECTED] Monday, March 6, 2006, 6:38:34 PM, you wrote: ZS> A part of the decision was to supply

Re: [PHP-DEV] Re: Named arguments revisited

2006-01-12 Thread Jason Garber
Hello Andi, I think the "sexy" syntax is a significant plus, even if associative arrays were used in the implementation. Is it a complex thing to implement? -- Best regards, Jasonmailto:[EMAIL PROTECTED] Thursday, January 12, 2006, 6:44:59 PM, you

Re: [PHP-DEV] Re: Named arguments revisited

2006-01-12 Thread Jason Garber
Hello Jared, JW> PHP is all about using a simple means to an end and getting the job JW> done. Named parameters makes coding easier, not harder. Well stated. -- Best regards, Jasonmailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailin

Re: [PHP-DEV] Re: Named arguments revisited

2006-01-11 Thread Jason Garber
SOME DEFAULT VALUE; is_null($needle) && $text = SOME DEFAULT VALUE; is_null($strip_links) && $text = SOME DEFAULT VALUE; ... } In that way, the user doesn't have to remember the default values, just the offsets. Best wishes with

Re: [PHP-DEV] why is '01' == '1.'?

2005-12-15 Thread Jason Sweat
s, but this can be dangerous. phpDocumentor, for instance > uses this code: > > if (in_array(substr($ltrimword, 0, 2), array('1.', '0.'))) Perhaps if (preg_match('/^[10]\./',$ltrimword)) would be both more concise and express your intent better? Regards,

Re: [PHP-DEV]

2005-11-30 Thread Jason Garber
Hello Mike, Same at my company. mailto:[EMAIL PROTECTED] Wednesday, November 30, 2005, 4:31:58 AM, you wrote: MH> Just FYI, the lack of tags on all development projects at my company. MH> Mike MH> On Mon, 28 Nov 2005 20:29:42 +0100 MH> Marcus Boerger <[EMAIL PROTECTED]> wrote: >> Hello

Re: [PHP-DEV] Re: Basic Namespace Requirements

2005-11-28 Thread Jason Garber
and the benefit of being able to use "::". Please take a moment to explain, because I am an avid user, not a tokenizer :) -- Best regards, Jasonmailto:[EMAIL PROTECTED] Monday, November 28, 2005, 5:25:41 PM, you wrote: >> So, the question

Re: [PHP-DEV] Something (was: Re: [PHP-DEV] Re: Labeled Breaks (not the G-word))

2005-11-28 Thread Jason Garber
methodology of adding many features, but not sacrificing speed, stability, or security. Thanks. PS: This whole issue strangely reminds me of http://slashdot.org/articles/04/01/08/0111228.shtml?tid=152&tid=185 -- Best regards, Jasonmailto:[EMAIL PROTECTE

Re: [PHP-DEV] Re: namespace separator poll, update

2005-11-27 Thread Jason Sweat
he separator, after all namespace class->method() looks great in an email, why not in code? ;) Regards, Jason http://blog.casey-sweat.us/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] namespace separator ideas

2005-11-26 Thread Jason Garber
Hello, I as a userland library author, would appreciate namespaces quite a bit. Here is an idea: namespace1..class() $x = new MyApp..MemberOrder(); -- Best regards, Jasonmailto:[EMAIL PROTECTED] Saturday, November 26, 2005, 3:52:35 PM, you wrote: GB

[PHP-DEV] PHP Macros

2005-11-15 Thread Jason Garber
of one, it will do a little token-replacing before compiling it... Is it technically doable? Thanks guys. -- Best regards, Jason Garber mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] $ref =& $this;

2005-10-03 Thread Jason Sweat
ch are no longer compatable with PHP5. Regards, Jason http://blog.casey-sweat.us/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] unable to create class from constant

2005-09-19 Thread Jason Sweat
ould have to first be thought of as the class name, but if that does not exist, php is not then checking to see if it is actually a defined constant. My questions was basically is this a performance issue or just an undesired behavior for some other reason? Regards, Jason http://blog.casey-swea

[PHP-DEV] unable to create class from constant

2005-09-19 Thread Jason Sweat
ions exhibit the same behavior. Clearly there is an easy work around: $ php -r 'define("X", "stdClass"); $y = X; $x = new $y; var_dump($x);' object(stdClass)(0) { } But I was wondering if anyone could enlighten me as to why php would be upset interpreting th

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-14 Thread Jason Sweat
ication" object which was basically identical to this concept. I seem to recall using it for configuration kinds of thing (db connections, etc). I have resorted to caching for similar needs in PHP, I think $_GLOBAL_SESSION would be welcome addition, perhaps even allowing for customs session handler

Re: [PHP-DEV] Re: SOAP SSL support doesn't work when allow_url_fopen is turned off

2005-07-28 Thread Jason Sweat
unctions (eval, echo).. that would cause other problems (like a > disabled "return"), though. > > S I think Zeev's earlier comment about "If their aim is that good, they deserve to be shot in the foot" applies equally well to "disabled "return" "

Re: [PHP-DEV] Is it possible to add changes to 4.x version?

2005-06-21 Thread Jason Sweat
o Ilia could hand the release coordinator job off to you ;) Regards, Jason http://blog.casey-sweat.us/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] In regards to E_STRICT and PHP5

2005-06-16 Thread Jason Garber
Hello Rasmus, Thanks. I guess I did not realize that because all of my application logic is included after I set error_reporting() Thanks for pointing this out. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Thursday, June 16, 2005, 4:32:11 PM, you wrote

Re: [PHP-DEV] In regards to E_STRICT and PHP5

2005-06-16 Thread Jason Garber
- Best regards, Jasonmailto:[EMAIL PROTECTED] Thursday, June 16, 2005, 3:09:43 PM, you wrote: b> --- George Schlossnagle <[EMAIL PROTECTED]> wrote: >> On Jun 16, 2005, at 2:50 PM, boots wrote: >> > --- Andi Gutmans <[EMAIL PROTECTED]&

Re: [PHP-DEV] PHP 5.1

2005-06-13 Thread Jason Garber
ct that will speed up PHP, produce cleaner code, and encourage the adoption of E_ALL error reporting. Thanks. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Monday, June 13, 2005, 8:23:17 PM, you wrote: NB> Rob, NB> I agree with you entirely. It

Re: [PHP-DEV] PHP 5.1

2005-06-07 Thread Jason Garber
problems or annoyances to PHP? All in all, I think if everyone stops being religious about goto, and logically evaluates it, we can quickly come to a conclusion. -- Best regards, Jasonmailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing L

Re: [PHP-DEV] PHP 5.1

2005-06-06 Thread Jason Garber
nt to get something like this: $value = (integer) (isset($myBigArray['SomeKey1']['SomeOtherKey']) ? $myBigArray['SomeKey1']['SomeOtherKey'] : 0); where $value = ifsetor($myBigArray['SomeKey1']['SomeOtherKey'], 0); is a bit clean

Re: [PHP-DEV] PHP 5.1

2005-06-06 Thread Jason Garber
rating to E_ALL | E_STRICT error reporting. If there was any way to accommodate this with userland PHP code, I would have already done it. However it is an engine level function that has to be added to the core of PHP. +ALot Thanks. -- Best regards, Jason

Re: [PHP-DEV] Re: new overloading feature?

2005-05-10 Thread Jason Sweat
cess it from within the class itself. > > Is there a way to reference constants from the same class (or dervived > class) in a friendlier way? Hi Markus, I often use self::SELF_EXPLAINING_CONSTANT_NUMBER_ONE when in context of a class method itself. HTH Regards, Jason http://blog.c

Re: [PHP-DEV] make new return a reference to existent object

2005-05-09 Thread Jason Garber
Hello, -1 New implies "new". Use a factory. Maybe we should add an old construct: $object = old MyClass(); Just kidding :) -- Best regards, Jasonmailto:[EMAIL PROTECTED] Monday, May 9, 2005, 10:30:56 AM, you wrote: LP> I would l

Re: [PHP-DEV] Re: make new return a reference to existent object

2005-05-09 Thread Jason Sweat
ispers "old" into the conversation and runs away It's not "old", it is an experienced object ;) Regards, Jason http://blog.casey-sweat.us/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: make new return a reference to existent object

2005-05-09 Thread Jason Barnett
Leonardo Pedretti wrote: I would like (for code cleanliness purposes) to make 'new' return a reference to an already created object under certain circumstances without using a factory, is it possible? Thanx "Under certain circumatances" ? ... If it's only under certain circumstances that you wan

[PHP-DEV] Re: Contributing

2005-04-01 Thread Jason Barnett
David Mytton wrote: > //Hi,// > // > //I am interested in contributing to PHP now that I have been using it > for 2 years or so. I was wondering how to get involved. I am not able to > help with the development of the language itself but I would be > interested in verifying bugs, writing documentat

[PHP-DEV] Re: pre-compiler for PHP

2005-03-28 Thread Jason Barnett
Your (long) message would be better asked on the php-general list so that poor slobs like me can answer it instead of taking up valuable developers' time. The short answers to your questions: - Smarty or something similar can handle "pre-compiling" (google for "PHP templating") - If your IDE doesn

Re: [PHP-DEV] extension naming

2005-03-24 Thread Jason Barnett
... >> The obvious problem is: >> What comes after "i"? ii? iii? iv? >> How transparent is this naming scheme to the user? Well if it's a simple Roman Numeral system like what I've just done then we wouldn't really have an issue (except that it assumes people know Roman Numerals). Not sure if t

Re: [PHP-DEV] pdo_pgsql

2005-03-22 Thread Jason Sweat
_$?$_$; Oracle has bound variables, but you can't use a bind variable for a table or field in the sql statement. Regards, Jason http://blog.casey-sweat.us/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Before March 1st aka PHP 5.1 beta

2005-02-17 Thread Jason Garber
Hello, Speaking of these matters, how about implementing functions within interfaces? -- Best regards, Jasonmailto:[EMAIL PROTECTED] Thursday, February 17, 2005, 5:46:08 PM, you wrote: RK> Okay, I'll accept the "no" of course, but I am cur

Re: [PHP-DEV] Before March 1st aka PHP 5.1 beta

2005-02-17 Thread Jason Garber
x = isset($somearray[$foo][$bar]) ? $somearray[$foo][$bar] : 0; -- ifsetor()'s purpose is simple and clear: To return a variable value if it exists or a default value if it does not exist WITHOUT generating any error. Thanks. -- Best regards, Jasonmailto:[EM

Re: [PHP-DEV] PHP 5.1

2005-02-02 Thread Jason Garber
e used. I do not believe that input filtering should be built into ifsetor. Thanks. PS (The name, as long as it's fairly short, is not important to me at all) -- Best regards, Jasonmailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] referencing Superglobals with variable variables inside functions

2005-01-31 Thread Jason Sweat
for it to stay that way and i think > it wasn't intended by you, the developers, in the first place but turned > out to work that way afterwards. > So I really hope it'll change, would make much more sense. What do you > think? Try $_GET['foo'] = 'bar'; funct

Re: [PHP-DEV] bit of an odd bug

2005-01-04 Thread Jason Sweat
r($input); > of course works absolutly fine. > > Somebody just tell me that this isn't exactly expected behaviour and > it's a minor bug > > this is all on 5.0.3 btw. Hi Gareth, In addition to the other options people have mentioned, you could also use the old stan

[PHP-DEV] Isset question

2004-12-07 Thread Jason Garber
ariable that is set to NULL? Is there any way to tell if a variable isset and is_null without generating an error? It doesn't seem that this behavior is consistent with the meaning of isset(), or the errors that are generated when a variable is not set. Thanks. -- Best

Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] SimpleXML marked as EXPERIMENTAL

2004-12-02 Thread Jason Garber
Hello Rasmus, It seems that it should be marked as a depreciated feature IN PHP5, but not excremental in PHP4. This would let everyone know what the real deal is... -- Best regards, Jasonmailto:[EMAIL PROTECTED] Thursday, December 2, 2004, 12:04:41 PM, you

[PHP-DEV] debug_backtrace and static methods.

2004-11-14 Thread Jason Sweat
ts O->bt, but I think it should have been S::bt $o2 = new O; $o2->t(); Is this perhaps caused by confusion related to the scope resolution operator between the static call, and trying to resolve parent:: inheritance? Regards, Jason -- http://blog.casey-sweat.us/ -- PHP Internals - PHP Run

Re: [PHP-DEV] __get() "feature"

2004-11-11 Thread Jason Perkins
s = new $class( $this->id ); return $value; } } } and then running that same print code from above results in: 123 maple street being generated. Which is the test data that I have for the customer table associated with the sales_order with primary id of 1. Weird, huh? -- Jason N Perkins -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] __get() "feature"

2004-11-11 Thread Jason Perkins
_order = new sales_order; $sales_order->has_a( customer ); print $sales_order->customer->name; print $sales_order->customer->name; the fourth line works, because the customer object was instantiated during line three (line three still fails to return a value). Is this an issue wit

Re: [PHP-DEV] Re: isset() and the new VM

2004-11-02 Thread Jason Garber
>> isset($arr[0]['id']) used to return false if $arr[0] is undefined, but >> with the new VM it throws a warning. Doesn't sound right to me either... -- Best regards, Jasonmailto:[EMAIL PROTECTED] SG> I'd call it bugish, since p

[PHP-DEV] [PATCH][PHP_5_0] MSSQL Uniqueid formatting, etc...

2004-10-25 Thread Jason Borden
ginal author intended to do, since the current code doesn't do anything unless you add your own -D compile definition or change the code to work. This patch could probably also be applied to the 4.3 and 5.1 trees without modification, I haven't tried. Jason begin 666 mssql-uniqueid-pat

Re: [PHP-DEV] Type hints with null default values

2004-10-18 Thread Jason Garber
all for it if we have an option added to the function syntax such as nullable, but otherwise, it's usefulness is minimized. -- Best regards, Jasonmailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Bug #30230 exception handler not working with objects

2004-10-14 Thread Jason Garber
Hello Andi, reset_exception_handler() :) -- Best regards, Jasonmailto:[EMAIL PROTECTED] Tuesday, October 12, 2004, 5:40:34 PM, you wrote: AG> I see Marcus has already attempted to fix this even though the bug report AG> is still open. AG> Marcus, wha

[Fwd: Re: [PHP-DEV] Bug: Can't inherit abstract function]

2004-10-12 Thread Jason Farrell
lluded to, it is a *public* contract by its very definition. Cheers, Jason --- End Message --- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] switch() and default:

2004-10-08 Thread Jason Garber
Hello, Ergh. I also hope that it can easily be restored to work the way it did, even if that was undocumented. The thought of looking through ~ 5,000 php scripts before our upgrade is a bit overwhelming :) -- Best regards, Jasonmailto:[EMAIL PROTECTED

Re: [PHP-DEV] Small addition to Apache 1.3.x

2004-10-06 Thread Jason Garber
erver context (httpd.conf) and per-directory context (.htaccess) and can even generate query-string parts on result. The rewritten result can lead to internal sub-processing, external request redirection or even to an internal proxy throughput." Check it out. -- Best regar

Re: [PHP-DEV] CLI Constant

2004-09-30 Thread Jason Garber
Hello Marcus, Ok, Ok. I admit it. I made the POINT of reading the CLI manual page before posting this, but I just missed it. Sorry for the trouble, and, thanks for the help. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Thursday, September 30, 2004, 5

[PHP-DEV] CLI Constant

2004-09-30 Thread Jason Garber
7;CLI') or something like that to the language to facilitate this? -- Best regards, Jason Garber mailto:[EMAIL PROTECTED] IonZoft, Inc. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: declaring classes as static or final

2004-09-29 Thread Jason Farrell
s, Michael Please see: http://www.php.net/zend-engine-2.php This will explain all the new OOP features in PHP5 Regards, Jason

Re: [PHP-DEV] [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct())

2004-09-15 Thread Jason Garber
Hello Antony, Maybe this was assumed, but wouldn't this be a per-request flag, rather than a global flag? -- Best regards, Jasonmailto:[EMAIL PROTECTED] Tuesday, September 14, 2004, 10:18:29 AM, you wrote: AD> Sounds nice: we should not call destructo

Re: [PHP-DEV] unserialize() data from untrusted source

2004-09-06 Thread Jason Garber
ack a couple times, it can really mess with things, creating a much more complex scenario to deal with. As I said, over the years I've done both, and this is what I've settled on as the most practical. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Mond

Re: [PHP-DEV] unserialize() data from untrusted source

2004-09-05 Thread Jason Garber
r other comment on this. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Sunday, September 5, 2004, 11:29:53 AM, you wrote: HF> Hi All, HF> Have a situation where I want to unserialize a string received from an HF> untrusted source over HTTP (a Javascript c

Re: [PHP-DEV] [PATCH] #29416 - ob_include

2004-09-01 Thread Jason Garber
Hello Stuart, Patch didn't come through... -- Best regards, Jasonmailto:[EMAIL PROTECTED] Wednesday, September 1, 2004, 3:50:30 PM, you wrote: SD> Hi All, SD> This is my first attempt at submitting a patch so please be gentle :). SD> The featur

Re: [PHP-DEV] Learning from Python: PEPping the PHP Development Process

2004-08-27 Thread Jason Garber
Hello Zeev, Makes sense to me. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Friday, August 27, 2004, 3:26:25 AM, you wrote: ZS> I would like to get some feedback about my suggestion to move away from the ZS> simple 'experimental' status and

Re: [PHP-DEV] preg leak

2004-08-24 Thread Jason
Thanks for the feedback. A way to somehow limit the caching of expressions would be ideal, otherwise, the memory is lost forever with no way to reclaim it. I imagine a limited size cache which keeps only the most used expressions would be ideal. If anyone can tell me which source file has the

[PHP-DEV] preg leak

2004-08-24 Thread Jason
g.php?id=28513 This leaks 50MB per second on my PHP5.0.0,5.0.1. It is probably the similar bug reported in PHP4. If you have any suggestions, please let me know! Sincere regards, Jason. ___ Do you Yahoo!? Win 1 of 4,000 free domain names from Ya

Re: [PHP-DEV] Re: setcookie() and Max-Age

2004-08-19 Thread Jason Garber
tion. -- Best regards, Jasonmailto:[EMAIL PROTECTED] DC> bool SetCookie( string $name, [string $value], [array $options]) DC> The $options array is an associative array which can contain DC> any combination of the following elements: DC> Max

Re: [PHP-DEV] Method/Function chaining?

2004-08-14 Thread Jason Garber
Hello Dan, The answer that you are looking for can be found on the Zend site: http://www.zend.com/php5/articles/engine2-php5-changes.php#Heading13 -- Best regards, Jasonmailto:[EMAIL PROTECTED] Friday, August 13, 2004, 6:59:44 PM, you wrote: DO> Hello.

Re: [PHP-DEV] Modulo Function returns incorrect results

2004-08-05 Thread Jason Garber
division problem with remainders. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Thursday, August 5, 2004, 9:02:04 PM, you wrote: MB> Found some weird behavior in the built in mod function (%): MB> $a = 4; MB> $b = 3; MB> print ( $a % $b ); (r

Re: [PHP-DEV] Protected methods in interfaces

2004-08-05 Thread Jason Garber
Hello Marcus, Can abstract methods be protected? -- Best regards, Jasonmailto:[EMAIL PROTECTED] Thursday, August 5, 2004, 1:32:05 PM, you wrote: MB> Hello Ferdinand, MB> Thursday, August 5, 2004, 5:01:42 PM, you wrote: >> Trying to write a singlet

Re: [PHP-DEV] GOTO operator

2004-08-03 Thread Jason Garber
- Best regards, Jasonmailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Date Support

2004-08-02 Thread Jason Garber
onths to a date? how do you get the day of week for a given date? These are the types of functions that I am thinking of. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Monday, August 2, 2004, 10:40:45 PM, you wrote: GS> On Aug 2, 2004, at 10:36 PM, Jason

Re: [PHP-DEV] Date Support

2004-08-02 Thread Jason Garber
Hello Wez, I must be missing something... I went to the link and couldn't find any documentation. I downloaded it and all the .tgz contained were a couple of .php scripts? -- Best regards, Jasonmailto:[EMAIL PROTECTED] Monday, August 2, 2004, 10:41:09 PM

[PHP-DEV] Date Support

2004-08-02 Thread Jason Garber
3. If there is no good reason for not adding this set of functions to the PHP core, what would be the method of designing an acceptable set of functions? PHP is a feature packed language, but it's strange that this does not exist in the core. Thanks for your time. -- Best re

Re: [PHP-DEV] GOTO operator

2004-07-30 Thread Jason Garber
ofessional" functionality as well. Thanks for answering my question. -- Best regards, Jasonmailto:[EMAIL PROTECTED] Friday, July 30, 2004, 9:24:13 PM, you wrote: AG> At 09:19 PM 7/30/2004 -0400, Robert Cummings wrote: >>On Fri, 2004-07-30 at 21:16, Jason

Re: [PHP-DEV] GOTO operator

2004-07-30 Thread Jason Garber
Hello Andi, Sorry for being unclear on this, but what is the exact definition of an "execution block" in this context? Thanks! -- Best regards, Jasonmailto:[EMAIL PROTECTED] Friday, July 30, 2004, 9:08:09 PM, you wrote: AG> Hi Jason, AG>

Re: [PHP-DEV] GOTO operator

2004-07-30 Thread Jason Garber
gies to the very large and less experienced group of php users out there. Hey, I got a good idea... Let's just implement it and not put it in the manual. Then only the "privileged internals list members" will know about it!:) Just kidding. ~Jason -- PHP Internals - PHP Run

  1   2   >