Which PHP script uses a constructor to display the string “Winter is almost over!”?

Advertisement

  • 1 class MyClass { //Maybe
    2 public function \_construct()
    3 {
    4 echo ‘Winter is almost over!’.”\n”;
    5 }
    6 }
    7 \$userclass = new MyClass;
  • 1 class MyClass {
    2 public function _construct()
    3 {
    4 echo ‘Winter is almost over!..”\n”;
    5 }
    6 }
    7 $userclass = new MyClass;
  • 1 class MyClass {
    2 public function \_construct()
    3 {
    4 echo ‘Winter is almost over!..”\n”;
    5 }
    6 }
    7 \$userclass = new MyClass;
  • 1 class MyClass {
    2 public function _construct()
    3 {
    4 echo ‘Winter is almost over!’.”n”;
    5 }
    6 }
    7 $userclass = MyClass;
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend