Re: [PHP-DEV] Coercive STH - some real world tests and updated RFC

2015-02-27 Thread Brian Moon
This RFC trying to simpliy and cleanup the coercison rules, having two different conversion rules for NULL->scalar depending on userland or internal is counter-productive and bad. The behavior you describe as null being empty value is wide-spread in PHP userland code as well. I agree here with B

Re: [PHP-DEV] Method call overhead

2015-06-03 Thread Brian Moon
On 6/2/15 22:30 , Bishop Bettini wrote: Hi! I've measured the overhead for method calls in a variety of environments (Amazon, Travis, and 3v4l). The results are reliable and here's 3v4l . Some observations. First, as expected, direct calls are faster than static object

Re: [PHP-DEV] Core functions throwing exceptions in PHP7

2015-07-16 Thread Brian Moon
On 7/14/15 16:04 , Sammy Kaye Powers wrote: Hello lovely PHP nerds, There are two open PR's for PHP7 to modify the behavior of the CSPRNG's: https://github.com/php/php-src/pull/1397 (main discussion) https://github.com/php/php-src/pull/1398 Currently the random_*() functions will issue a warni

Re: [PHP-DEV] RFC: Removing PHP tags

2012-03-31 Thread Brian Moon
Well played Moriyoshi. Well played. Brian. http://brian.moonspot.net On 3/31/12 10:02 PM, Rasmus Lerdorf wrote: On Mar 31, 2012, at 7:45 PM, Moriyoshi Koizumi wrote: Ok, I'll try to fix that part. Thanks for the correction. No problem. Keeping the April 1st RFCs factually accurate is

Re: [PHP-DEV] [RFC] Generators

2012-08-12 Thread Brian Moon
Hi Nikita, I admit, I have ignored these threads as there was no RFC. So, some of this may have been covered. Do you have a good example usage other than a file? I don't find fopen/fgets/fclose all that complicated. What are the other valid use cases for such a thing? Also, not allowing re

Re: [PHP-DEV] [RFC] Generators

2012-08-12 Thread Brian Moon
On 8/12/12 5:33 PM, Levi Morrison wrote: On Sun, Aug 12, 2012 at 2:08 PM, Brian Moon wrote: Do you have a good example usage other than a file? I don't find fopen/fgets/fclose all that complicated. What are the other valid use cases for such a thing? One fabulous use case is creati

Re: [PHP-DEV] [RFC] Generators

2012-08-12 Thread Brian Moon
I don't consider this a very good example. That's fine. You are entitled to your opinion. However, you didn't have to figure out the 106 lines of code that is the Post-Order iterator. That was a NIGHTMARE and I'm still not 100% confident that it works as it is supposed to. The generator, on th

Re: [PHP-DEV] import/use last call

2007-10-22 Thread Brian Moon
about replacing 'import' keyword with 'use' keyword, which is already reserved. If 'use' is already reserved, it makes the most sense IMO. -- Brian Moon Senior Developer -- http://dealnews.com/ It's good to be cheap =) -- PHP I

[PHP-DEV] Re: PHP 5.2.5RC1 testing

2007-10-23 Thread Brian Moon
# ./php -v PHP 5.2.5RC1 (cli) (built: Oct 23 2007 10:22:16) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies mtest1 cli # ./php -a Interactive mode enabled array(1) { [1]=> int(-2147483648) } -- Brian Moon Senior

Re: [PHP-DEV] PDO performance

2007-11-15 Thread Brian Moon
) Just looking for some feedback. many thanks Andrew I have not done the benchmark recently, but here is what I found last year. It just depends on what is important to you. http://dealnews.com/developers/php-mysql.html -- Brian Moon Senior Developer -- http

Re: [PHP-DEV] Bring back call-time pass-by-reference

2007-11-17 Thread Brian Moon
y. I will bite. What can't you do? I can think of several really bad things that can happen. It can't be OOP cause objects are already always passed by reference. -- Brian Moon Senior Developer -- http://dealnews.com/ It's good to be cheap =) -- PH

Re: [PHP-DEV] Bring back call-time pass-by-reference

