SHARE
TWEET

Untitled

a guest Aug 12th, 2019 55 in 19 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class A {
  2.     protected $token = null;
  3.     function aa(){
  4.         $res = $this->token;
  5.         return $res;
  6.     }
  7. }
  8.  
  9. class B extends A
  10. {
  11.     protected $token = "666666666";
  12. }
  13.  
  14. $b = new B();
  15. $bb = $b->aa();
  16. echo $bb;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top