Nguyễn Ngọc Huỳnh
New member
In the following PHP code, what is/are the properties?
A. echo “This is an example”;
B. public $name;
C. class Example
D. function sample()
Code:
<?php
class Example
{
public $name;
function Sample()
{
echo "This is an example";
}
}
?>
B. public $name;
C. class Example
D. function sample()