or something in that fashion ?
Ólafur Waage
2008/10/20 Steph Fox <[EMAIL PROTECTED]>:
>> The "german keyboard" issue isn't really one. {}[] are in the same "class"
>> of
>> characters (alt-Gr + number-row). So, as a programmer, you either have to
>
I found that he had one valid question that i would like to see answered.
> is the below allowed ?
>
> $bar = new Module \ Foo \ Bar();
>
> I find it easier to read than with out the space.
Since it looks pretty good with the spaces there.
2008/10/27 Johannes Schlüter <[EMAIL PROTECTED]>:
> On T
8-10-27 at 17:53 +0100, Hannes Magnusson wrote:
>> On Mon, Oct 27, 2008 at 16:50, Ólafur Waage <[EMAIL PROTECTED]> wrote:
>> > I found that he had one valid question that i would like to see answered.
>> >
>> >> is the below allowed ?
>> >>
>>
Time:
$arr = range(0, 100); // 0.6367609500885
$foo == true ? $foo = $arr : NULL; // 3.0994415283203E-06
if (true) $foo = $arr; else $foo = NULL; // 2.8610229492188E-06
PHP 5.1.6
Olafur Waage
On Sun, Dec 14, 2008 at 9:30 PM, David Grudl wrote:
>
> Původní zpráva
> Od: Ilia
the current
list of Directory Functions.
$dir = dir("/foo/bar");
var_dump($dir->empty()); // bool(true)
Ólafur Waage
olaf...@gmail.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
ation team.
Ólafur Waage
olaf...@gmail.com
On Wed, Dec 17, 2008 at 10:48 PM, Cristian Rodríguez
wrote:
> Ólafur Waage escribió:
>
>> $dir = dir("/foo/bar");
>> var_dump($dir->empty()); // bool(true)
>
> Use SplDirectoryIterator instead.
>
>
>
You'll need Visual studio to build PHP from source, but there are prebuilt
binaries available here: http://windows.php.net/
On Sun, Feb 8, 2009 at 12:08 AM, Marcus Young wrote:
> Hi Internals,
> do you have some time to help me out?
>
> *Quoit the PHP readme*
> "
> The Win32 Build System.
> $Id:
"bat")
That isset (or some other language construct) would return the variable if
it were set and false if it was not.
Thanks for your time, i know this has probably been talked to death in one
form or other.
Ólafur Waage
olaf...@gmail.com
gt; if( @$_GET['foo'] === 'bar')
> or
> if( @$_GET['foo'] === 'bar' or @$_GET['baz'] === 'bat' )
>
>
> Olivier
>
> Ólafur Waage a écrit :
>
>> While researching for this suggestion I found this rfc proposal reg
On Tue, May 12, 2009 at 5:39 PM, Robert Cummings wrote:
> On Tue, 2009-05-12 at 18:23 +0100, Lewis Wright wrote:
> > Regarding ifsetor, what's wrong with just using this:
> >
> > isset($myvar) OR $myvar = 'i am set';
> >
> > It works in just the same way and has no problems. I agree it would be
>
great solution.
>
> Brian.
>
> http://brian.moonspot.net/
Can this be turned into a userland function?
Olafur
>
>
> On 5/12/09 11:35 AM, Ólafur Waage wrote:
>
>> While researching for this suggestion I found this rfc proposal regarding
>> ifsetor() ( http
2009/5/12 Ionut Gabriel Stan
> 2009/5/13 Ólafur Waage :
> > 2009/5/12 Brian Moon
> >
> >> $foo = filter_input(INPUT_GET, "foo", FILTER_UNSAFE_RAW);
> >>
> >> That would have a value if set or null if not set. It also allows you
> to
&g
> Wheels were made to be reinvented!
Or else we'd all be using stone wheels.
Congratulations :)
On Tue, Jun 30, 2009 at 1:25 PM, Rodrigo Saboya <
rodrigo.sab...@bolsademulher.com> wrote:
> Lukas Kahwe Smith wrote:
>
>> Hello!
>>
>> The PHP Development Team would like to announce the immediate release of
>> PHP 5.3.0. This release is a major improvement in the 5.X series,
On Thu, Jul 2, 2009 at 9:09 PM, Ryan Panning wrote:
> Ford, Mike wrote:
>
>>function func(int $i)
>>
>> for strict type checking, and
>>
>>function func((int)$i)
>>
>> for coercion aka casting (although now I've seen it written down I'm not
>> so sure! ;).
>>
>
> Just want to throw my 2 c
On Mon, Jul 20, 2009 at 11:28 AM, Cristian Rodríguez wrote:
> On 20/07/09 04:05, Alexander Hjalmarsson wrote:
>
> > If there's anyone here that might be able to help in this subject it's
> very
> > welcome.
> >
> PHPBB has absolutely nothing to do with this list.
>
This is a part of the Better Be
16 matches
Mail list logo