note 124258 added to class.volatile

From: Date: Wed, 02 Oct 2019 06:29:14 +0000
Subject: note 124258 added to class.volatile
Groups: php.notes 
Request: Send a blank email to php-notes+get-212449@lists.php.net to get a copy of this message
<?php // just use extends volatile for use array // is verry good class libvar extends Volatile { private $_adresse = '127.0.0.1'; private $_port = 10000; public $socket; public $list_socket = array(); public $list_error = array(); public function __construct(){ } public function set_list($val) { $ct = count($this->list_socket); $this->list_socket[ $ct ] = $val; return $ct; } public function set_socket($val) { $this->socket = $val; return $this->socket; } public function set_error($val) { $this->list_error[ count($this->list_error) ] = $val; } public function unset_list($val) { unset($this->list_error[ $val ]); } public function get_socketinlist($val) { return $this->list_socket[$val]; } public function get_adresse() { return $this->_adresse; } public function get_port() { return $this->_port; } public function get_socket() { return $this->socket; } } ?> ---- Server IP: 208.43.231.9 Probable Submitter: 185.85.3.168 (proxied: 37.58.158.195) ---- Manual Page -- http://php.net/manual/en/class.volatile.php Edit -- https://master.php.net/note/edit/124258 Del: integrated -- https://master.php.net/note/delete/124258/integrated Del: useless -- https://master.php.net/note/delete/124258/useless Del: bad code -- https://master.php.net/note/delete/124258/bad+code Del: spam -- https://master.php.net/note/delete/124258/spam Del: non-english -- https://master.php.net/note/delete/124258/non-english Del: in docs -- https://master.php.net/note/delete/124258/in+docs Del: other reasons-- https://master.php.net/note/delete/124258 Reject -- https://master.php.net/note/reject/124258 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#212449) next »