1. Question: Which of the following variable declarations within a class is invalid in PHP5?

    A
    private $type = 'moderate';

    B
    internal $term =3;

    C
    public $amnt = '500';

    D
    protected $name = 'Quantas Private Limited';

    Note: Not available
    1. Report
  2. Question: Which of the following is not a predefined constant?

    A
    TRUE

    B
    FALSE

    C
    NULL

    D
    __FILE__

    E
    CONSTANT

    Note: Not available
    1. Report
  3. Question: Which of the following is not true regarding XF orms?

    A
    PHP provides support for XF orm

    B
    It can be used on PDF documents

    C
    The data is sent in XML format

    D
    The action and method parameters are defined in the body

    Note: Not available
    1. Report
  4. Question: You have two strings, which you want to concatenate. $str1 = 'Have a'; $str2 = 'Nice Day'; The fastest way would be:

    A
    $str1.Concat($str2);

    B
    $str1.$str2;

    C
    "$str1$str2";

    D
    None

    Note: Not available
    1. Report
  5. Question: Which of the following variable declarations within a class is invalid in PHP5?

    A
    private $type = 'moderate';

    B
    internal $term =3;

    C
    public $amnt = '500';

    D
    protected $name = 'Quantas Private Limited';

    Note: Not available
    1. Report
  6. Question: What PHP stands for?

    A
    Hypertext Preprocessor

    B
    Pre Hypertext Processor

    C
    Pre Hyper Processor

    D
    Pre Hypertext Process

    Note: Not available
    1. Report
  7. Question: Compound data type allow ______ items?

    A
    single

    B
    multiple

    C
    boolean

    D
    none

    Note: Not available
    1. Report
  8. Question: Null data type recognizes ______ value?

    A
    1

    B
    2

    C
    3

    D
    4

    Note: Not available
    1. Report
  9. Question: How many variable scopes in PHP?

    A
    4

    B
    5

    C
    6

    D
    7

    Note: Not available
    1. Report
  10. Question: When PHP is running on a command line, what super-global will contain the command line arguments specified?

    A
    $_ENV

    B
    $_SERVER

    C
    $GLOBALS

    D
    $_POST

    E
    $_ARGV

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd