Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
test /
Log /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
backtrace.phpt
1.6
KB
-rw-r--r--
composite.phpt
2.29
KB
-rw-r--r--
console.phpt
1.15
KB
-rw-r--r--
display.phpt
1.57
KB
-rw-r--r--
error_log.phpt
710
B
-rw-r--r--
extract-zend2.0.phpt
1.72
KB
-rw-r--r--
extract-zend2.2.phpt
1.67
KB
-rw-r--r--
factory.phpt
403
B
-rw-r--r--
file.phpt
651
B
-rw-r--r--
firebug.phpt
2.48
KB
-rw-r--r--
format.phpt
385
B
-rw-r--r--
levels.phpt
1.3
KB
-rw-r--r--
masks.phpt
941
B
-rw-r--r--
null.phpt
202
B
-rw-r--r--
priority.phpt
752
B
-rw-r--r--
singleton.phpt
431
B
-rw-r--r--
sql_ident.phpt
482
B
-rw-r--r--
sqlite.phpt
712
B
-rw-r--r--
syslog.phpt
221
B
-rw-r--r--
win-ob.phpt
2.64
KB
-rw-r--r--
win.phpt
2.6
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : extract-zend2.0.phpt
--TEST-- Log: _extractMessage() [Zend Engine 2.0] --SKIPIF-- <?php if (version_compare(zend_version(), "2.0.0", "<") || version_compare(zend_version(), "2.2.0", ">=")) die('skip'); ?> --INI-- date.timezone=UTC --FILE-- <?php require_once 'Log.php'; $conf = array('lineFormat' => '%2$s [%3$s] %4$s'); $logger = Log::singleton('console', '', 'ident', $conf); /* Logging a regular string. */ $logger->log('String'); /* Logging a bare object. */ class BareObject {} $logger->log(new BareObject()); /* Logging an object with a getMessage() method. */ class GetMessageObject { function getMessage() { return "getMessage"; } } $logger->log(new GetMessageObject()); /* Logging an object with a toString() method. */ class ToStringObject { function toString() { return "toString"; } } $logger->log(new ToStringObject()); /* Logging an object with a __toString() method using casting. */ class CastableObject { function __toString() { return "__toString"; } } $logger->log(new CastableObject()); /* Logging a PEAR_Error object. */ require_once 'PEAR.php'; $logger->log(new PEAR_Error('PEAR_Error object', 100)); /* Logging an array. */ $logger->log(array(1, 2, 'three' => 3)); /* Logging an array with scalar 'message' keys. */ $logger->log(array('message' => 'Message Key')); $logger->log(array('message' => 50)); /* Logging an array with a non-scalar 'message' key. */ $logger->log(array('message' => array(1, 2, 3))); --EXPECT-- ident [info] String ident [info] BareObject::__set_state(array( )) ident [info] getMessage ident [info] toString ident [info] Object id #2 ident [info] PEAR_Error object ident [info] array ( 0 => 1, 1 => 2, 'three' => 3, ident [info] Message Key ident [info] 50 ident [info] array ( 0 => 1, 1 => 2, 2 => 3, )
Close