2007-11-18 Thread Brian Moon
tcher your references. Regards, NK So, you need to relabel this, "func_get_args() should allow arguments to be passed by reference". This has nothing to do with call time pass by reference IMO. -- Brian Moon Senior Developer -- http://dealnews.com/ It's go

Re: [PHP-DEV] RFC: Dropping Namespace

2007-12-04 Thread Brian Moon
my company's code would not conflict with some 3rd party software we use. -- Brian Moon Senior Developer -- http://dealnews.com/ It's good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Garbage collector patch

2007-12-05 Thread Brian Moon
ere I would want it most. Only in my cli apps do I run into having to trick the garbage collection into working in my favor. I usually end having my loop just call a function on each pass. That seems to help with memory use in PHP currently. -- Brian Moon Senior Deve

Re: [PHP-DEV] Fwd: [PHP] php with threaded MPM problem ?

2007-12-19 Thread Brian Moon
. As for changing the code, a patch that does not break anything would be the way to approach the list. It was probably done the way it is done for a reason. -- Brian Moon Senior Developer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP

Re: [PHP-DEV] RE: Optional scalar type hinting

2008-01-03 Thread Brian Moon
he real conversation. Type hinting is here. It is not going anywhere. Let's finish the job. -- Brian Moon Senior Developer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] type hinting

2008-01-04 Thread Brian Moon
ype hinting scalars. This will mean any scalar will pass as a string, but arrays and objects will not. -- Brian Moon Senior Developer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List T

[PHP-DEV] mysql.connect_timeout default

2008-01-07 Thread Brian Moon
cause this to be hit at 5 seconds? Other thoughts? -- Brian Moon Senior Developer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] date/timelib: use system timezone database

2008-01-09 Thread Brian Moon
solves this for application developers. -1000 -- Brian Moon Senior Developer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] U

2008-01-16 Thread Brian Moon
ould collide most often when I was toggling a setting via a link or form that is to be saved to a cookie. Hmm, I think I feel a blog post coming on. -- Brian Moon Senior Developer/Engineer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP

Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision

2008-02-08 Thread Brian Moon
ic_quotes_gpc() ) { So, I guess I am +1 -- Brian Moon Senior Developer/Engineer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Strict type hints (parameter and return value)

2008-04-17 Thread Brian Moon
f it was a string. -- Brian Moon Senior Developer/Engineer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Strict type hints (parameter and return value)

2008-04-17 Thread Brian Moon
I just did a grep on zend framework for is_int and there were tons of results. No offense to Zend, I love thos guys, but I don't think using Zend Framework as the gold standard for how people want to code in PHP is the right thing to do. -- Brian Moon Senior Developer/Eng

[PHP-DEV] Resending session cookies patch

2008-05-13 Thread Brian Moon
vor altering PS() inside that function. It does not currently check PS(send_cookie). It simply just fires off the Set-Cookie header. Thoughts? -- Brian Moon Senior Developer/Engineer -- When you care enough to spend the very least. http://dealnews.com/ --- php_sessi

Re: [PHP-DEV] Short syntax for array literals [...]

2008-05-22 Thread Brian Moon
fact that we'd have two ways. I'd prefer to support [] but I don't think it's a huge deal if we don't do it. It would make PHP a bit nicer :) Andi I almost typed it the other day not thinking. Been doing a lot of YUI and {} and [] are growing on me. +1 -- B

Re: [PHP-DEV] PHP6 new syntax use suggestion

2008-05-23 Thread Brian Moon
Lars Strojny wrote: a) write a proposal, b) write a patch for the Zend Engine, c) ask again. +1 on what Lars said. Not so much on the syntax. That just looks like a parse error to me. -- Brian Moon Senior Developer/Engineer -- When you care enough to spend the

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-28 Thread Brian Moon
version to the latest one, right? That makes it even more useless. Right, so the sooner the better. =) -- Brian Moon Senior Developer/Engineer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-28 Thread Brian Moon
. You can't Google "[]", and my guess is searching PHP.net for "[]" won't return anything useful either. Can you google for this: $var = 1; $var = "foo"; ? -- Brian Moon Senior Developer/Engineer -- When you care enough to spend t

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-29 Thread Brian Moon
have ever made it in. I find it useless and pointless. You can do all that with a few functions, IMO. But it was added to make all the Java refugees happy. -- Brian Moon ([EMAIL PROTECTED]) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] extensions status, to move to pecl or to drop

