FAQ
Hi,

I'm wondering where this is handled in PHP,

if ($_GET)
{

}

Clearly it's different from

if ($_GET['key'])
{

}

Anyone know that?

Thanks

--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33

Search Discussions

  • Aaron Lewis at May 6, 2014 at 12:12 pm
    Well it's a different operator than 'isset' op
    On Tue, May 6, 2014 at 6:57 PM, Aaron Lewis wrote:
    Hi,

    I'm wondering where this is handled in PHP,

    if ($_GET)
    {

    }

    Clearly it's different from

    if ($_GET['key'])
    {

    }

    Anyone know that?

    Thanks

    --
    Best Regards,
    Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
    Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33


    --
    Best Regards,
    Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
    Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
  • Andrea Faulds at May 6, 2014 at 4:47 pm

    On 6 May 2014, at 11:57, Aaron Lewis wrote:

    Hi,

    I'm wondering where this is handled in PHP,

    Aaron, I suggest you get a tool which lets you view opcodes. Then you wouldn’t have to ask the mailing list to find these things out.

    --
    Andrea Faulds
    http://ajf.me/
  • Aaron Lewis at May 6, 2014 at 11:58 pm
    Hi Andrea,

    Thanks for pointing out.

    I'm looking at http://php.net/manual/ru/internals2.opcodes.php now
    (Previously I thought it was a PHP_FUNCTION that handles it)

    Was it the BOOL operator?
    http://www.php.net/manual/ru/internals2.opcodes.bool.php
    On Wed, May 7, 2014 at 12:47 AM, Andrea Faulds wrote:

    On 6 May 2014, at 11:57, Aaron Lewis wrote:

    Hi,

    I'm wondering where this is handled in PHP,


    Aaron, I suggest you get a tool which lets you view opcodes. Then you
    wouldn’t have to ask the mailing list to find these things out.

    --
    Andrea Faulds
    http://ajf.me/




    --
    Best Regards,
    Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
    Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedMay 6, '14 at 11:03a
activeMay 6, '14 at 11:58p
posts4
users2
websitephp.net

2 users in discussion

Aaron Lewis: 3 posts Andrea Faulds: 1 post

People

Translate

site design / logo © 2022 Grokbase