403Webshell
Server IP : 217.160.0.251  /  Your IP : 216.73.216.128
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u94981163 ( 8991765)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/php7.3/test/Cache_Lite/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/php7.3/test/Cache_Lite/tests/pearbug18328.phpt
--TEST--
Cache_Lite::Cache_Lite (PEAR bug #18328)
--FILE--
<?php

/**
 * Process for test pearbug18328
 * 
 * @see https://pear.php.net/bugs/bug.php?id=18328
 * @author Markus Tacker <tacker@php.net>
 */

require_once __DIR__ . '/../Cache/Lite.php';
$c = new Cache_Lite(array('cacheDir' => '.', 'lifeTime' => 60,));
var_dump($c->_cacheDir === '.'); 
$c = new Cache_Lite(array('lifeTime' => 60));
var_dump($c->_cacheDir === (function_exists('sys_get_temp_dir') ? sys_get_temp_dir() . DIRECTORY_SEPARATOR : '/tmp/'));

--GET--
--POST--
--EXPECT--
bool(true)
bool(true)

Youez - 2016 - github.com/yon3zu
LinuXploit