2008-06-12 Thread Brian Moon
Pierre Joye wrote: - smnp nice ext, any ISP out there willing to help? I can help for the windows support Hmm, we use this. Is it broken for 5.3 or something? What do we need to do to keep this alive? -- Brian Moon Senior Developer/Engineer -- When you

Re: [PHP-DEV] extensions status, to move to pecl or to drop

2008-06-15 Thread Brian Moon
say. I could care less if any of PHP works on Windows. I am sure Richard feels the opposite. =) -- Brian Moon Senior Developer/Engineer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] How bad would it be to say/enforce that namespacing can only apply to classes and not normal functions?

2008-06-26 Thread Brian Moon
How bad would it be to say that namespacing can only apply to classes and not normal functions? Lame, very lame. It would make them unusable for many distributed projects that are not 100% OOP. Wordpress comes to mind. My own Phorum as well. It was my understanding that one of the primar

[PHP-DEV] [Fwd: confirm unsubscribe from [EMAIL PROTECTED]

2008-07-07 Thread Brian Moon
Wow, any idea how the PHP list thought this was me that wanted to unsubscribe? -- Brian Moon Senior Web Engineer -- When you care enough to spend the very least. http://dealnews.com/ --- Begin Message --- Hi! This is the ezmlm program. I'm managing the inte

Re: [PHP-DEV] [RFC] E_USER_DEPRECATED

2008-07-19 Thread Brian Moon
ch is not very accurate. -- Brian Moon Senior Web Engineer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New string functions: str_startswith() and str_endswith()

2008-07-21 Thread Brian Moon
ctions are very fast. And if you are looking to improve your applications performance by using different string functions, you are likely looking in the wrong place. -- Brian Moon Senior Web Engineer -- When you care enough to spend the very least. http://dealnew

Re: [PHP-DEV] New string functions: str_startswith() and str_endswith()

2008-07-21 Thread Brian Moon
for a "standard" (widely used?) PHP (non-OO) package that filled in the gaps that the core does not provide. Make it non-OO so that it looks and acts like the core as much as possible. In my "spare time" I will start this. =) -- Brian Moon Senior Web Engineer --

Re: [PHP-DEV] Switch Table Extension for PHP

2008-07-30 Thread Brian Moon
slowest thing in the app. So, we convered it to an array lookup system instead and got lots of performance. We also made a Phorum extension to handle the URL creation for those that need that little extra bump. -- Brian Moon Senior Web Engineer -- When you care

Re: [PHP-DEV] enabling everything by default

2008-08-01 Thread Brian Moon
rvers out there. So, if json is not on by default, for example, we can't use it. -- Brian Moon Senior Web Engineer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] [Fwd: #45687 [Opn->Bgs]: Why is PCNTL marked experimental]

2008-08-03 Thread Brian Moon
Antony Dovgal wrote: Keeping the experimental status for so many years is a nonsense. Apparently it's not experimental anymore. It has been working for me for years. I would say it is not experimental. -- Brian Moon Senior Web Engineer -- When you care enou

Re: [PHP-DEV] php7- dropping the $ from the variable name - rfc

2008-09-18 Thread Brian Moon
mike wrote: Personally I love the $. It makes it so much easier to identify variables. It's a single character. Can't see the need honestly to even bring this up. +1,000,000. Horrible idea. *facepalm* -- Brian Moon Senior Web Engineer -- When you care

Re: [PHP-DEV] Re: namespace issues

2008-10-01 Thread Brian Moon
over your OOP arrogance. Brian Moon [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: namespace issues

2008-10-03 Thread Brian Moon
rd both on and off list to try to find a solution that will satisfy the largest number of developers. Thank you Greg. I wish that long ago when I had karma I had kept working on the internals and kept my C skills sharp. They have atrophied Brian Moon [EMAIL PROTECTED] -- PHP Internals - P

Re: [PHP-DEV] Proposal: array_flatten function

2008-12-27 Thread Brian Moon
a good C function will beat out user space work on arrays. -- Brian Moon Senior Web Engineer -- When you care enough to spend the very least. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] php daemons, memory

