×
          
              
          
      
      Clear all filters including search bar
          
        Valeri Tandilashvili's Personal Professional Blog
      
    public function services() {
        $data = [
            'title' => 'langs',
            'languages' => ['PHP', 'Java', 'Python']
        ];
        return view('pages/services')->with($data);
}@extends('layouts.app')
@section('cntnt')
    <h3>{{$title}}</h3>
    @if(count($languages))
        @foreach($languages as $language)
            <li>{{$language}}</li>
        @endforeach
    @endif
@endsectionwho()BAclass A {
    public static function who() {
        echo __CLASS__;
    }
    public static function test() {
        self::who();
    }
}
class B extends A {
    public static function who() {
        echo __CLASS__;
    }
}
B::test();who()Atest()who()Blate static bindingstaticclass A {
    public static function who() {
        echo __CLASS__;
    }
    public static function test() {
        static::who(); // Here comes Late Static Bindings
    }
}
class B extends A {
    public static function who() {
        echo __CLASS__;
    }
}
B::test();SELECT *, 
    IF(points>=90, "Brilliant", IF(points>=80, "Gold", IF(points>=60, "Silver", "Lazy"))) AS class
FROM `students`
ORDER BY points DESCUNIONSELECT *, 'Brilliant' AS class
FROM `students`
WHERE points >= 90
UNION
SELECT *, 'Gold'
FROM `students`
WHERE points >= 80 
    AND points < 90
UNION
SELECT *, 'Silver'
FROM `students`
WHERE points >= 60 
    AND points < 80
UNION
SELECT *, 'Lazy'
FROM `students`
WHERE points < 60
ORDER BY points DESCCASE WHENSELECT *, 
    CASE 
      	WHEN points>90 THEN "Brilliant"
      	WHEN points>80 THEN "Gold"
      	WHEN points>60 THEN "Silver"
      	ELSE "Lazy"
    END as 'class'
FROM `students`
ORDER BY points DESCJSONP XMLHttpRequest<script>window.onload = function() {
  var s = document.createElement("script");
  s.src = "https://www.w3schools.com/js/demo_jsonp.php";
  document.write(s.outerHTML);
};
// This function will run after the content is fully loaded from the server
function myFunc(myObj) {
  document.write(myObj.name + " is " + myObj.age + " and he lives in " + myObj.city);
} <script>XMLHttpRequestdemo_jsonp.phpmyFunc({"name":"John", "age":30, "city":"New York"});toStringlet user = {
  name: "John",
  age: 30,
  toString() {
    return `{name1: "${this.name}", age1: ${this.age}}`;
  }
};
document.write(user);
// document.write(JSON.stringify(user));{name1: "John", age1: 30}Interface IBar {
    public function method3();
}
Interface IArray {
    public function method2();
}
Interface IFoo extends IBar, IArray {
    public function method1();
}
class class1 implements IFoo {
    public function method1() {
        
    }
    public function method2() {
        
    }
    // public function method3() {
        
    // }
}class1IFoomethod3Fatal error:  Class class1 contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (IBar::method3).flex-container > div {
  flex:2;
}.search {
  flex:4;
}.flex-container .search {
  flex:4;
}.parent {
    position: relative;
}
.parent h1 {
    position: absolute;
    top: 10px;
}callback functioncallbackURLhttps://api.github.com/users/yui?callback=handleJSONP_variablehandleJSONP_variable({"meta": {
  "Content-Type": "application/javascript; charset=utf-8",
  "Cache-Control": "public, max-age=60, s-maxage=60",
  "Vary": "Accept",
  "status": 200,
  ...
}, "data": {
  "login": "yui",
  "name": "YUI Library",
  "company": null,
  "blog": "http://yuilibrary.com/",
  "location": "Sunnyvale, CA",
  "email": null,
  "public_repos": 31,
  ...
}})h2cl1cl2.cl1.cl2 h2{
    color: red;
}