Re: [PHP-DEV] date.timezone E_WARNING -- Really necessary? What's the rationale?

2013-05-25 Thread Paul Reinheimer
Hi List, Wouldn't it be possible to have it default to the system's timezone if available? Most software seems to be able to use the correct timezone. From a user's pov it is strange that PHP is pretty much the only service which has to have it's own timezone configuration. I appreciate

Re: [PHP-DEV] PHP User Survey

2013-03-05 Thread Paul Reinheimer
://rainbowdigitalmedia.co.uk -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Paul Reinheimer Zend Certified Engineer

[PHP-DEV] PHP User Survey

2013-02-20 Thread Paul Reinheimer
people an opportunity to discuss questions and such. thanks for your time paul -- Paul Reinheimer

Re: [PHP-DEV] JPEG Upload

2012-05-05 Thread Paul Reinheimer
I dealt with jpegs with injected metadata quite a bit at a previous employer. In the end we ended up confirming the file was a proper image with the filetype functions, then stripping the metadata using some command line tools, and finally using a blacklist for key strings (like ?php) that could

Re: [PHP-DEV] readfile() memory usage

2012-05-04 Thread Paul Reinheimer
Hi Everyone So, I think we're back to urban legend territory. I've updated the documentation for readfile() to help send more people down the path of checking for output buffering, and disabling that rather than contriving loops with fread(). http://docs.php.net/readfile paul -- Paul

Re: [PHP-DEV] readfile() memory usage

2012-05-01 Thread Paul Reinheimer
Hi Larry, Fascinating.  I even verified the md5sum of the file I got on the other end just to be sure.  I'll hold off on the blog post then. :-)  I look forward to your test setup. The server in question is still on PHP 5.2.13 Script: ?php ini_set('memory_limit', '8M'); $name = uniqid() .

Re: [PHP-DEV] readfile() memory usage

2012-05-01 Thread Paul Reinheimer
Hi All, Unfortunately, you've ignored Uwe's e-mail... The problem is not the PHP version; the problem is that you're buffering unlimited amounts of data. Check your configuration and make sure ob_get_level() returns 0. My apologies in the delay, ob_get_level() returns 1, good catch. phpinfo()

Re: [PHP-DEV] readfile() memory usage

2012-05-01 Thread Paul Reinheimer
Hi, It sounds like it.  In that case the memory spike is happening in the output buffer, where the file is streamed into by readfile() in 8K chunks until the output buffer explodes. :-) So, I think we're back to urban legend territory. That's good to know. Thanks, and my apologies for

Re: [PHP-DEV] readfile() memory usage

2012-04-30 Thread Paul Reinheimer
Hi Larry, 4) So given #2 and #3, the readfile() will kill your memory, don't use it line is a persistent urban legend that belongs on Snopes as debunked.  Looping on fread() for performance is a red herring. I implemented this earlier this very year to avoid memory issues (a quick look at

Re: [PHP-DEV] Bundling modern extensions

2011-06-04 Thread Paul Reinheimer
Hi All, In parallel I'd also see if there are any key extensions which we think are mainstream, stable and well maintained enough to be included. For example, http comes to mind. With regards to the http extension, I've been using it in production for a while, but ran into an issue where

Re: [PHP-DEV] Fwd: What's up with Quercus?

2011-05-28 Thread Paul Reinheimer
Hi,  And so far as PHP6... a lot of the features that were supposed to be in PHP6 actually ended up in 5.3.  So rather than canceled, no longer necessary might be a better description of what happened to PHP6. With the loss of Unicode (which now lacks even an implementation plan) no longer

Re: [PHP-DEV] deprecation status of $str{42} versus $str[42]

2008-06-10 Thread Paul Reinheimer
roles around we've got two characters we can use for some killer new feature. (I'll go back to the quiet corner now) paul ([EMAIL PROTECTED]) -- Paul Reinheimer

Re: [PHP-DEV] Internals read-only

2007-12-13 Thread Paul Reinheimer
think this is a step you can take until a path for joining this exclusive list is made clear, otherwise in a few years there might not be a core team left. Paul Reinheimer ([EMAIL PROTECTED])

[PHP-DEV] CVS Account Request: preinheimer

2007-09-07 Thread Paul Reinheimer
Requesting: phpdoc I'd like to help maintain the documentation, I've been working with a few people on IRC to get some pointers, and avoid making rookie mistakes (spelling errors, one too many spaces, tabs, etc.). Philip suggested I request an account. Sean mocked me a bit. -- PHP Internals

Re: [PHP-DEV] Is this what Stefan Esser was referring to ...?

2007-01-21 Thread Paul Reinheimer
with the people working on the tool. I'll bring it up on that mailing list. paul -- Paul Reinheimer

Re: [PHP-DEV] foreach, assigning to a reference, and E_NOTICE

2006-03-09 Thread Paul Reinheimer
Being the colleague Sean refered to in his first post I thought I might weigh in. While I agree that once I looked at the base case that Sean worked out of my code the problem didn't take too long to recognize, that's not where I first experianced the problem. Problems first rear their head deep

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-27 Thread Paul Reinheimer
]=='%' CG(asp_tags)) || (yytext[1]=='?' CG(short_tags))) { -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Paul

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

2005-07-29 Thread Paul Reinheimer
Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Paul Reinheimer -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: 'include' Considered Harmful

2005-06-28 Thread Paul Reinheimer
Quoted Text: In other words, it can only be used to include files at or below the current directory. This is counter productive, it is a horrible idea to store include files within (/below) the document root, if you're going to suggest strange sweeping changes go the reverse direction, ensure

Re: [PHP-DEV] Yet Another Stupid Question: Why Bother with Compatibility?

2005-04-15 Thread Paul Reinheimer
Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Paul Reinheimer Zend Certified Engineer -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Hello

2005-01-18 Thread Paul Reinheimer
noted On Wed, 19 Jan 2005 00:24:03 +, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Important notice! -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- Paul Reinheimer Zend Certified Engineer -- PHP Internals - PHP

Re: [PHP-DEV] Why we don’t like PHP / PHP’s anti -Apache2 FUD

2004-12-20 Thread Paul Reinheimer
: http://www.php.net/unsub.php -- Paul Reinheimer Zend Certified Engineer -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php