2009-01-10 Thread Brian Moon
unctions to fork children that run and do the work. They can end after a certain time or memory usage. Again, you have to make sure the main, parent script is well written and does not waste file descriptors, connections, etc. Hmm, maybe I will write a blog post about this. --

Re: [PHP-DEV] $_GET['a.b.c']

2009-01-13 Thread Brian Moon
7;a.b.c'] What about the extract() and import_request_variables() functions? Will it still do the replacement? I foresee a lot of stop gap solutions using those functions to get around register_globals. Not saying it is right, just curious. -- Brian Moon Senior Web Engineer

Re: [PHP-DEV] Quick question about closing PHP tags

2009-02-02 Thread Brian Moon
On 2/2/09 2:55 AM, George Antoniadis wrote: While on this subject, would it be a waste of time to suggest a file extension or include/require parameter that would consider a whole file as php even if there is no starting See 2001: http://marc.info/?t=9998640691&r=1&w=2 -- Br

Re: [PHP-DEV] APM

2009-05-25 Thread Brian Moon
question is what type of performance impact are we looking at here? Brian Moon http://brian.moonspot.net/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Is there a technical reason

2009-06-05 Thread Brian Moon
On 6/5/09 2:17 PM, Stanislav Malyshev wrote: Hi! So it feels like decoupling My proposal would be very simple: 1. short_open_tag setting removed in 6, And while few want to talk about short tags (again), it's worth noting that a discussion specific to decoupling really hasn't taken place exc

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

2006-01-12 Thread Brian Moon
one function is silly and creates unneccasary overhead for those of us that are not on the OO bandwagon. (I am not saying there is anything wrong with OO, just that there are folks out here that still use PHP without OO. I know, shocking, shoot me now.) Brian Moon Porum Dev Team -- PHP

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

2006-01-13 Thread Brian Moon
tuff will never be in PHP. Oh, wait..... =) Brian Moon Phorum Dev Team -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2006-01-15 Thread Brian Moon
its only userland, it is confusing to new users. But, I really to find it upsetting to see so many people saying that this feature will fracture the PHP community. Those with CVS access have already put things (like all the OO functionality) in that have fractured the user base already IMO. Br

Re: [PHP-DEV] PHP Array Literals

2006-01-28 Thread Brian Moon
ld not have been useful. Thank goodness the powers that be have stopped the feature bloat. Now PHP is how people make their living. People rely on it. It can not change on a whim because someone wants to save 5 key strokes when they are creating an array. Use a decent editor and write

Re: [PHP-DEV] reducing open calls in php

2006-02-01 Thread Brian Moon
Sascha Schumann wrote: Or simply use eAccelerator which does not cause those open calls. Rasmus, is that behaviour by design? I deinstalled APC because of this 'characteristic' last week. It was killing a high-traffic site. - Sascha On Thu, 2 Feb 2006, Rasmus Lerdo

[PHP-DEV] PHP, Apache 2, memory and APC

2006-02-02 Thread Brian Moon
malloc can? Is there some big gain in performance we are getting because of this? If there is a previous post on this list or elsewhere, feel free to point me to it. Thanks, -- Brian Moon dealnews.com -- How to go broke saving money. http://dealnews.com/ -- PHP Internals - P

Re: [PHP-DEV] PHP, Apache 2, memory and APC

2006-02-02 Thread Brian Moon
Ilia Alshanetsky wrote: Rather then terminating Apache request yourself, you can use universal Apache configuration directives that allow you to restrict memory utilization of an Apache process. Hmmm, the ones I looked at seemed to prohibit a process from growing above a certain size. Can yo

[PHP-DEV] PECL Spread package

2006-02-07 Thread Brian Moon
fund the development of a spread extension to go into pecl. I am sure there is someone on this list that good do a great job. I don't want to post this on some random job list. You get all kind of crazies there. Thanks, -- Brian Moon dealnews.com -- How to go broke saving m

Re: [PHP-DEV] Re: PECL Spread package

