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 : 18.225.72.113
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
psy /
psysh /
test /
Reflection /
Delete
Unzip
Name
Size
Permission
Date
Action
ReflectionClassConstantTest.php
2.3
KB
-rw-r--r--
2018-10-13 09:00
ReflectionConstantBCTest.php
664
B
-rw-r--r--
2018-10-13 09:00
ReflectionConstantTest.php
3.38
KB
-rw-r--r--
2018-10-13 09:00
ReflectionLanguageConstructParameterTest.php
2.23
KB
-rw-r--r--
2018-10-13 09:00
ReflectionLanguageConstructTest.php
2.37
KB
-rw-r--r--
2018-10-13 09:00
Save
Rename
<?php /* * This file is part of Psy Shell. * * (c) 2012-2018 Justin Hileman * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Psy\Test\Reflection; use Psy\Reflection\ReflectionLanguageConstruct; class ReflectionLanguageConstructTest extends \PHPUnit\Framework\TestCase { /** * @dataProvider languageConstructs */ public function testConstruction($keyword) { $refl = new ReflectionLanguageConstruct($keyword); $this->assertEquals($keyword, $refl->getName()); $this->assertEquals($keyword, (string) $refl); } /** * @dataProvider languageConstructs */ public function testKnownLanguageConstructs($keyword) { $this->assertTrue(ReflectionLanguageConstruct::isLanguageConstruct($keyword)); } /** * @dataProvider languageConstructs */ public function testFileName($keyword) { $refl = new ReflectionLanguageConstruct($keyword); $this->assertFalse($refl->getFileName()); } /** * @dataProvider languageConstructs */ public function testReturnsReference($keyword) { $refl = new ReflectionLanguageConstruct($keyword); $this->assertFalse($refl->returnsReference()); } /** * @dataProvider languageConstructs */ public function testGetParameters($keyword) { $refl = new ReflectionLanguageConstruct($keyword); $this->assertNotEmpty($refl->getParameters()); } /** * @dataProvider languageConstructs * @expectedException \RuntimeException */ public function testExportThrows($keyword) { ReflectionLanguageConstruct::export($keyword); } public function languageConstructs() { return [ ['isset'], ['unset'], ['empty'], ['echo'], ['print'], ['die'], ['exit'], ]; } /** * @dataProvider unknownLanguageConstructs * @expectedException \InvalidArgumentException */ public function testUnknownLanguageConstructsThrowExceptions($keyword) { new ReflectionLanguageConstruct($keyword); } public function unknownLanguageConstructs() { return [ ['async'], ['await'], ['comefrom'], ]; } }