Related Links : Search Engine Optimization | | Search Engine Marketing | Online Marketing | Freelance Programmer| SEO Thailand | SEO Expert | SEO services | PHP Programmer Thailand | SEO Tutorial | What is SEO |

  Home Our SEO Services SEO Expert Consultant Php Programmer Scripts| Email : sachin {at} jainsachin {dot} com

PHP | Reading [] | Manual | Tutorial | Help

SEO Services



Website Programming in PHP / MYSQL



Friends


    Reading []

    Reading []

    <?php
    class XmlTest {

        function 
    test_ref(&$test) {
            
    $test "ok";
        }

        function 
    test($test) { }

        function 
    run() {
            
    $ar = array();
            
    $this->test_ref($ar[]);
            
    var_dump($ar);
            
    $this->test($ar[]);
        }
    }

    $o = new XmlTest();
    $o->run();
    ?>

    This should always have thrown a fatal E_ERROR, because [] cannot be used for reading in PHP. It is invalid code in PHP 4.4.2 and PHP 5.0.5 upward.


    SEO Tutorial / Articles





    Php / Mysql Tutorial



    Articles



      Portfolio


      SEO by Jainsachin