Which of the following is not a PHP variable? A $a; B var a; C int a; D double a; What will be the output of the following PHP code? php for ($x = 1; $x < 10; $x++) for ($y = 1; $y < 5; $y++)

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter2: Using Data
Section: Chapter Questions
Problem 20RQ: Which of the following compares two string variables named string1 and s tring2 to determine if...
icon
Related questions
Question
  1. Which of the following is not a PHP variable?

A

$a;

 

B

var a;

 

C

int a;

 

D

double a;

 

  1. What will be the output of the following PHP code?

 

  1. <?php
  2. for ($x = 1; $x < 10; $x++)
  3. for ($y = 1; $y < 5; $y++)
  4. print "Hello";
  5. ?>

 

A

Hello….36 times

 

B

Hello….45 times

 

C

Hello ….50 times

 

D

Hello….40 times

 

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning