Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.20.233.31
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
symfony /
var-dumper /
Caster /
Delete
Unzip
Name
Size
Permission
Date
Action
AmqpCaster.php
6.54
KB
-rw-r--r--
2018-11-25 09:00
ArgsStub.php
2.25
KB
-rw-r--r--
2018-11-25 09:00
Caster.php
5.39
KB
-rw-r--r--
2018-11-25 09:00
ClassStub.php
3.65
KB
-rw-r--r--
2018-11-25 09:00
ConstStub.php
672
B
-rw-r--r--
2018-11-25 09:00
CutArrayStub.php
696
B
-rw-r--r--
2018-11-25 09:00
CutStub.php
1.72
KB
-rw-r--r--
2018-11-25 09:00
DOMCaster.php
9.82
KB
-rw-r--r--
2018-11-25 09:00
DateCaster.php
4.5
KB
-rw-r--r--
2018-11-25 09:00
DoctrineCaster.php
1.62
KB
-rw-r--r--
2018-11-25 09:00
EnumStub.php
637
B
-rw-r--r--
2018-11-25 09:00
ExceptionCaster.php
14.67
KB
-rw-r--r--
2018-11-25 09:00
FrameStub.php
740
B
-rw-r--r--
2018-11-25 09:00
GmpCaster.php
727
B
-rw-r--r--
2018-11-25 09:00
IntlCaster.php
8.78
KB
-rw-r--r--
2018-11-25 09:00
LinkStub.php
3.31
KB
-rw-r--r--
2018-11-25 09:00
MemcachedCaster.php
2.27
KB
-rw-r--r--
2018-11-25 09:00
PdoCaster.php
3.49
KB
-rw-r--r--
2018-11-25 09:00
PgSqlCaster.php
5.33
KB
-rw-r--r--
2018-11-25 09:00
ProxyManagerCaster.php
704
B
-rw-r--r--
2018-11-25 09:00
RedisCaster.php
5.13
KB
-rw-r--r--
2018-11-25 09:00
ReflectionCaster.php
12.56
KB
-rw-r--r--
2018-11-25 09:00
ResourceCaster.php
1.78
KB
-rw-r--r--
2018-11-25 09:00
SplCaster.php
6.54
KB
-rw-r--r--
2018-11-25 09:00
StubCaster.php
2.07
KB
-rw-r--r--
2018-11-25 09:00
SymfonyCaster.php
1.12
KB
-rw-r--r--
2018-11-25 09:00
TraceStub.php
963
B
-rw-r--r--
2018-11-25 09:00
XmlReaderCaster.php
2.94
KB
-rw-r--r--
2018-11-25 09:00
XmlResourceCaster.php
2.45
KB
-rw-r--r--
2018-11-25 09:00
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\VarDumper\Caster; use Symfony\Component\VarDumper\Cloner\Stub; /** * Casts SPL related classes to array representation. * * @author Nicolas Grekas <p@tchwork.com> */ class SplCaster { private static $splFileObjectFlags = array( \SplFileObject::DROP_NEW_LINE => 'DROP_NEW_LINE', \SplFileObject::READ_AHEAD => 'READ_AHEAD', \SplFileObject::SKIP_EMPTY => 'SKIP_EMPTY', \SplFileObject::READ_CSV => 'READ_CSV', ); public static function castArrayObject(\ArrayObject $c, array $a, Stub $stub, $isNested) { return self::castSplArray($c, $a, $stub, $isNested); } public static function castArrayIterator(\ArrayIterator $c, array $a, Stub $stub, $isNested) { return self::castSplArray($c, $a, $stub, $isNested); } public static function castHeap(\Iterator $c, array $a, Stub $stub, $isNested) { $a += array( Caster::PREFIX_VIRTUAL.'heap' => iterator_to_array(clone $c), ); return $a; } public static function castDoublyLinkedList(\SplDoublyLinkedList $c, array $a, Stub $stub, $isNested) { $prefix = Caster::PREFIX_VIRTUAL; $mode = $c->getIteratorMode(); $c->setIteratorMode(\SplDoublyLinkedList::IT_MODE_KEEP | $mode & ~\SplDoublyLinkedList::IT_MODE_DELETE); $a += array( $prefix.'mode' => new ConstStub((($mode & \SplDoublyLinkedList::IT_MODE_LIFO) ? 'IT_MODE_LIFO' : 'IT_MODE_FIFO').' | '.(($mode & \SplDoublyLinkedList::IT_MODE_DELETE) ? 'IT_MODE_DELETE' : 'IT_MODE_KEEP'), $mode), $prefix.'dllist' => iterator_to_array($c), ); $c->setIteratorMode($mode); return $a; } public static function castFileInfo(\SplFileInfo $c, array $a, Stub $stub, $isNested) { static $map = array( 'path' => 'getPath', 'filename' => 'getFilename', 'basename' => 'getBasename', 'pathname' => 'getPathname', 'extension' => 'getExtension', 'realPath' => 'getRealPath', 'aTime' => 'getATime', 'mTime' => 'getMTime', 'cTime' => 'getCTime', 'inode' => 'getInode', 'size' => 'getSize', 'perms' => 'getPerms', 'owner' => 'getOwner', 'group' => 'getGroup', 'type' => 'getType', 'writable' => 'isWritable', 'readable' => 'isReadable', 'executable' => 'isExecutable', 'file' => 'isFile', 'dir' => 'isDir', 'link' => 'isLink', 'linkTarget' => 'getLinkTarget', ); $prefix = Caster::PREFIX_VIRTUAL; foreach ($map as $key => $accessor) { try { $a[$prefix.$key] = $c->$accessor(); } catch (\Exception $e) { } } if (isset($a[$prefix.'realPath'])) { $a[$prefix.'realPath'] = new LinkStub($a[$prefix.'realPath']); } if (isset($a[$prefix.'perms'])) { $a[$prefix.'perms'] = new ConstStub(sprintf('0%o', $a[$prefix.'perms']), $a[$prefix.'perms']); } static $mapDate = array('aTime', 'mTime', 'cTime'); foreach ($mapDate as $key) { if (isset($a[$prefix.$key])) { $a[$prefix.$key] = new ConstStub(date('Y-m-d H:i:s', $a[$prefix.$key]), $a[$prefix.$key]); } } return $a; } public static function castFileObject(\SplFileObject $c, array $a, Stub $stub, $isNested) { static $map = array( 'csvControl' => 'getCsvControl', 'flags' => 'getFlags', 'maxLineLen' => 'getMaxLineLen', 'fstat' => 'fstat', 'eof' => 'eof', 'key' => 'key', ); $prefix = Caster::PREFIX_VIRTUAL; foreach ($map as $key => $accessor) { try { $a[$prefix.$key] = $c->$accessor(); } catch (\Exception $e) { } } if (isset($a[$prefix.'flags'])) { $flagsArray = array(); foreach (self::$splFileObjectFlags as $value => $name) { if ($a[$prefix.'flags'] & $value) { $flagsArray[] = $name; } } $a[$prefix.'flags'] = new ConstStub(implode('|', $flagsArray), $a[$prefix.'flags']); } if (isset($a[$prefix.'fstat'])) { $a[$prefix.'fstat'] = new CutArrayStub($a[$prefix.'fstat'], array('dev', 'ino', 'nlink', 'rdev', 'blksize', 'blocks')); } return $a; } public static function castFixedArray(\SplFixedArray $c, array $a, Stub $stub, $isNested) { $a += array( Caster::PREFIX_VIRTUAL.'storage' => $c->toArray(), ); return $a; } public static function castObjectStorage(\SplObjectStorage $c, array $a, Stub $stub, $isNested) { $storage = array(); unset($a[Caster::PREFIX_DYNAMIC."\0gcdata"]); // Don't hit https://bugs.php.net/65967 $clone = clone $c; foreach ($clone as $obj) { $storage[] = array( 'object' => $obj, 'info' => $clone->getInfo(), ); } $a += array( Caster::PREFIX_VIRTUAL.'storage' => $storage, ); return $a; } public static function castOuterIterator(\OuterIterator $c, array $a, Stub $stub, $isNested) { $a[Caster::PREFIX_VIRTUAL.'innerIterator'] = $c->getInnerIterator(); return $a; } private static function castSplArray($c, array $a, Stub $stub, $isNested) { $prefix = Caster::PREFIX_VIRTUAL; $class = $stub->class; $flags = $c->getFlags(); if (!($flags & \ArrayObject::STD_PROP_LIST)) { $c->setFlags(\ArrayObject::STD_PROP_LIST); $a = Caster::castObject($c, $class); $c->setFlags($flags); } $a += array( $prefix.'flag::STD_PROP_LIST' => (bool) ($flags & \ArrayObject::STD_PROP_LIST), $prefix.'flag::ARRAY_AS_PROPS' => (bool) ($flags & \ArrayObject::ARRAY_AS_PROPS), ); if ($c instanceof \ArrayObject) { $a[$prefix.'iteratorClass'] = new ClassStub($c->getIteratorClass()); } $a[$prefix.'storage'] = $c->getArrayCopy(); return $a; } }