Code Baker

Make Thinks Easy For You

  • Home
  • PHP
  • jQuery
  • MySQL
  • HTML
  • Contact Us
  • Interview Question
    • PHP Interview

magic function

PHP PHP Interview Question 

What is __get()

class Penguin extends Animal { public function __construct($id) { $this->getPenguinFromDb($id); } public function getPenguinFromDb($id) { // elegant and robust database

April 22, 2018 Harinder Singh
Read more
PHP PHP Interview Question 

What is __destruct

Did you spot the file handle that was also part of the constructor? We don’t really want to leave things

April 22, 2018 Harinder Singh
Read more
PHP PHP Interview Question 

What is __construct

The constructor is a magic method that gets called when the object is instantiated. It is usually the first thing

April 22, 2018 Harinder Singh
Read more
PHP PHP Interview Question 

PHP Magic functions

__construct() __destruct() __call() __callStatic() __get() __set() __isset() __unset() __sleep() __wakeup() __toString() __invoke() __set_state() __clone() and __debugInfo()  are magical in PHP

April 22, 2018May 6, 2018 Harinder Singh
Read more

Recent Posts

  • npm ERR! Invalid dependency type requested: alias
  • Regular Expression to validate the Time Format in Javascript
  • Prevent submitting form by pressing the Enter key Vuejs
  • How to convert an Object to an Array in JavaScript
  • Export transactions require a customer name and address – Stripe Error

Categories

  • Article
  • CSS
  • Facebook
  • Firebase
  • git
  • HTML
  • Javascript
  • jQuery
  • Laravel
  • Linux
  • Mongo DB
  • MySQL
  • Nodejs
  • PHP
  • PHP Interview Question
  • Ubuntu
  • Vue Js
  • Webconfig

Tags

.htaccess click Code Baker codebaker Command cookie CSS Curl CURL PHP Date Datetime Delete cookie Demo example Facebook Facebook App Facebook Graph API Facebook token git Gmail Google Google reCAPTCHA HTML IP address Issue Javascript jQuery jQuery Events Laravel Linux Commands magic function magic methods mysql nodejs npm on click PHP php interview question plugin print Regex SSL Stripe Ubuntu VueJs

Tags

.htaccess click Code Baker codebaker Command cookie CSS Curl CURL PHP Date Datetime Delete cookie Demo example Facebook Facebook App Facebook Graph API Facebook token git Gmail Google Google reCAPTCHA HTML IP address Issue Javascript jQuery jQuery Events Laravel Linux Commands magic function magic methods mysql nodejs npm on click PHP php interview question plugin print Regex SSL Stripe Ubuntu VueJs

Most Viewed Posts

  • Setting initial/default value of a Vuetify checkbox
  • Dynamic Route added to CSS and JS paths on page refresh Webpack with Vuejs
  • How to convert an Object to an Array in JavaScript
  • npm ERR! Invalid dependency type requested: alias
  • Export transactions require a customer name and address – Stripe Error

Site Tree

  • Contact Us
  • PHP Interview Questions

Recent Comments

  • Jake on jQuery click function not working
Copyright © 2023 Code Baker. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.