2006-02-08 Thread Brian Moon
Did you try the CVS version instead of the released package? Thanks, CVS has not been updated in over 2 years. I am pretty sure it is the same code. Brian. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PHP and Recursion

2006-02-24 Thread Brian Moon
recursion. Now, at most, I will be recursing 4 or 5 levels deep. Does PHP optimize recursion in such a way that this is expected or did I get lucky and I may hit a wall when I am not looking? -- Brian Moon dealnews.com -- How to go broke saving money. http://dealnews.com/ -- PHP

Re: [PHP-DEV] Give the Language a Rest motion

2006-03-09 Thread Brian Moon
Zeev Suraski wrote: > I'd like to raise a motion to 'Give the Language a Rest'. +1 Brian Moon dealnews.com -- How to go broke saving money. http://dealnews.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: New Operator

2006-03-14 Thread Brian Moon
riable does not exist, settype creates it with an empty value of the given type. Second, if it does exist, it can semitypecast them for you. settype($_GET['ConfirmCode'], "string"); or $ConfirmCode = $_GET["ConfirmCode"]; settype($ConfirmCode, "string")

Re: [PHP-DEV] Re: New Operator

2006-03-14 Thread Brian Moon
But you still don't have a default value, just an empty default value(string, zero, etc.). You can't i.e. initialize $_GET["ConfirmCode"] with "Yes" using settype... Oh, you want an operator to do that? Does some other language have this that we are wanting to copy here? Seems overly complica

Re: [PHP-DEV] Inconsistency of empty() and isset() ?

2006-04-16 Thread Brian Moon
Indeed, especially as everyone will tell you that isset and empty are equivalent. Are you saying that people misunderstand that or that you believe that to be true? I see that misunderstanding a lot. I have to educate people on that. They don't seem to grok the subtle, yet crucial (and I

[PHP-DEV] Passing functions to function by reference

2006-04-26 Thread Brian Moon
In PHP4, you could do: function test() { return array(1,2,3); } $var = array_shift(test()); PHP 5.0 broke this. There was a fatal error on the array_shift that only variables could be passed by reference. There was a good argument for it. So, we started migrating our code. Well, s

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

2006-04-26 Thread Brian Moon
In 5.1 this now throws an E_STRICT instead of a warning. It is still a bad idea to pass a tempvar by reference, so yes, you should strive to write E_STRICT clean code. Yeah, its more of a question of rewriting 6 years of PHP or not. We were half way done when we upgraded the dev machines to

[PHP-DEV] escaping braces

2006-05-01 Thread Brian Moon
Also, this is not listed in the upgrade notes at all http://www.php.net/README_UPGRADE_51.php. Thanks, Brian Moon dealnews.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Seeking 'coalesce' php internal function

2006-05-04 Thread Brian Moon
g to do with ifsetor() or the filter extension IMO. Brian Moon dealnews.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Stop Breaking Our Apps For the Sake of OO

2006-05-11 Thread Brian Moon
ive a crap about tests. I want my code to work. And, I believe that was the original point of this thread. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] E_ALL changes in 5.2/6.0

2006-05-15 Thread Brian Moon
it hard on them to upgrade, you will see hosts that never upgrade their PHP versions. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] E_ALL changes in 5.2/6.0

2006-05-15 Thread Brian Moon
e. If you want to ignore these users, that is fine. But, I just don't want rose colored glasses making you believe that everyone that uses PHP knows what is happening to PHP. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Developme

Re: [PHP-DEV] E_ALL changes in 5.2/6.0

2006-05-15 Thread Brian Moon
d an ini-production. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] E_ALL changes in 5.2/6.0

2006-05-15 Thread Brian Moon
s in all. Of course, in reference to my earlier comments, this will mean that there is a high probablity the casual PHP user that does not run his server will never see the E_STRICT stuff until PHP6. Unfortunately, I can see no way around it. -- Brian Moon - http://dealnews.com/

Re: [PHP-DEV] E_ALL changes in 5.2/6.0

2006-05-15 Thread Brian Moon
A quick Google for common PHP error messages will almost for sure find you a zillion sites with E_ALL in production servers. 2.1 million in fact. http://www.google.com/search?q=notice+undefined+php -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals

