Chaitanya Lakshmi
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook

What will the following script output?

2/27/2012

0 Comments

 
<?php
$array = array (3 => 'a', '1b' => 'b', 'c', 'd');
echo ($array[1]);
?>

  • 1
  • b
  • c
  • A warning.
  • A notice.
  • I don’t know
Answer:
A notice.

0 Comments



Leave a Reply.

    Author

    Write something about yourself. No need to be fancy, just an overview.

    Archives

    February 2012

    Categories

    All
    General
    Krds
    Phponweb

    RSS Feed

Powered by Create your own unique website with customizable templates.