!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/lib/php/Science/Chemistry/   drwxr-xr-x
Free 14.29 GB of 61.93 GB (23.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Element.php (3.51 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//
// +----------------------------------------------------------------------+
// | PHP Version 4                                                        |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group                                |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the PHP license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available at through the world-wide-web at                           |
// | http://www.php.net/license/2_02.txt.                                 |
// | If you did not receive a copy of the PHP license and are unable to   |
// | obtain it through the world-wide-web, please send a note to          |
// | license@php.net so we can mail you a copy immediately.               |
// +----------------------------------------------------------------------+
// | Authors: Jesus M. Castagnetto <jmcastagnetto@php.net>                |
// +----------------------------------------------------------------------+
//
// $Id$
//

/**
 * Utility class that defines a chemical element object
 *
 * @author  Jesus M. Castagnetto <jmcastagnetto@php.net>
 * @version 1.0
 * @access  public
 * @package Science_Chemistry
 */
class Science_Chemistry_Element {

    
/**
     * Element's symbol, one or two characters, case sensitive
     *
     * @var     string
     * @access  public
     */
    
var $symbol;

    
/**
     * Element's name
     *
     * @var     string
     * @access  public
     */
    
var $name;

    
/**
     * Element's atomic number
     *
     * @var     integer
     * @access  public
     */
    
var $number;

    
/**
     * Element's atomic weight in a.m.u (atomic mass units)
     *
     * @var     float
     * @access  public
     */
    
var $weight;

    
/**
     * Element's melting point, with comments
     *
     * @var     string
     * @access  public
     */
    
var $melting_point;

    
/**
     * Element's boiling point, with comments
     *
     * @var     string
     * @access  public
     */
    
var $boiling_point;

    
/**
     * Element's family
     *
     * @var     string
     * @access  public
     */
    
var $family;

    
/**
     * Constructor for the class
     *
     * @param   string  $sym    element symbol
     * @param   string  $name   element name
     * @param   integer $num    atomic number
     * @param   float   $wgt    atomic weight
     * @param   string  $mp     melting point (with comments)
     * @param   string  $bp     boiling point (with comments)
     * @param   string  $fam    family
     * @return  object  Science_Chemistry_Element
     * @access  public
     */
    
function Science_Chemistry_Element ($sym$name$num$wgt$mp$bp$fam) {
        
$this->symbol $sym;
        
$this->name $name;
        
$this->number $num;
        
$this->weight $wgt;
        
$this->melting_point $mp;
        
$this->boiling_point $b;
        
$this->family $fam;
    }

    
/**
     * Checks if an object is a Science_Chemistry_Element instance
     *
     * @param   object  Science_Chemistry_Element $obj
     * @return  boolean 
     * @access  public
     */
    
function isElement($obj) {
        return (
is_object($obj) &&
                (
strtolower(get_class($obj)) == "Science_Chemistry_Element" ||
                 
is_subclass_of($obj"Science_Chemistry_Element"))
               );
    }

// end of Science_Chemistry_Element

// vim: expandtab: ts=4: sw=4
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.8018 ]--