Re: [PHP-DEV] E_ALL changes in 5.2/6.0

2006-05-15 Thread Brian Moon
code from scratch we will look into it. ;) -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP Release Process Sucks

2006-05-16 Thread Brian Moon
://oss.backendmedia.com/PhP5yz Could someone add [EMAIL PROTECTED] to that list? We will do our best to test Phorum against any releases. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] PHP Release Process Sucks

2006-05-16 Thread Brian Moon
Phil Driscoll wrote: Please add and/subtract to/from the above lists. MediaWiki Mambo/Joombla/Nuke Those are the big in their space. We use MediaWiki daily in our company. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Flamewar Summary

2006-05-16 Thread Brian Moon
Inclusion of E_STRICT and E_RECOVERABLE_ERROR into E_ALL +1 Addition of support for dynamic statics ala: class foo {} foo::$bar = 1; -1 -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] PHP Release Process Sucks

2006-05-17 Thread Brian Moon
OS X, preferably both on the Intel- and the PowerPC-platform. Oh yes. I need to be able to develop on my MacBook Pro. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Flamewar Summary Conclusion

2006-05-19 Thread Brian Moon
apache will use a numeric value and not the constants. That is the only way to change the value for an entire virthost. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Supporting version specific INI files as well as SAPI specific INI files.

2006-07-17 Thread Brian Moon
files It is very useful for loading optional modules and such. I had never used it until I started using an emerged PHP build on Gentoo. Its quite nice. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Adding pecl/zip to 5.2

2006-07-20 Thread Brian Moon
eople? It certainly doesn't to me, but perhaps I am too much of a Unix guy so zip archives have never been of much use. I initially agreed with Pierre, but Rasmus has a point. Zip = zip code in the US. When people talk about a .zip file, they say zip file. -- Brian Moon ---

Re: [PHP-DEV] memory_get_usage with new Memory Manager

2006-07-27 Thread Brian Moon
hough. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] HTTP-Only Patch

2006-08-07 Thread Brian Moon
ssible via client side scripting. Ref: http://msdn.microsoft.com/workshop/author/dhtml/httponly_cookies.asp I’ve added the flags for setcookie and setrawcookie. There is also support for the session system as well included. +1 -- Brian Moon - http://dealnews.com/ Its good t

Re: [PHP-DEV] Return type hints

2006-09-13 Thread Brian Moon
, allowing conversion from something like NULL to empty string, integer 0, etc. (as PHP does) may be going a little over board, as an uninitialised variable (such as a member variable) may not be easily discovered. IMHO, that is covered by === and the NOTICE error level. -- Brian Moon

Re: [PHP-DEV] Return type hints

2006-09-13 Thread Brian Moon
find no non-OOP code that behaves this way. Even my favorite PHP trick, using settype() to initialize vars, does not set the var to NULL. -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Return type hints

2006-09-14 Thread Brian Moon
ice. This is only true for properties of objects. Any other variable in PHP does not behave this way. IMHO, PHP should either initialize that variable to a default type and value or throw a notice when you try and use it without setting its value. -- Brian Moon - http://dealnews.

Re: [PHP-DEV] [VOTE] (was: Parameter checking in 5.2)

2006-09-21 Thread Brian Moon
[ ] (+1) please remove that redundant strictness again [ ] (-1) leave as it is, we need strict OO implementation [X] ( 0) what the hell are you talking about? -- Brian Moon - http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Feature request: ini setting for http 500 on fatal errors

2006-10-19 Thread Brian Moon
0.. This produces inconsistent behavior. I would not be in favor of it. I suggest you do as Rasmus suggested. Use register_shutdown_function() perhaps to have a function to change the status code before output is sent in your specific environment. -- Brian Moon - http://dealnews

Re: [PHP-DEV] [PATCH] Scalar type hinting ;)

2006-11-03 Thread Brian Moon
class scalar That is funny on its own. -- Brian Moon - http://dealnews.com/ It's good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Namespaces in PHP 6 - ++$take

