Re: [PHP-DEV] [off] PHP: a fractal of bad design

2012-04-10 Thread Gustavo Lopes
On Tue, 10 Apr 2012 17:20:41 +0100, Adir Kuhn adirk...@gmail.com wrote: Hi folks, today I read this post, I think that some points are valid, follow the link for you guys http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ This is really long. I stopped reading in full

Re: [PHP-DEV] Fileinfo fixes for windows

2012-04-10 Thread Stas Malyshev
Hi! Another important thing i didn't mention - there is a lot of test fixes going to be commited, they should be merged into release branches too. Test fixes are definitely not critical bugs. So I would prefer handling them as usual fixes. -- Stanislav Malyshev, Software Architect SugarCRM:

Re: [PHP-DEV] Allow non-variable arguments to empty()

2012-04-10 Thread Jelle Zijlstra
2012/4/10 Nikita Popov nikita@googlemail.com Hey internals! Currently the empty() language construct only works on variables. You can write if (empty($array)) but not empty if (empty(getSomeArray()). The original reason for this restriction probably is that - in a way - it doesn't make

Re: [PHP-DEV] UPDATED RFC version 1.1: source files without opening ?php tag

2012-04-10 Thread Luke Scott
On 4/10/12 4:53 PM, Tom Boutell t...@punkave.com wrote: Please see: https://wiki.php.net/rfc/source_files_without_opening_tag After following the discussion I have updated the RFC with the following major changes: * Forbade the use of ? entirely in pure PHP files (without restricting it at all

Re: [PHP-DEV] Allow non-variable arguments to empty()

2012-04-10 Thread Xinchen Hui
Sent from my iPad 在 2012-4-11,6:54,Nikita Popov nikita@googlemail.com 写道: Hey internals! Currently the empty() language construct only works on variables. You can write if (empty($array)) but not empty if (empty(getSomeArray()). The original reason for this restriction probably is that

RE: [PHP-DEV] Re: Disabling PHP tags by php.ini and CLI options

2012-04-10 Thread John Crenshaw
From: yohg...@gmail.com [mailto:yohg...@gmail.com] On Behalf Of Yasuo Ohgaki Hi, It seems motivation of this RFC is better to be stated. Motivation to have this RFC is 1. File Includes is fatal security breach. 2. The reason why PHP is unsecure to File Include than other language is

Re: [PHP-DEV] UPDATED RFC version 1.1: source files without opening ?php tag

2012-04-10 Thread Tom Boutell
On Tue, Apr 10, 2012 at 10:10 PM, Kris Craig kris.cr...@gmail.com wrote: This shouldn't be used to load libraries that dump raw HTML output!  That literally defeats the entire purpose.  You're also assuming that all PHP developers do 100% of their coding through pre-existing frameworks.

Re: [PHP-DEV] Allow non-variable arguments to empty()

2012-04-10 Thread Kris Craig
On Tue, Apr 10, 2012 at 10:12 PM, Stas Malyshev smalys...@sugarcrm.comwrote: Hi! Well, technically it's discussion /and/ vote. I know we've been wanting to get out of the habit of push first, ask later, which is precisely what RFC helps us avoid. Personally, I think any commits for a

Re: [PHP-DEV] Fileinfo fixes for windows

2012-04-10 Thread Stas Malyshev
Hi! btw, It is not a realy issue as we won't use 5.4.1 tests to test the release but 5.4's branch ones. Too many false positive. Who are we? I'll definitely be using 5.4.1, since that's what I will be releasing. There's no point in testing code different from one you're releasing. Do you mean