Jump to content

Philip

Staff Alumni
  • Posts

    4,665
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Philip

  1. It should be outputting all 3.

    <pre>
    <?php
    $a = ['q1' => 'no', 'q3' => 'yes', 'q2' => 'yes'];
    $b = ['q1' => 'no', 'q3' => 'yes', 'q2' => 'yes'];
    
    print_r(array_intersect($a, $b));
    

    Returns:

    Array
    (
        [q1] => no
        [q3] => yes
        [q2] => yes
    )
    
    

    Can you post your actual code?

  2. I would look at php 6 books but nothing decent about at the moment all got some dodgy reviews.

    Don't, it was a joke (hence the /s). PHP6 books were written before anything was finalized in the language, so assumptions were made.

  3. Oh okay, so I must be active to post my actual information on here rather than old and wrong information? I don't see how that makes sense, thanks none the less.

    It's to prevent spam bots from spamming their links everywhere without us noticing. I've bumped you up to member group though, so you should have access now.

  4. It took a while for me to grow into IDEs. For a while I found them clunky, slow, and overall just plain annoying. After several different ones I finally stumbled upon PHPStorm and haven't turned back since. Granted, I've done a lot of little tweaks here and there to get it setup the way I really like, but it definitely increases my productivity. 

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.