2006-11-10 Thread Brian Moon
langauage" is never ending. Before PHP 5, all that was needed was good OOP support. Now this. I am for namespaces, but that line is getting old and I, a professional, serious PHP developer and tired of hearing it. -- Brian Moon - http://dealnews.com/ It's good to be ch

Re: [PHP-DEV] [VOTE][RFC] Name of Next Release of PHP

2014-07-22 Thread Brian Moon
se numbers were burned. If we had not named them to begin with, we would not have been in that boat. Brian Moon brianlm...@php.net http://brian.moonspot.net/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [VOTE][RFC] Name of Next Release of PHP

2014-07-22 Thread Brian Moon
vote being cancelled are actually in agreement now. If we don't use a counterpoint style debate in the RFC, then '6' only has one bullet: * 6 is the next integer after 5. Brian Moon brianlm...@php.net http://brian.moonspot.net/ -- PHP Internals - PHP Runtime Development Ma

Re: [PHP-DEV] Is it fair that people with no karma can vote on RFCs?

2014-09-22 Thread Brian Moon
have a long history with PHP and care about where it is going. People with dead accounts and who don't care about PHP most likely don't vote. Brian Moon brianlm...@php.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: AW: AW: [PHP-DEV] FILTER_VALIDATE_INT and +0/-0

2013-02-04 Thread Brian Moon
empt to convert a string into an integer when possible. FILTER_VALIDATE_INT does. This is much more analagous to FILTER_VALIDATE_INT IMO. $ php -r "echo (is_numeric('-0')) ? (int)'-0' : null;" 0 I am not intimately familiar with the internals of filter, but I r

Re: [PHP-DEV] [PATCH] Bug #46367 - fputcsv does not add the correct newline character on Windows

2009-07-07 Thread Brian Moon
On 7/7/09 1:27 PM, Jani Taskinen wrote: John Mertic kirjoitti: Hi All, Bringing this one back once more; let me know what everyone thinks about it. If it's safe to commit than if someone could ( or give me the karma to do so ) that would be great. If not, let me know what should be done about i

Re: [PHP-DEV] RFC: Replacing errors with Exceptions

2009-07-24 Thread Brian Moon
On 7/24/09 6:43 AM, Ben Scholzen 'DASPRiD' wrote: To you both, this is especially, for library code like Zend Framework. This tends to invalidate your entire argument IMO. Changing the core language because something is hard in an external framework that only a small percentage of actual PHP

Re: [PHP-DEV] Re: RFC: Replacing errors with Exceptions

2009-07-29 Thread Brian Moon
Le Fri, 24 Jul 2009 15:23:21 +0200, user a écrit : I published a (work in progress) RFC today about replacing certain errors with exceptions. I know that there already was something similiar on the php6dev blog, but this is not completly the same, so awating your comments: http://wiki.php.net/r

Re: [PHP-DEV] array_seek function

2010-03-16 Thread Brian Moon
Right now, it returns the value of a given position. How it's different from: array_slice() returns the sequence of elements from the array array as specified by the offset and length parameters? array_slice returns an array of elements. This function would return the value at the given posi

Re: [PHP-DEV] array_seek function

2010-03-17 Thread Brian Moon
Update: http://phpbenelux.eu/array_seek-return.patch.txt I've kept the fseek()-style return values (0 when fine, -1 when seek fails) Any reason why you picked that over the (IMO more logical) true/false approach? No, just to keep it similar to fseek(). Either way works for me. I would expect

Re: [PHP-DEV] Have we reached 1,000 authors for the PHP project?

2010-03-30 Thread Brian Moon
Neat. I would not count cvs2svn though. Or any other known bots in there if there are any. Would be neat to see the list posted on pastebin though. Brian. http://brian.moonspot.net/ On 3/30/10 3:36 AM, Richard Quadling wrote: Hi. Just over 9 hours ago (Monday, March 29th 2010 at 23

Re: [PHP-DEV] php and multithreading (additional arguments)

2010-04-01 Thread Brian Moon
Now imagine a whole web server written in PHP (ie. nanoserv), say, using libevent as the network backend, running the above described real-time web implementation. Alternatively, you could perhaps even wire it into worker/event model of apache/other servers instead of rolling your own. It sounds q

  1   2   >