Examveda
Examveda

What will be the output of the following PHP code ?
<?php
int $one = 1;
echo "$one";
?>

A. 0

B. 1

C. $one

D. Error

Answer: Option D

Solution(By Examveda Team)

Unlike other programming languages there are no data types in PHP.

This Question Belongs to PHP >> Operators And Expressions In Php

Join The Discussion

Related Questions on Operators and Expressions in php