Server IP : 104.21.38.3 / Your IP : 162.158.189.117 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/lapma.in/phpMyAdmin/vendor/thecodingmachine/safe/generated/ |
Upload File : |
<?php namespace Safe; use Safe\Exceptions\LibxmlException; /** * Retrieve last error from libxml. * * @return \LibXMLError Returns a LibXMLError object if there is any error in the * buffer, FALSE otherwise. * @throws LibxmlException * */ function libxml_get_last_error(): \LibXMLError { error_clear_last(); $result = \libxml_get_last_error(); if ($result === false) { throw LibxmlException::createFromPhpError(); } return $result; } /** * Changes the default external entity loader. * * @param callable $resolver_function A callable that takes three arguments. Two strings, a public id * and system id, and a context (an array with four keys) as the third argument. * This callback should return a resource, a string from which a resource can be * opened, or NULL. * @throws LibxmlException * */ function libxml_set_external_entity_loader(callable $resolver_function): void { error_clear_last(); $result = \libxml_set_external_entity_loader($resolver_function); if ($result === false) { throw LibxmlException::createFromPhpError(); } }