Re: [PHP-DEV] "or throw new" syntax

2010-09-05 Thread Etienne Kneuss
On Sep 05 14:19:16, Kalle Sommer Nielsen wrote: > Hi > > Is there any reason for we don't support expressions like: > > test() or throw new Exception('test() failed'); > > > If no, is there any argument against supporting such a syntax in trunk? Technically, it should be quite easy to have tha

[PHP-DEV] "or throw new" syntax

2010-09-05 Thread Kalle Sommer Nielsen
Hi Is there any reason for we don't support expressions like: test() or throw new Exception('test() failed'); If no, is there any argument against supporting such a syntax in trunk? -- regards, Kalle Sommer Nielsen ka...@php.net -- PHP Internals - PHP Runtime Development Mailing List To un