×
          
              
          
      
      Clear all filters including search bar
          
        Valeri Tandilashvili's Personal Professional Blog
      
    some_usersome_dbGRANT ALL PRIVILEGES ON some_db.* TO 'some_user'@'localhost';__destructunset($old_object)class User {
    public $username;
    public $friends = ['Tom','David'];
    function __construct($name) {
        $this->username = $name;
        print $this->username . "'s object is created'\n";
    }
    function __destruct() {
        print $this->username . "'s object is deleted'\n";
    }
}
$user1 = new User('Tom');
$user1 = new User('George');
unset($user1);
$user2 = new User('David');
echo "\n\n";Tom's object is created'
George's object is created'
Tom's object is deleted'
George's object is deleted'
David's object is created'
David's object is deleted'$user1minorpatchmajorcomposer require "vendor/package:2.*"mysql -u some_user -ppasswordsome_userconsolefile.zipsome_foldersudo mv file.zip some_folder/file.zipsome_folderdb_backup.sqlpublic_html/zip -r db_backup.sql public_html/zipped.zipunzip zipped.zipxsxl<div class="row">
    <div class="col">
      1 of 2
    </div>
    <div class="col">
      2 of 2
    </div>
  </div><div class="row">
    <div class="col">
      1 of 3
    </div>
    <div class="col">
      2 of 3
    </div>
    <div class="col">
      3 of 3
    </div>
  </div>npm list --global --depth 0traitmultiple inheritanceclass Mobile {
    public function battery() {
        echo 'Battery: MB_06, MF_02, MF_00' . PHP_EOL;
    }
}
trait Laser {
    public function power() {
        echo 'Power: 10 mW' . PHP_EOL;
    }
}
trait Projector {
    public function range() {
        echo 'Range: 2 M' . PHP_EOL;
    }
}
class Galaxy extends Mobile {
    use Laser;
    use Projector;
}
$obj1 = new Galaxy;
$obj1->range();
$obj1->power();
$obj1->battery();//calling the function in window.onload to make sure the HTML is loaded
window.onload = function() {
    var x = document.getElementById("demo");
    x.style.color = '#6600FF';
    x.style.width = '100px';
};<div id="demo" style="width:400px">Some text inside this DIV</div>camelCasebackground-colorbackgroundColor