From 96417a34a0e95b6809e0040d0043aa32b26117bd Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Fri, 24 Feb 2017 12:29:47 -0600 Subject: [PATCH 01/12] Add note about increasing memory limit --- Support/generate/generate.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Support/generate/generate.php b/Support/generate/generate.php index 4d4f7ca..cfc4a70 100755 --- a/Support/generate/generate.php +++ b/Support/generate/generate.php @@ -5,6 +5,8 @@ * * Usage: php generate.php * Example: php generate.php en + * + * Some languges may require memory_limit to 256MB in php.ini * * This script will produce/modify the following files: * - Support/functions.plist From 5b90ca261a556daf897e6715de58aa515cbf9f24 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Fri, 24 Feb 2017 12:30:00 -0600 Subject: [PATCH 02/12] Update support library paths --- Support/generate/generate.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Support/generate/generate.rb b/Support/generate/generate.rb index 1b7db27..7664819 100755 --- a/Support/generate/generate.rb +++ b/Support/generate/generate.rb @@ -9,8 +9,8 @@ require 'rubygems' require 'json' -require '~/Library/Application Support/Avian/Bundles/php.tmbundle/Support/lib/Builder' -require '~/Library/Application Support/Avian/Bundles/bundle-support.tmbundle/Support/shared/lib/osx/plist' +require '~/Library/Application Support/TextMate/Bundles/php.tmbundle/Support/lib/Builder' +require '~/Library/Application Support/TextMate/Bundles/bundle-support.tmbundle/Support/shared/lib/osx/plist' data = JSON.parse(File.read(ARGV[0])) classes = data['classes'] From fd4947d70a585bd770e49b56be312d9a4ee2e242 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Fri, 24 Feb 2017 12:50:09 -0600 Subject: [PATCH 03/12] Update grammar, completions, etc. to PHP 7.1 --- Preferences/Completions.tmPreferences | 158 ++++++++------ Support/function-docs/de.txt | 298 ++++++++++++++------------ Support/function-docs/en.txt | 276 ++++++++++++------------ Support/function-docs/es.txt | 273 ++++++++++++----------- Support/function-docs/fr.txt | 197 +++++++++-------- Support/function-docs/ja.txt | 280 ++++++++++++------------ Support/functions.plist | 258 +++++++++++----------- Syntaxes/PHP.plist | 34 +-- 8 files changed, 940 insertions(+), 834 deletions(-) diff --git a/Preferences/Completions.tmPreferences b/Preferences/Completions.tmPreferences index 85a7242..34b70a3 100644 --- a/Preferences/Completions.tmPreferences +++ b/Preferences/Completions.tmPreferences @@ -11,14 +11,11 @@ completions APCIterator + APCUIterator AppendIterator ArrayAccess ArrayIterator ArrayObject - BSON\fromArray - BSON\fromJSON - BSON\toArray - BSON\toJSON BadFunctionCallException BadMethodCallException CURLFile @@ -52,6 +49,17 @@ Directory DirectoryIterator DomainException + Ds\Collection + Ds\Deque + Ds\Hashable + Ds\Map + Ds\Pair + Ds\PriorityQueue + Ds\Queue + Ds\Sequence + Ds\Set + Ds\Stack + Ds\Vector EmptyIterator ErrorException Ev @@ -99,13 +107,6 @@ HaruImage HaruOutline HaruPage - HttpDeflateStream - HttpInflateStream - HttpMessage - HttpQueryString - HttpRequest - HttpRequestPool - HttpResponse Imagick ImagickDraw ImagickKernel @@ -154,25 +155,33 @@ MongoDB MongoDBRef MongoDB\BSON\Binary + MongoDB\BSON\Decimal128 MongoDB\BSON\Javascript + MongoDB\BSON\MaxKey + MongoDB\BSON\MinKey MongoDB\BSON\ObjectID MongoDB\BSON\Regex MongoDB\BSON\Serializable MongoDB\BSON\Timestamp - MongoDB\BSON\UTCDatetime + MongoDB\BSON\UTCDateTime MongoDB\BSON\Unserializable + MongoDB\BSON\fromJSON + MongoDB\BSON\fromPHP + MongoDB\BSON\toJSON + MongoDB\BSON\toPHP MongoDB\Driver\BulkWrite MongoDB\Driver\Command MongoDB\Driver\Cursor MongoDB\Driver\CursorId + MongoDB\Driver\Exception\WriteException MongoDB\Driver\Manager MongoDB\Driver\Query + MongoDB\Driver\ReadConcern MongoDB\Driver\ReadPreference MongoDB\Driver\Server MongoDB\Driver\WriteConcern MongoDB\Driver\WriteConcernError MongoDB\Driver\WriteError - MongoDB\Driver\WriteException MongoDB\Driver\WriteResult MongoDate MongoDeleteBatch @@ -312,6 +321,7 @@ SyncMutex SyncReaderWriter SyncSemaphore + SyncSharedMemory Thread Threaded TokyoTyrant @@ -321,6 +331,48 @@ Transliterator Traversable UConverter + UI\Area + UI\Control + UI\Controls\Box + UI\Controls\Button + UI\Controls\Check + UI\Controls\ColorButton + UI\Controls\Combo + UI\Controls\EditableCombo + UI\Controls\Entry + UI\Controls\Form + UI\Controls\Grid + UI\Controls\Group + UI\Controls\Label + UI\Controls\MultilineEntry + UI\Controls\Picker + UI\Controls\Progress + UI\Controls\Radio + UI\Controls\Separator + UI\Controls\Slider + UI\Controls\Spin + UI\Controls\Tab + UI\Draw\Brush + UI\Draw\Brush\Gradient + UI\Draw\Brush\LinearGradient + UI\Draw\Brush\RadialGradient + UI\Draw\Color + UI\Draw\Matrix + UI\Draw\Path + UI\Draw\Pen + UI\Draw\Stroke + UI\Draw\Text\Font + UI\Draw\Text\Font\Descriptor + UI\Draw\Text\Font\fontFamilies + UI\Draw\Text\Layout + UI\Executor + UI\Menu + UI\MenuItem + UI\Point + UI\Size + UI\Window + UI\quit + UI\run UnderflowException UnexpectedValueException V8Js @@ -376,6 +428,7 @@ ZMQPoll ZMQSocket ZipArchive + Zookeeper __autoload __halt_compiler abs @@ -412,6 +465,18 @@ apc_load_constants apc_sma_info apc_store + apcu_add + apcu_cache_info + apcu_cas + apcu_clear_cache + apcu_dec + apcu_delete + apcu_entry + apcu_exists + apcu_fetch + apcu_inc + apcu_sma_info + apcu_store array array_change_key_case array_chunk @@ -691,6 +756,8 @@ define define_syslog_variables defined + deflate_add + deflate_init deg2rad delete dgettext @@ -1221,56 +1288,8 @@ htmlentities htmlspecialchars htmlspecialchars_decode - http_build_cookie http_build_query - http_build_str - http_build_url - http_cache_etag - http_cache_last_modified - http_chunked_decode - http_date - http_deflate - http_get - http_get_request_body - http_get_request_body_stream - http_get_request_headers - http_head - http_inflate - http_match_etag - http_match_modified - http_match_request_header - http_negotiate_charset - http_negotiate_content_type - http_negotiate_language - http_parse_cookie - http_parse_headers - http_parse_message - http_parse_params - http_persistent_handles_clean - http_persistent_handles_count - http_persistent_handles_ident - http_post_data - http_post_fields - http_put_data - http_put_file - http_put_stream - http_redirect - http_request - http_request_body_encode - http_request_method_exists - http_request_method_name - http_request_method_register - http_request_method_unregister http_response_code - http_send_content_disposition - http_send_content_type - http_send_data - http_send_file - http_send_last_modified - http_send_status - http_send_stream - http_support - http_throttle hypot ibase_add_user ibase_affected_rows @@ -1332,7 +1351,6 @@ iconv_substr idate idn_to_ascii - idn_to_unicode idn_to_utf8 ignore_user_abort iis_add_server @@ -1360,6 +1378,7 @@ imagealphablending imageantialias imagearc + imagebmp imagechar imagecharup imagecolorallocate @@ -1385,6 +1404,7 @@ imagecopyresampled imagecopyresized imagecreate + imagecreatefrombmp imagecreatefromgd imagecreatefromgd2 imagecreatefromgd2part @@ -1417,6 +1437,7 @@ imagegammacorrect imagegd imagegd2 + imagegetclip imagegif imagegrabscreen imagegrabwindow @@ -1426,6 +1447,7 @@ imagelayereffect imageline imageloadfont + imageopenpolygon imagepalettecopy imagepalettetotruecolor imagepng @@ -1438,10 +1460,12 @@ imagepsslantfont imagepstext imagerectangle + imageresolution imagerotate imagesavealpha imagescale imagesetbrush + imagesetclip imagesetinterpolation imagesetpixel imagesetstyle @@ -1538,6 +1562,8 @@ include_once inet_ntop inet_pton + inflate_add + inflate_init ini_alter ini_get ini_get_all @@ -2078,10 +2104,8 @@ numfmt_set_symbol numfmt_set_text_attribute ob_clean - ob_deflatehandler ob_end_clean ob_end_flush - ob_etaghandler ob_flush ob_get_clean ob_get_contents @@ -2092,7 +2116,6 @@ ob_gzhandler ob_iconv_handler ob_implicit_flush - ob_inflatehandler ob_list_handlers ob_start ob_tidyhandler @@ -2325,6 +2348,7 @@ pcntl_setpriority pcntl_signal pcntl_signal_dispatch + pcntl_signal_get_handler pcntl_sigprocmask pcntl_sigtimedwait pcntl_sigwaitinfo @@ -2599,9 +2623,11 @@ session_cache_expire session_cache_limiter session_commit + session_create_id session_decode session_destroy session_encode + session_gc session_get_cookie_params session_id session_is_registered @@ -2693,6 +2719,7 @@ socket_create_pair socket_get_option socket_get_status + socket_getopt socket_getpeername socket_getsockname socket_import_stream @@ -2711,6 +2738,7 @@ socket_set_nonblock socket_set_option socket_set_timeout + socket_setopt socket_shutdown socket_strerror socket_write diff --git a/Support/function-docs/de.txt b/Support/function-docs/de.txt index c43035c..6600252 100644 --- a/Support/function-docs/de.txt +++ b/Support/function-docs/de.txt @@ -1,11 +1,8 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Constructs an APCIterator iterator object +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%Constructs an AppendIterator ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%Construct an ArrayIterator ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%Construct a new array object -BSON\fromArray%ReturnType BSON\fromArray(string $array)%Description -BSON\fromJSON%ReturnType BSON\fromJSON(string $json)%Description -BSON\toArray%ReturnType BSON\toArray(string $bson)%Description -BSON\toJSON%ReturnType BSON\toJSON(string $bson)%Description BadFunctionCallException%object BadFunctionCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadFunctionCallException BadMethodCallException%object BadMethodCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadMethodCallException CURLFile%object CURLFile(string $filename, [string $mimetype], [string $postname])%Erstellt ein CURLFile Objekt @@ -26,9 +23,17 @@ DateInterval%object DateInterval(string $interval_spec)%Erstellt ein neues DateI DatePeriod%object DatePeriod(DateTimeInterface $start, DateInterval $interval, int $recurrences, [int $options], DateTimeInterface $end, string $isostr)%Erstellt ein neues DatePeriod Objekt DateTime%object DateTime([string $time = "now"], [DateTimeZone $timezone])%Returns new DateTime object DateTimeImmutable%object DateTimeImmutable([string $time = "now"], [DateTimeZone $timezone])%Returns new DateTimeImmutable object -DateTimeZone%object DateTimeZone(string $timezone)%Creates new DateTimeZone object +DateTimeZone%object DateTimeZone(string $timezone)%Erstellt neues DateTimeZone Objekt DirectoryIterator%object DirectoryIterator(string $path)%Constructs a new directory iterator from a path DomainException%object DomainException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new DomainException +Ds\Deque%object Ds\Deque([mixed $values])%Creates a new instance. +Ds\Map%object Ds\Map([mixed $...values])%Creates a new instance. +Ds\Pair%object Ds\Pair([mixed $key], [mixed $value])%Creates a new instance. +Ds\PriorityQueue%object Ds\PriorityQueue()%Creates a new instance. +Ds\Queue%object Ds\Queue([mixed $values])%Creates a new instance. +Ds\Set%object Ds\Set([mixed $...values])%Creates a new instance. +Ds\Stack%object Ds\Stack([mixed $values])%Creates a new instance. +Ds\Vector%object Ds\Vector([mixed $values])%Creates a new instance. ErrorException%object ErrorException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new ErrorException EvCheck%object EvCheck(callable $callback, [mixed $data], [int $priority])%Constructs the EvCheck watcher object EvChild%object EvChild(int $pid, bool $trace, callable $callback, [mixed $data], [int $priority])%Constructs the EvChild watcher object @@ -62,14 +67,8 @@ FilterIterator%object FilterIterator(Iterator $iterator)%Construct a filterItera Gender\Gender%object Gender\Gender([string $dsn])%Construct the Gender object. GlobIterator%object GlobIterator(string $path, [int $flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO])%Construct a directory using glob Gmagick%object Gmagick([string $filename])%The Gmagick constructor -GmagickPixel%object GmagickPixel([string $color])%The GmagickPixel constructor +GmagickPixel%object GmagickPixel([string $color])%Erstellt ein neues GmagickPixel Objekt HaruDoc%object HaruDoc()%Construct new HaruDoc instance -HttpDeflateStream%object HttpDeflateStream([int $flags])%HttpDeflateStream class constructor -HttpInflateStream%object HttpInflateStream([int $flags])%HttpInflateStream class constructor -HttpMessage%object HttpMessage([string $message])%HttpMessage constructor -HttpQueryString%object HttpQueryString([bool $global = true], [mixed $add])%HttpQueryString constructor -HttpRequest%object HttpRequest([string $url], [int $request_method = HTTP_METH_GET], [array $options])%HttpRequest constructor -HttpRequestPool%object HttpRequestPool([HttpRequest $request], [HttpRequest ...])%HttpRequestPool constructor Imagick%object Imagick(mixed $files)%The Imagick constructor ImagickDraw%object ImagickDraw()%The ImagickDraw constructor ImagickPixel%object ImagickPixel([string $color])%The ImagickPixel constructor @@ -94,21 +93,29 @@ MongoCollection%object MongoCollection(MongoDB $db, string $name)%Creates a new MongoCommandCursor%object MongoCommandCursor(MongoClient $connection, string $ns, array $command)%Create a new command cursor MongoCursor%object MongoCursor(MongoClient $connection, string $ns, [array $query = array()], [array $fields = array()])%Create a new cursor MongoDB%object MongoDB(MongoClient $conn, string $name)%Creates a new database -MongoDB\BSON\Binary%object MongoDB\BSON\Binary(string $data, string $subtype)%Description -MongoDB\BSON\Javascript%object MongoDB\BSON\Javascript(string $javascript, [string $scope])%Description -MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Description -MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, string $flags)%Description -MongoDB\BSON\Timestamp%object MongoDB\BSON\Timestamp(string $increment, string $timestamp)%Description -MongoDB\BSON\UTCDatetime%object MongoDB\BSON\UTCDatetime(string $milliseconds)%Description -MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([boolean $ordered = true])%Create new BulkWrite -MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Construct new Command -MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor(Server $server, string $responseDocument)%Description -MongoDB\Driver\CursorId%object MongoDB\Driver\CursorId(string $id)%Description -MongoDB\Driver\Manager%object MongoDB\Driver\Manager(string $uri, [array $options], [array $driverOptions])%Create new MongoDB Manager +MongoDB\BSON\Binary%object MongoDB\BSON\Binary(string $data, integer $type)%Construct a new Binary +MongoDB\BSON\Decimal128%object MongoDB\BSON\Decimal128([string $value])%Construct a new Decimal128 +MongoDB\BSON\Javascript%object MongoDB\BSON\Javascript(string $code, [array|object $scope])%Construct a new Javascript +MongoDB\BSON\MaxKey%object MongoDB\BSON\MaxKey()%Construct a new MaxKey +MongoDB\BSON\MinKey%object MongoDB\BSON\MinKey()%Construct a new MinKey +MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Construct a new ObjectID +MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, [string $flags = ""])%Construct a new Regex +MongoDB\BSON\Timestamp%object MongoDB\BSON\Timestamp(integer $increment, integer $timestamp)%Construct a new Timestamp +MongoDB\BSON\UTCDateTime%object MongoDB\BSON\UTCDateTime([integer|float|string|DateTimeInterface $milliseconds])%Construct a new UTCDateTime +MongoDB\BSON\fromJSON%string MongoDB\BSON\fromJSON(string $json)%Returns the BSON representation of a JSON value +MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value +MongoDB\BSON\toJSON%string MongoDB\BSON\toJSON(string $bson)%Returns the JSON representation of a BSON value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite +MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Create a new Command +MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor()%Create a new Cursor (not used) +MongoDB\Driver\CursorId%object MongoDB\Driver\CursorId()%Create a new CursorId (not used) +MongoDB\Driver\Manager%object MongoDB\Driver\Manager([string $uri = "mongodb://127.0.0.1/], [array $uriOptions = []], [array $driverOptions = []])%Create new MongoDB Manager MongoDB\Driver\Query%object MongoDB\Driver\Query(array|object $filter, [array $queryOptions])%Construct new Query -MongoDB\Driver\ReadPreference%object MongoDB\Driver\ReadPreference(string $readPreference, [array $tagSets])%Description -MongoDB\Driver\Server%object MongoDB\Driver\Server(string $host, string $port, [array $options], [array $driverOptions])%Description -MongoDB\Driver\WriteConcern%object MongoDB\Driver\WriteConcern(string $wstring, [integer $wtimeout], [boolean $journal], [boolean $fsync])%Construct immutable WriteConcern +MongoDB\Driver\ReadConcern%object MongoDB\Driver\ReadConcern([string $level])%Construct immutable ReadConcern +MongoDB\Driver\ReadPreference%object MongoDB\Driver\ReadPreference(int $mode, [array $tagSets], [array $options = []])%Construct immutable ReadPreference +MongoDB\Driver\Server%object MongoDB\Driver\Server()%Create a new Server (not used) +MongoDB\Driver\WriteConcern%object MongoDB\Driver\WriteConcern(string|int $w, [integer $wtimeout], [boolean $journal])%Construct immutable WriteConcern MongoDate%object MongoDate([int $sec = time()], [int $usec])%Creates a new date. MongoDeleteBatch%object MongoDeleteBatch(MongoCollection $collection, [array $write_options])%Description MongoGridFS%object MongoGridFS(MongoDB $db, [string $prefix = "fs"], [mixed $chunks = "fs"])%Creates new file collections @@ -134,7 +141,7 @@ ParentIterator%object ParentIterator(RecursiveIterator $iterator)%Constructs a P Phar%object Phar(string $fname, [int $flags], [string $alias])%Construct a Phar archive object PharData%object PharData(string $fname, [int $flags], [string $alias], [int $format])%Construct a non-executable tar or zip archive object PharFileInfo%object PharFileInfo(string $entry)%Construct a Phar entry object -Pool%object Pool(integer $size, string $class, [array $ctor])%Creates a new Pool of Workers +Pool%object Pool(integer $size, [string $class], [array $ctor])%Creates a new Pool of Workers QuickHashIntHash%object QuickHashIntHash(int $size, [int $options])%Creates a new QuickHashIntHash object QuickHashIntSet%object QuickHashIntSet(int $size, [int $options])%Creates a new QuickHashIntSet object QuickHashIntStringHash%object QuickHashIntStringHash(int $size, [int $options])%Creates a new QuickHashIntStringHash object @@ -169,7 +176,7 @@ SNMP%object SNMP(int $version, string $hostname, string $community, [int $timeou SQLite3%object SQLite3(string $Dateiname, [int $Schalter], [string $Verschlüsselungs-Phrase])%Instantiiert ein SQLite3 Objekt und öffnet eine SQLite3 Datenbank SVM%object SVM()%Construct a new SVM object SVMModel%object SVMModel([string $filename])%Construct a new SVMModel -SimpleXMLElement%object SimpleXMLElement(string $data, [int $options], [bool $data_is_url = false], [string $ns = ""], [bool $is_prefix = false])%Creates a new SimpleXMLElement object +SimpleXMLElement%object SimpleXMLElement(string $data, [int $options], [bool $data_is_url], [string $ns], [bool $is_prefix])%Erstellt ein neues SimpleXMLElement-Objekt SoapClient%object SoapClient(mixed $wsdl, [array $options])%SoapClient-Konstruktor SoapFault%object SoapFault(string $faultcode, string $faultstring, [string $faultactor], [string $detail], [string $faultname], [string $headerfault])%SoapFault-Konstruktor SoapHeader%object SoapHeader(string $namespace, string $name, [mixed $data], [bool $mustUnderstand], [mixed $actor])%SoapHeader-Konstruktor @@ -189,15 +196,44 @@ SplTempFileObject%object SplTempFileObject([int $max_memory])%Construct a new te SplType%object SplType([mixed $initial_value], [bool $strict])%Creates a new value of some type Spoofchecker%object Spoofchecker()%Constructor Swish%object Swish(string $index_names)%Construct a Swish object -SyncEvent%object SyncEvent([string $name], [bool $manual])%Constructs a new SyncEvent object +SyncEvent%object SyncEvent([string $name], [bool $manual = false], [bool $prefire = false])%Constructs a new SyncEvent object SyncMutex%object SyncMutex([string $name])%Constructs a new SyncMutex object -SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock])%Constructs a new SyncReaderWriter object -SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval], [bool $autounlock])%Constructs a new SyncSemaphore object +SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock = true])%Constructs a new SyncReaderWriter object +SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval = 1], [bool $autounlock = true])%Constructs a new SyncSemaphore object +SyncSharedMemory%object SyncSharedMemory(string $name, integer $size)%Constructs a new SyncSharedMemory object TokyoTyrant%object TokyoTyrant([string $host], [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])%Construct a new TokyoTyrant object TokyoTyrantIterator%object TokyoTyrantIterator(mixed $object)%Construct an iterator TokyoTyrantQuery%object TokyoTyrantQuery(TokyoTyrantTable $table)%Construct a new query Transliterator%object Transliterator()%Private constructor to deny instantiation UConverter%object UConverter([string $destination_encoding], [string $source_encoding])%Create UConverter object +UI\Controls\Box%object UI\Controls\Box([integer $orientation = UI\Controls\Box::Horizontal])%Construct a new Box +UI\Controls\Button%object UI\Controls\Button(string $text)%Construct a new Button +UI\Controls\Check%object UI\Controls\Check(string $text)%Construct a new Check +UI\Controls\Entry%object UI\Controls\Entry([integer $type = UI\Controls\Entry::Normal])%Construct a new Entry +UI\Controls\Group%object UI\Controls\Group(string $title)%Construct a new Group +UI\Controls\Label%object UI\Controls\Label(string $text)%Construct a new Label +UI\Controls\MultilineEntry%object UI\Controls\MultilineEntry([integer $type])%Construct a new Multiline Entry +UI\Controls\Picker%object UI\Controls\Picker([integer $type = UI\Controls\Picker::Date])%Construct a new Picker +UI\Controls\Separator%object UI\Controls\Separator([integer $type = UI\Controls\Separator::Horizontal])%Construct a new Separator +UI\Controls\Slider%object UI\Controls\Slider(integer $min, integer $max)%Construct a new Slider +UI\Controls\Spin%object UI\Controls\Spin(integer $min, integer $max)%Construct a new Spin +UI\Draw\Brush%object UI\Draw\Brush(integer $color)%Construct a new Brush +UI\Draw\Brush\LinearGradient%object UI\Draw\Brush\LinearGradient(UI\Point $start, UI\Point $end)%Construct a Linear Gradient +UI\Draw\Brush\RadialGradient%object UI\Draw\Brush\RadialGradient(UI\Point $start, UI\Point $outer, float $radius)%Construct a new Radial Gradient +UI\Draw\Color%object UI\Draw\Color([integer $color])%Construct new Color +UI\Draw\Path%object UI\Draw\Path([integer $mode = UI\Draw\Path::Winding])%Construct a new Path +UI\Draw\Stroke%object UI\Draw\Stroke([integer $cap = UI\Draw\Line\Cap::Flat], [integer $join = UI\Draw\Line\Join::Miter], [float $thickness = 1], [float $miterLimit = 10])%Construct a new Stroke +UI\Draw\Text\Font%object UI\Draw\Text\Font(UI\Draw\Text\Font\Descriptor $descriptor)%Construct a new Font +UI\Draw\Text\Font\Descriptor%object UI\Draw\Text\Font\Descriptor(string $family, float $size, [integer $weight = UI\Draw\Text\Font\Weight::Normal], [integer $italic = UI\Draw\Text\Font\Italic::Normal], [integer $stretch = UI\Draw\Text\Font\Stretch::Normal])%Construct a new Font Descriptor +UI\Draw\Text\Font\fontFamilies%array UI\Draw\Text\Font\fontFamilies()%Retrieve Font Families +UI\Draw\Text\Layout%object UI\Draw\Text\Layout(string $text, UI\Draw\Text\Font $font, float $width)%Construct a new Text Layout +UI\Executor%object UI\Executor(integer $microseconds, integer $seconds)%Construct a new Executor +UI\Menu%object UI\Menu(string $name)%Construct a new Menu +UI\Point%object UI\Point(float $x, float $y)%Construct a new Point +UI\Size%object UI\Size(float $width, float $height)%Construct a new Size +UI\Window%object UI\Window(string $title, Size $size, [boolean $menu = false])%Construct a new Window +UI\quit%void UI\quit()%Quit UI Loop +UI\run%void UI\run([integer $flags])%Enter UI Loop UnderflowException%object UnderflowException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnderflowException UnexpectedValueException%object UnexpectedValueException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnexpectedValueException V8Js%object V8Js([string $object_name = "PHP"], [array $variables = array()], [array $extensions = array()], [bool $report_uncaught_exceptions])%Erstellt ein neues V8Js-Objekt @@ -216,8 +252,8 @@ Yaf_Dispatcher%object Yaf_Dispatcher()%Yaf_Dispatcher constructor Yaf_Exception%object Yaf_Exception()%The __construct purpose Yaf_Loader%object Yaf_Loader()%The __construct purpose Yaf_Registry%object Yaf_Registry()%Yaf_Registry implements singleton -Yaf_Request_Http%object Yaf_Request_Http()%The __construct purpose -Yaf_Request_Simple%object Yaf_Request_Simple()%The __construct purpose +Yaf_Request_Http%object Yaf_Request_Http([string $request_uri], [string $base_uri])%Constructor of Yaf_Request_Http +Yaf_Request_Simple%object Yaf_Request_Simple([string $method], [string $module], [string $controller], [string $action], [array $params])%Constructor of Yaf_Request_Simple Yaf_Response_Abstract%object Yaf_Response_Abstract()%The __construct purpose Yaf_Route_Map%object Yaf_Route_Map([string $controller_prefer = false], [string $delimiter = ""])%The __construct purpose Yaf_Route_Regex%object Yaf_Route_Regex(string $match, array $route, [array $map], [array $verify], [string $reverse])%Yaf_Route_Regex constructor @@ -225,7 +261,7 @@ Yaf_Route_Rewrite%object Yaf_Route_Rewrite(string $match, array $route, [array $ Yaf_Route_Simple%object Yaf_Route_Simple(string $module_name, string $controller_name, string $action_name)%Yaf_Route_Simple constructor Yaf_Route_Supervar%object Yaf_Route_Supervar(string $supervar_name)%The __construct purpose Yaf_Router%object Yaf_Router()%Yaf_Router constructor -Yaf_Session%object Yaf_Session()%The __construct purpose +Yaf_Session%object Yaf_Session()%Constructor of Yaf_Session Yaf_View_Simple%object Yaf_View_Simple(string $template_dir, [array $options])%Constructor of Yaf_View_Simple Yar_Client%object Yar_Client(string $url)%Create a client Yar_Server%object Yar_Server(Object $obj)%Register a server @@ -233,6 +269,7 @@ ZMQ%object ZMQ()%ZMQ constructor ZMQContext%object ZMQContext([integer $io_threads = 1], [boolean $is_persistent = true])%Construct a new ZMQContext object ZMQDevice%object ZMQDevice(ZMQSocket $frontend, ZMQSocket $backend, [ZMQSocket $listener])%Construct a new device ZMQSocket%object ZMQSocket(ZMQContext $context, int $type, [string $persistent_id = null], [callback $on_new_socket = null])%Construct a new ZMQSocket +Zookeeper%object Zookeeper([string $host = ''], [callable $watcher_cb = null], [int $recv_timeout = 10000])%Create a handle to used communicate with zookeeper. __autoload%void __autoload(string $class)%Attempt to load undefined class __halt_compiler%void __halt_compiler()%Beendet die Kompilerausführung abs%number abs(mixed $number)%Absolutwert bzw. Betrag @@ -269,10 +306,22 @@ apc_inc%int apc_inc(string $key, [int $step = 1], [bool $success])%Increase a st apc_load_constants%bool apc_load_constants(string $key, [bool $case_sensitive = true])%Loads a set of constants from the cache apc_sma_info%array apc_sma_info([bool $limited = false])%Retrieves APC's Shared Memory Allocation information apc_store%array apc_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a variable in the data store +apcu_add%array apcu_add(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a new variable in the data store +apcu_cache_info%array apcu_cache_info([bool $limited = false])%Retrieves cached information from APCu's data store +apcu_cas%bool apcu_cas(string $key, int $old, int $new)%Updates an old value with a new value +apcu_clear_cache%bool apcu_clear_cache()%Clears the APCu cache +apcu_dec%int apcu_dec(string $key, [int $step = 1], [bool $success])%Decrease a stored number +apcu_delete%bool apcu_delete(mixed $key)%Removes a stored variable from the cache +apcu_entry%mixed apcu_entry(string $key, callable $generator, [int $ttl])%Atomically fetch or generate a cache entry +apcu_exists%mixed apcu_exists(mixed $keys)%Checks if entry exists +apcu_fetch%mixed apcu_fetch(mixed $key, [bool $success])%Fetch a stored variable from the cache +apcu_inc%int apcu_inc(string $key, [int $step = 1], [bool $success])%Increase a stored number +apcu_sma_info%array apcu_sma_info([bool $limited = false])%Retrieves APCu Shared Memory Allocation information +apcu_store%array apcu_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a variable in the data store array%array array([mixed ...])%Erstellt ein Array array_change_key_case%array array_change_key_case(array $array, [int $case = CASE_LOWER])%Ändert die Groß- oder Kleinschreibung aller Schlüssel in einem Array array_chunk%array array_chunk(array $array, int $size, [bool $preserve_keys = false])%Splittet ein Array in Teile auf -array_column%array array_column(array $array, mixed $column_key, [mixed $index_key = null])%Return the values from a single column in the input array +array_column%array array_column(array $input, mixed $column_key, [mixed $index_key = null])%Return the values from a single column in the input array array_combine%Array array_combine(array $keys, array $values)%Erzeugt ein Array, indem es ein Array für die Schlüssel und ein anderes für die Werte verwendet array_count_values%array array_count_values(array $array)%Zählt die Werte eines Arrays array_diff%array array_diff(array $array1, array $array2, [array ...])%Ermittelt die Unterschiede zwischen Arrays @@ -290,7 +339,7 @@ array_intersect_key%array array_intersect_key(array $array1, array $array2, [arr array_intersect_uassoc%array array_intersect_uassoc(array $array1, array $array2, [array ...], callable $key_compare_func)%Ermittelt die Schnittmenge von Arrays mit Indexprüfung; vergleicht Indizes mit einer Callbackfunktion array_intersect_ukey%array array_intersect_ukey(array $array1, array $array2, [array ...], callable $key_compare_func)%Ermittelt die Schnittmenge zweier Arrays mittels eines durch eine Callbackfunktion durchgeführten Schlüsselvergleiches array_key_exists%bool array_key_exists(mixed $key, array $array)%Prüft, ob ein Schlüssel in einem Array existiert -array_keys%array array_keys(array $array, [mixed $search_value], [bool $strict = false])%Liefert alle Schlüssel oder eine Teilmenge aller Schlüssel eines Arrays +array_keys%array array_keys(array $array, [mixed $search_value = null], [bool $strict = false])%Liefert alle Schlüssel oder eine Teilmenge aller Schlüssel eines Arrays array_map%array array_map(callable $callback, array $array1, [array ...])%Wendet eine Callback-Funktion auf die Elemente von Arrays an array_merge%array array_merge(array $array1, [array ...])%Führt zwei oder mehr Arrays zusammen array_merge_recursive%array array_merge_recursive(array $array1, [array ...])%Führt ein oder mehrere Arrays rekursiv zusammen @@ -334,15 +383,15 @@ base64_encode%string base64_encode(string $data)%Kodiert Daten MIME base64 base_convert%string base_convert(string $number, int $frombase, int $tobase)%Konvertiert einen numerischen Wert zwischen verschiedenen Zahlensystemen basename%string basename(string $path, [string $suffix])%Gibt letzten Namensteil einer Pfadangabe zurück bcadd%string bcadd(string $left_operand, string $right_operand, [int $scale])%Addition zweier Zahlen beliebiger Genauigkeit -bccomp%int bccomp(string $left_operand, string $right_operand, [int $scale = int])%Vergleich zweier Zahlen beliebiger Genauigkeit -bcdiv%string bcdiv(string $left_operand, string $right_operand, [int $scale = int])%Division zweier Zahlen beliebiger Genauigkeit +bccomp%int bccomp(string $left_operand, string $right_operand, [int $scale])%Vergleich zweier Zahlen beliebiger Genauigkeit +bcdiv%string bcdiv(string $left_operand, string $right_operand, [int $scale])%Division zweier Zahlen beliebiger Genauigkeit bcmod%string bcmod(string $left_operand, string $modulus)%Modulo zweier Zahlen mit beliebiger Genauigkeit -bcmul%string bcmul(string $left_operand, string $right_operand, [int $scale = int])%Multiplikation zweier Zahlen beliebiger Genauigkeit +bcmul%string bcmul(string $left_operand, string $right_operand, [int $scale])%Multiplikation zweier Zahlen beliebiger Genauigkeit bcpow%string bcpow(string $left_operand, string $right_operand, [int $scale])%Potenz einer Zahl beliebiger Genauigkeit -bcpowmod%string bcpowmod(string $left_operand, string $right_operand, string $modulus, [int $scale = int])%Potenz einer Zahl beliebiger Genauigkeit, vermindert um ein angegebenen Modulo +bcpowmod%string bcpowmod(string $left_operand, string $right_operand, string $modulus, [int $scale])%Potenz einer Zahl beliebiger Genauigkeit, vermindert um ein angegebenen Modulo bcscale%bool bcscale(int $scale)%Setzt die Genauigkeit aller BCmath-Funktionen bcsqrt%string bcsqrt(string $operand, [int $scale])%Ermittelt die Quadratwurzel einer Zahl beliebiger Genauigkeit -bcsub%string bcsub(string $left_operand, string $right_operand, [int $scale = int])%Subtrahiert zwei Zahlen beliebiger Genauigkeit +bcsub%string bcsub(string $left_operand, string $right_operand, [int $scale])%Subtrahiert zwei Zahlen beliebiger Genauigkeit bin2hex%string bin2hex(string $str)%Wandelt Binär-Daten in ihre hexadezimale Entsprechung um bind_textdomain_codeset%string bind_textdomain_codeset(string $domain, string $codeset)%Gibt das Encoding an, in dem Texte aus der Übersetzungstabelle der DOMAIN zurückgegeben werden bindec%float bindec(string $binary_string)%Umwandlung von binär zu dezimal @@ -357,7 +406,7 @@ bzdecompress%mixed bzdecompress(string $source, [int $small])%Dekomprimiert bzip bzerrno%int bzerrno(resource $bz)%Gibt eine bzip2-Fehlernummer zurück bzerror%array bzerror(resource $bz)%Gibt die bzip2-Fehlernummer und die -Fehlermeldung in einem Array zurück bzerrstr%string bzerrstr(resource $bz)%Gibt eine bzip2-Fehlermeldung zurück -bzflush%int bzflush(resource $bz)%Erzwingt das Schreiben aller gepufferten Daten +bzflush%bool bzflush(resource $bz)%Erzwingt das Schreiben aller gepufferten Daten bzopen%resource bzopen(string $file, string $mode)%Öffnet eine bzip2-komprimierte Datei bzread%string bzread(resource $bz, [int $length = 1024])%Binär-sicheres Lesen aus einer bzip2-Datei bzwrite%int bzwrite(resource $bz, string $data, [int $length])%Binär-sicheres Schreiben einer bzip2-Datei @@ -548,12 +597,14 @@ decoct%string decoct(int $number)%Dezimal zu Oktal Umwandlung define%bool define(string $name, mixed $value, [bool $case_insensitive = false])%Definiert eine benannte Konstante define_syslog_variables%void define_syslog_variables()%Initialisiert alle SysLog-bezogenen Variablen defined%bool defined(string $name)%Prüft, ob eine benannte Konstante existiert +deflate_add%string deflate_add(resource $context, string $data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally deflate data +deflate_init%resource deflate_init(int $encoding, [array $options = array()])%Initialize an incremental deflate context deg2rad%float deg2rad(float $number)%Rechnet einen Winkel von Grad in Bogenmaß um delete%void delete()%Siehe unlink oder unset dgettext%string dgettext(string $domain, string $message)%Überschreibt die aktuelle Domain die%void die()%Entspricht exit dir%Directory dir(string $directory, [resource $context])%Gibt eine Instanz der Directory Klasse zurück -dirname%string dirname(string $path)% +dirname%string dirname(string $path, [int $levels = 1])%Gibt den Pfad des übergeordneten Verzeichnisses zurück disk_free_space%float disk_free_space(string $directory)%Gibt verfügbaren Platz auf Dateisystem oder Partition zurück disk_total_space%float disk_total_space(string $directory)%Gibt die Gesamtgröße eines Dateisystemes oder einer Partition zurück diskfreespace%void diskfreespace()%Alias von disk_free_space @@ -587,7 +638,7 @@ eio_ftruncate%resource eio_ftruncate(mixed $fd, [int $offset], [int $pri = EIO_P eio_futime%resource eio_futime(mixed $fd, float $atime, float $mtime, [int $pri = EIO_PRI_DEFAULT], [callable $callback = NULL], [mixed $data = NULL])%Change file last access and modification times eio_get_event_stream%mixed eio_get_event_stream()%Get stream representing a variable used in internal communications with libeio. eio_get_last_error%string eio_get_last_error(resource $req)%Returns string describing the last error associated with a request resource -eio_grp%resource eio_grp(callable $callback, [string $data = NULL])%Createsa request group. +eio_grp%resource eio_grp(callable $callback, [string $data = NULL])%Creates a request group. eio_grp_add%void eio_grp_add(resource $grp, resource $req)%Adds a request to the request group. eio_grp_cancel%void eio_grp_cancel(resource $grp)%Cancels a request group eio_grp_limit%void eio_grp_limit(resource $grp, int $limit)%Set group limit @@ -659,7 +710,7 @@ error_get_last%array error_get_last()%Liefert den zuletzt aufgetretenen Fehler error_log%bool error_log(string $message, [int $message_type], [string $destination], [string $extra_headers])%Sendet eine Fehlermeldung an die definierten Fehlerbehandlungsroutinen error_reporting%int error_reporting([int $level])%Gibt an, welche PHP-Fehlermeldungen gemeldet werden escapeshellarg%string escapeshellarg(string $arg)%Maskiert eine Zeichenkette (String), um sie als Shell-Argument benutzen zu können -escapeshellcmd%string escapeshellcmd(string $befehl)%Maskiert Shell-Metazeichen +escapeshellcmd%string escapeshellcmd(string $command)%Maskiert Shell-Metazeichen eval%mixed eval(string $code)%Wertet eine Zeichenkette als PHP-Code aus exec%string exec(string $command, [array $output], [int $return_var])%Führt ein externes Programm aus exif_imagetype%int exif_imagetype(string $filename)%Ermittelt den Bildtyp @@ -824,7 +875,7 @@ fgets%string fgets(resource $handle, [int $length])%Liest eine Zeile von der Pos fgetss%string fgetss(resource $handle, [int $length], [string $allowable_tags])%Liest eine Zeile von der Position des Dateizeigers und entfernt HTML Tags. file%array file(string $filename, [int $flags], [resource $context])%Liest eine komplette Datei in ein Array file_exists%bool file_exists(string $filename)%Prüft, ob eine Datei oder ein Verzeichnis existiert -file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset = -1], [int $maxlen])%Liest die gesamte Datei in einen String +file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset], [int $maxlen])%Liest die gesamte Datei in einen String file_put_contents%int file_put_contents(string $filename, mixed $data, [int $flags], [resource $context])%Schreibt einen String in eine Datei fileatime%int fileatime(string $filename)%Liefert Datum und Uhrzeit des letzten Zugriffs auf eine Datei filectime%int filectime(string $filename)%Liefert Datum und Uhrzeit der letzten Änderung des Datei Inode @@ -837,10 +888,10 @@ filesize%int filesize(string $filename)%Liefert die Größe einer Datei filetype%string filetype(string $filename)%Liefert den Typ einer Datei filter_has_var%bool filter_has_var(int $type, string $variable_name)%Prüft, ob eine Variable des angegebenen Typs existiert filter_id%int filter_id(string $filtername)%Liefert die Filter-ID zu einem Filternamen -filter_input%mixed filter_input(int $type, string $variable_name, [int $filter], [mixed $options])%Nimmt eine Variable von Außen entgegen und filtert sie optional +filter_input%mixed filter_input(int $type, string $variable_name, [int $filter = FILTER_DEFAULT], [mixed $options])%Nimmt eine Variable von Außen entgegen und filtert sie optional filter_input_array%mixed filter_input_array(int $type, [mixed $definition], [bool $add_empty = true])%Nimmt mehrere Variablen von Außen entgegen und filtert sie optional filter_list%array filter_list()%Liefert eine Liste aller unterstützten Filter -filter_var%mixed filter_var(mixed $variable, [int $filter], [mixed $options])%Filtern einer Variablen durch einen spezifischen Filter +filter_var%mixed filter_var(mixed $variable, [int $filter = FILTER_DEFAULT], [mixed $options])%Filtern einer Variablen mit einem angegebenen Filter filter_var_array%mixed filter_var_array(array $data, [mixed $definition])%Nimmt mehrere Variablen entgegen und filtert sie optional finfo%object finfo([int $options = FILEINFO_NONE], [string $magic_file])%Alias von finfo_open finfo_buffer%string finfo_buffer(resource $finfo, string $string, [int $options = FILEINFO_NONE], [resource $context])%Return information about a string buffer @@ -951,14 +1002,14 @@ gethostbyname%string gethostbyname(string $hostname)%Ermittelt die zum angegeben gethostbynamel%array gethostbynamel(string $hostname)%Ermittelt eine Liste von IPv4-Adressen passend zum angegebenen Internet-Hostnamen gethostname%string gethostname()%Gets the host name getimagesize%array getimagesize(string $filename, [array $imageinfo])%Ermittelt die Größe einer Grafik -getimagesizefromstring%array getimagesizefromstring(string $imagedata, [array $imageinfo])%Get the size of an image from a string +getimagesizefromstring%array getimagesizefromstring(string $imagedata, [array $imageinfo])%Ermittelt die Größe einer Grafik von einem String getlastmod%int getlastmod()%Uhrzeit der letzten Änderung eines Scripts getmxrr%bool getmxrr(string $hostname, array $mxhosts, [array $weight])%Ermittelt die zu einem Internet-Hostnamen passenden MX-Records getmygid%int getmygid()%Get PHP script owner's GID getmyinode%int getmyinode()%Ermittelt den Inode eines Skripts getmypid%int getmypid()%Prozess-Id eines Scripts getmyuid%int getmyuid()%Zeigt die User-ID des Besitzers eines PHP-Scripts -getopt%array getopt(string $options, [array $longopts])%Gets options from the command line argument list +getopt%array getopt(string $options, [array $longopts], [int $optind])%Gets options from the command line argument list getprotobyname%int getprotobyname(string $name)%Ermittelt die Protokollnummer anhand des Protokollnamens getprotobynumber%string getprotobynumber(int $number)%Ermittelt den Protokollnamen anhand der Protokollnummer getrandmax%int getrandmax()%Liefert die maximale Zufallszahl @@ -1078,56 +1129,8 @@ html_entity_decode%string html_entity_decode(string $string, [int $flags = ENT_C htmlentities%string htmlentities(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%Wandelt alle geeigneten Zeichen in entsprechende HTML-Codes um htmlspecialchars%string htmlspecialchars(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%Wandelt Sonderzeichen in HTML-Codes um htmlspecialchars_decode%string htmlspecialchars_decode(string $string, [int $flags = ENT_COMPAT | ENT_HTML401])%Konvertiert besondere HTML-Auszeichnungen zurück in Buchstaben -http_build_cookie%string http_build_cookie(array $cookie)%Build cookie string http_build_query%string http_build_query(mixed $query_data, [string $numeric_prefix], [string $arg_separator], [int $enc_type])%Erstellen eines URL-kodierten Query-Strings -http_build_str%string http_build_str(array $query, [string $prefix], [string $arg_separator = ini_get("arg_separator.output")])%Build query string -http_build_url%string http_build_url([mixed $url], [mixed $parts], [int $flags = HTTP_URL_REPLACE], [array $new_url])%Build a URL -http_cache_etag%bool http_cache_etag([string $etag])%Caching by ETag -http_cache_last_modified%bool http_cache_last_modified([int $timestamp_or_expires])%Caching by last modification -http_chunked_decode%string http_chunked_decode(string $encoded)%Decode chunked-encoded data -http_date%string http_date([int $timestamp])%Compose HTTP RFC compliant date -http_deflate%string http_deflate(string $data, [int $flags])%Deflate data -http_get%string http_get(string $url, [array $options], [array $info])%Perform GET request -http_get_request_body%string http_get_request_body()%Get request body as string -http_get_request_body_stream%resource http_get_request_body_stream()%Get request body as stream -http_get_request_headers%array http_get_request_headers()%Get request headers as array -http_head%string http_head(string $url, [array $options], [array $info])%Perform HEAD request -http_inflate%string http_inflate(string $data)%Inflate data -http_match_etag%bool http_match_etag(string $etag, [bool $for_range = false])%Match ETag -http_match_modified%bool http_match_modified([int $timestamp = -1], [bool $for_range = false])%Match last modification -http_match_request_header%bool http_match_request_header(string $header, string $value, [bool $match_case = false])%Match any header -http_negotiate_charset%string http_negotiate_charset(array $supported, [array $result])%Negotiate client's preferred character set -http_negotiate_content_type%string http_negotiate_content_type(array $supported, [array $result])%Negotiate client's preferred content type -http_negotiate_language%string http_negotiate_language(array $supported, [array $result])%Negotiate client's preferred language -http_parse_cookie%object http_parse_cookie(string $cookie, [int $flags], [array $allowed_extras])%Parse HTTP cookie -http_parse_headers%array http_parse_headers(string $header)%Parse HTTP headers -http_parse_message%object http_parse_message(string $message)%Parse HTTP messages -http_parse_params%object http_parse_params(string $param, [int $flags = HTTP_PARAMS_DEFAULT])%Parse parameter list -http_persistent_handles_clean%string http_persistent_handles_clean([string $ident])%Clean up persistent handles -http_persistent_handles_count%object http_persistent_handles_count()%Stat persistent handles -http_persistent_handles_ident%string http_persistent_handles_ident([string $ident])%Get/set ident of persistent handles -http_post_data%string http_post_data(string $url, string $data, [array $options], [array $info])%Perform POST request with pre-encoded data -http_post_fields%string http_post_fields(string $url, array $data, [array $files], [array $options], [array $info])%Perform POST request with data to be encoded -http_put_data%string http_put_data(string $url, string $data, [array $options], [array $info])%Perform PUT request with data -http_put_file%string http_put_file(string $url, string $file, [array $options], [array $info])%Perform PUT request with file -http_put_stream%string http_put_stream(string $url, resource $stream, [array $options], [array $info])%Perform PUT request with stream -http_redirect%bool http_redirect([string $url], [array $params], [bool $session = false], [int $status])%Issue HTTP redirect -http_request%string http_request(int $method, string $url, [string $body], [array $options], [array $info])%Perform custom request -http_request_body_encode%string http_request_body_encode(array $fields, array $files)%Encode request body -http_request_method_exists%int http_request_method_exists(mixed $method)%Check whether request method exists -http_request_method_name%string http_request_method_name(int $method)%Get request method name -http_request_method_register%int http_request_method_register(string $method)%Register request method -http_request_method_unregister%bool http_request_method_unregister(mixed $method)%Unregister request method -http_response_code%int http_response_code([int $response_code])%Get or Set the HTTP response code -http_send_content_disposition%bool http_send_content_disposition(string $filename, [bool $inline = false])%Send Content-Disposition -http_send_content_type%bool http_send_content_type([string $content_type = "application/x-octetstream"])%Send Content-Type -http_send_data%bool http_send_data(string $data)%Send arbitrary data -http_send_file%bool http_send_file(string $file)%Send file -http_send_last_modified%bool http_send_last_modified([int $timestamp = time()])%Send Last-Modified -http_send_status%bool http_send_status(int $status)%Send HTTP response status -http_send_stream%bool http_send_stream(resource $stream)%Send stream -http_support%int http_support([int $feature])%Check built-in HTTP support -http_throttle%void http_throttle(float $sec, [int $bytes = 40960])%HTTP throttling +http_response_code%mixed http_response_code([int $response_code])%Get or Set the HTTP response code hypot%float hypot(float $x, float $y)%Länge der Hypotenuse eines rechtwinkligen Dreiecks ibase_add_user%bool ibase_add_user(resource $service_handle, string $user_name, string $password, [string $first_name], [string $middle_name], [string $last_name])%Add a user to a security database ibase_affected_rows%int ibase_affected_rows([resource $link_identifier])%Return the number of rows that were affected by the previous query @@ -1189,7 +1192,6 @@ iconv_strrpos%int iconv_strrpos(string $haystack, string $needle, [string $chars iconv_substr%string iconv_substr(string $str, int $offset, [int $length = iconv_strlen($str, $charset)], [string $charset = ini_get("iconv.internal_encoding")])%Cut out part of a string idate%int idate(string $format, [int $timestamp = time()])%Format a local time/date as integer idn_to_ascii%string idn_to_ascii(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convert domain name to IDNA ASCII form. -idn_to_unicode%void idn_to_unicode()%Alias von idn_to_utf8 idn_to_utf8%string idn_to_utf8(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convert domain name from IDNA ASCII to Unicode. ignore_user_abort%int ignore_user_abort([string $value])%Stellt ein, ob der Verbindungsabbruch eines Clients die Skript-Ausführung abbrechen soll iis_add_server%int iis_add_server(string $path, string $comment, string $server_ip, int $port, string $host_name, int $rights, int $start_server)%Creates a new virtual web server @@ -1212,11 +1214,12 @@ image2wbmp%bool image2wbmp(resource $image, [string $filename], [int $threshold] image_type_to_extension%string image_type_to_extension(int $imagetype, [bool $include_dot])%Get file extension for image type image_type_to_mime_type%string image_type_to_mime_type(int $imagetype)%Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype imageaffine%resource imageaffine(resource $image, array $affine, [array $clip])%Return an image containing the affine transformed src image, using an optional clipping area -imageaffinematrixconcat%array imageaffinematrixconcat(array $m1, array $m2)%Concat two matrices (as in doing many ops in one go) -imageaffinematrixget%array imageaffinematrixget(int $type, [mixed $options])%Return an image containing the affine tramsformed src image, using an optional clipping area +imageaffinematrixconcat%array imageaffinematrixconcat(array $m1, array $m2)%Concatenate two affine transformation matrices +imageaffinematrixget%array imageaffinematrixget(int $type, mixed $options)%Get an affine transformation matrix imagealphablending%bool imagealphablending(resource $image, bool $blendmode)%Set the blending mode for an image imageantialias%bool imageantialias(resource $image, bool $enabled)%Should antialias functions be used or not imagearc%bool imagearc(resource $image, int $cx, int $cy, int $width, int $height, int $start, int $end, int $color)%Zeichnet einen Bogen +imagebmp%bool imagebmp(resource $image, mixed $to, [bool $compressed])%Output a BMP image to browser or file imagechar%bool imagechar(resource $image, int $font, int $x, int $y, string $c, int $color)%Stellt ein Zeichen horizontal dar imagecharup%void imagecharup()%Zeichnet einen vertikal ausgerichteten Charakter imagecolorallocate%void imagecolorallocate()%Bestimmt die Farbe einer Grafik @@ -1242,6 +1245,7 @@ imagecopymergegray%bool imagecopymergegray(resource $dst_im, resource $src_im, i imagecopyresampled%bool imagecopyresampled(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%Copy and resize part of an image with resampling imagecopyresized%bool imagecopyresized(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%Kopieren und Ändern der Größe eines Bild-Teiles imagecreate%void imagecreate()%Erzeugt ein neues Bild +imagecreatefrombmp%resource imagecreatefrombmp(string $filename)%Erzeugt ein neues Bild aus einer Datei oder URL imagecreatefromgd%resource imagecreatefromgd(string $filename)%Create a new image from GD file or URL imagecreatefromgd2%resource imagecreatefromgd2(string $filename)%Create a new image from GD2 file or URL imagecreatefromgd2part%resource imagecreatefromgd2part(string $filename, int $srcX, int $srcY, int $width, int $height)%Create a new image from a given part of GD2 file or URL @@ -1254,10 +1258,10 @@ imagecreatefromwebp%resource imagecreatefromwebp(string $filename)%Erzeugt ein n imagecreatefromxbm%resource imagecreatefromxbm(string $filename)%Erzeugt ein neues Bild aus einer Datei oder URL imagecreatefromxpm%resource imagecreatefromxpm(string $filename)%Erzeugt ein neues Bild aus einer Datei oder URL imagecreatetruecolor%resource imagecreatetruecolor(int $width, int $height)%Create a new true color image -imagecrop%resource imagecrop(resource $image, array $rect)%Crop an image using the given coordinates and size, x, y, width and height +imagecrop%resource imagecrop(resource $image, array $rect)%Crop an image to the given rectangle imagecropauto%resource imagecropauto(resource $image, [int $mode = -1], [float $threshold = .5], [int $color = -1])%Crop an image automatically using one of the available modes imagedashedline%void imagedashedline()%Zeichnen einer gestrichelten Linie -imagedestroy%void imagedestroy()%Löscht ein Bild +imagedestroy%bool imagedestroy(resource $image)%Löscht ein Bild imageellipse%bool imageellipse(resource $image, int $cx, int $cy, int $width, int $height, int $color)%Draw an ellipse imagefill%void imagefill()%Füllen mit Farbe ("flood fill") imagefilledarc%bool imagefilledarc(resource $image, int $cx, int $cy, int $width, int $height, int $start, int $end, int $color, int $style)%Draw a partial arc and fill it @@ -1272,20 +1276,22 @@ imagefontwidth%void imagefontwidth()%Ermittelt die Font-Breite imageftbbox%array imageftbbox(float $size, float $angle, string $fontfile, string $text, [array $extrainfo])%Give the bounding box of a text using fonts via freetype2 imagefttext%array imagefttext(resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text, [array $extrainfo])%Write text to the image using fonts using FreeType 2 imagegammacorrect%void imagegammacorrect()%Anwendung einer Gamma-Korrektur auf ein GD-Bild -imagegd%bool imagegd(resource $image, [string $filename])%Output GD image to browser or file -imagegd2%bool imagegd2(resource $image, [string $filename], [int $chunk_size], [int $type = IMG_GD2_RAW])%Output GD2 image to browser or file -imagegif%bool imagegif(resource $image, [string $filename])%Gibt das Bild im Browser oder einer Datei aus. +imagegd%bool imagegd(resource $image, [mixed $to = NULL])%Output GD image to browser or file +imagegd2%bool imagegd2(resource $image, [mixed $to = NULL], [int $chunk_size = 128], [int $type = IMG_GD2_RAW])%Output GD2 image to browser or file +imagegetclip%array imagegetclip(resource $im)%Get the clipping rectangle +imagegif%bool imagegif(resource $image, [mixed $to])%Gibt das Bild im Browser oder einer Datei aus. imagegrabscreen%resource imagegrabscreen()%Captures the whole screen imagegrabwindow%resource imagegrabwindow(int $window_handle, [int $client_area])%Captures a window imageinterlace%void imageinterlace()%Schaltet die Interlaced-Darstellung eines Bildes an oder aus imageistruecolor%bool imageistruecolor(resource $image)%Finds whether an image is a truecolor image -imagejpeg%bool imagejpeg(resource $image, [string $filename], [int $quality])%Gibt das Bild im Browser oder einer Datei aus. -imagelayereffect%bool imagelayereffect(resource $image, int $effect)%Set the alpha blending flag to use the bundled libgd layering effects +imagejpeg%bool imagejpeg(resource $image, [mixed $to], [int $quality])%Gibt das Bild im Browser oder einer Datei aus. +imagelayereffect%bool imagelayereffect(resource $image, int $effect)%Set the alpha blending flag to use layering effects imageline%void imageline()%Zeichnen einer Linie imageloadfont%void imageloadfont()%Lädt einen neuen Font +imageopenpolygon%bool imageopenpolygon(resource $image, array $points, int $num_points, int $color)%Draws an open polygon imagepalettecopy%void imagepalettecopy(resource $destination, resource $source)%Copy the palette from one image to another imagepalettetotruecolor%bool imagepalettetotruecolor(resource $src)%Converts a palette based image to true color -imagepng%bool imagepng(resource $image, [string $filename], [int $quality], [int $filters])%Ausgabe eines Bildes im Browser oder als Datei im PNG-Format +imagepng%bool imagepng(resource $image, [mixed $to], [int $quality], [int $filters])%Ausgabe eines Bildes im Browser oder als Datei im PNG-Format imagepolygon%void imagepolygon()%Zeichnen eines Vielecks (Polygon) imagepsbbox%void imagepsbbox()%Ermittelt die Ausmaße des Rechtecks, das für die Ausgabe eines Textes unter Verwendung eines PostScript-Fonts (Typ 1) notwendig ist. imagepsencodefont%void imagepsencodefont()%Ändert die Vektor-Beschreibung eines Fonts @@ -1295,10 +1301,12 @@ imagepsloadfont%void imagepsloadfont()%Lädt einen Typ 1 PostScript-Font aus ein imagepsslantfont%void imagepsslantfont()%Setzt einen Font schräg imagepstext%void imagepstext()%Ausgabe eines Textes auf einem Bild unter Verwendung von Typ 1 PostScript-Fonts imagerectangle%void imagerectangle()%Zeichnet ein Rechteck +imageresolution%mixed imageresolution(resource $image, [int $res_x], [int $res_y])%Get or set the resolution of the image imagerotate%resource imagerotate(resource $image, float $angle, int $bgd_color, [int $ignore_transparent])%Rotate an image with a given angle imagesavealpha%bool imagesavealpha(resource $image, bool $saveflag)%Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images imagescale%resource imagescale(resource $image, int $new_width, [int $new_height = -1], [int $mode = IMG_BILINEAR_FIXED])%Scale an image using the given new width and height imagesetbrush%bool imagesetbrush(resource $image, resource $brush)%Set the brush image for line drawing +imagesetclip%bool imagesetclip(resource $im, int $x1, int $y1, int $x2, int $y2)%Set the clipping rectangle imagesetinterpolation%bool imagesetinterpolation(resource $image, [int $method = IMG_BILINEAR_FIXED])%Set the interpolation method imagesetpixel%void imagesetpixel()%Setzt ein einzelnes Pixel imagesetstyle%bool imagesetstyle(resource $image, array $style)%Set the style for line drawing @@ -1312,8 +1320,8 @@ imagetruecolortopalette%bool imagetruecolortopalette(resource $image, bool $dith imagettfbbox%void imagettfbbox()%Ermittelt die Rahmenmaße für die Ausgabe eines Textes im True-Type-Format imagettftext%void imagettftext()%Erzeugt TTF-Text im Bild imagetypes%void imagetypes()%Gibt die von der aktuell verwendeten PHP-Version unterstützten Grafik-Formate zurück -imagewbmp%bool imagewbmp(resource $image, [string $filename], [int $foreground])%Gibt das Bild im Browser oder einer Datei aus. -imagewebp%bool imagewebp(resource $image, string $filename)%Output an WebP image to browser or file +imagewbmp%bool imagewbmp(resource $image, [mixed $to], [int $foreground])%Gibt das Bild im Browser oder einer Datei aus. +imagewebp%bool imagewebp(resource $image, mixed $to, [int $quality = 80])%Output a WebP image to browser or file imagexbm%bool imagexbm(resource $image, string $filename, [int $foreground])%Output an XBM image to browser or file imap_8bit%string imap_8bit(string $string)%Konvertiert einen 8bit String in einen quoted-printable String imap_alerts%array imap_alerts()%Liefert alle aufgetretenen IMAP Alarmnachrichten @@ -1340,7 +1348,7 @@ imap_fetchtext%void imap_fetchtext()%Alias von imap_body imap_gc%bool imap_gc(resource $imap_stream, int $caches)%Leert den IMAP Cache imap_get_quota%array imap_get_quota(resource $imap_stream, string $quota_root)%Liefert Quota-Beschränkungen und Nutzungsstatistik der Postfächer imap_get_quotaroot%array imap_get_quotaroot(resource $imap_stream, string $quota_root)%Liefert die Quota-Beschränkungen für ein Benutzerpostfach -imap_getacl%array imap_getacl(resource $imap_stream, string $mailbox)%Liste der Zugriffsrechte für ein Postfach bestimmen +imap_getacl%array imap_getacl(resource $imap_stream, string $mailbox)%Liste der Zugriffsrechte für ein Postfach bestimmen imap_getmailboxes%array imap_getmailboxes(resource $imap_stream, string $ref, string $pattern)%Liefert detailierte Informationen zu allen verfügbaren Postfächern imap_getsubscribed%array imap_getsubscribed(resource $imap_stream, string $ref, string $pattern)%Liste aller abonnierten Postfächer imap_header%void imap_header()%Alias von imap_headerinfo @@ -1361,7 +1369,7 @@ imap_mime_header_decode%array imap_mime_header_decode(string $text)%Dekodiert MI imap_msgno%int imap_msgno(resource $imap_stream, int $uid)%Liefert die Nachrichtennummer für eine gegebene UID imap_num_msg%int imap_num_msg(resource $imap_stream)%Anzahl der Nachrichten im aktuellen Postfach imap_num_recent%int imap_num_recent(resource $imap_stream)%Nummer der kürzlich eingetroffenen Nachrichten -imap_open%resource imap_open(string $mailbox, string $username, string $password, [int $options = NIL], [int $n_retries])%Öffnet eine Verbindung zu einem Mailserver-Postfach +imap_open%resource imap_open(string $mailbox, string $username, string $password, [int $options], [int $n_retries], [array $params])%Öffnet eine Verbindung zu einem Mailserver-Postfach imap_ping%bool imap_ping(resource $imap_stream)%Prüft einen IMAP-Stream auf Funktionalität imap_qprint%string imap_qprint(string $string)%Konvertiert einen quoted-printable kodierten String in einen 8 Bit String imap_rename%void imap_rename()%Alias von imap_renamemailbox @@ -1395,6 +1403,8 @@ include%bool include(string $path)%Includes and evaluates the specified file include_once%bool include_once(string $path)%Includes and evaluates the specified file inet_ntop%string inet_ntop(string $in_addr)%Konvertiert eine komprimierte Internetadresse in ein menschenlesbares Format inet_pton%string inet_pton(string $address)%Konvertiert eine IP-Adresse im menschenlesbaren Format in eine komprimierte in_addr-Repräsentation +inflate_add%string inflate_add(resource $context, string $encoded_data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally inflate encoded data +inflate_init%resource inflate_init(int $encoding, [array $options = array()])%Initialize an incremental inflate context ini_alter%void ini_alter()%Alias von ini_set ini_get%string ini_get(string $varname)%Gets the value of a configuration option ini_get_all%array ini_get_all([string $extension], [bool $details = true])%Gets all configuration options @@ -1439,7 +1449,7 @@ is_resource%bool is_resource(mixed $var)%Prüft, ob eine Variable vom Typ resour is_scalar%resource is_scalar(mixed $var)%Prüft ob eine Variable skalar ist is_soap_fault%bool is_soap_fault(mixed $object)%Prüft, ob ein SOAP-Aufruf fehlgeschlagen ist is_string%bool is_string(mixed $var)%Prüft, ob Variable vom Typ string ist -is_subclass_of%bool is_subclass_of(mixed $object, string $class_name, [bool $allow_string])%Prüft ob ein Objekt von der angegebenen Klasse abstammt +is_subclass_of%bool is_subclass_of(mixed $object, string $class_name, [bool $allow_string])%Prüft ob ein Objekt von der angegebenen Klasse abstammt oder sie implementiert is_tainted%bool is_tainted(string $string)%Checks whether a string is tainted is_uploaded_file%bool is_uploaded_file(string $filename)%Prüft, ob die Datei mittels HTTP-POST upgeloadet wurde is_writable%bool is_writable(string $filename)%Prüft, ob in eine Datei geschrieben werden kann @@ -1575,7 +1585,7 @@ mb_decode_mimeheader%string mb_decode_mimeheader(string $str)%Decode string in M mb_decode_numericentity%string mb_decode_numericentity(string $str, array $convmap, [string $encoding = mb_internal_encoding()])%Decode HTML numeric string reference to character mb_detect_encoding%string mb_detect_encoding(string $str, [mixed $encoding_list = mb_detect_order()], [bool $strict = false])%Detect character encoding mb_detect_order%mixed mb_detect_order([mixed $encoding_list = mb_detect_order()])%Set/Get character encoding detection order -mb_encode_mimeheader%string mb_encode_mimeheader(string $str, [string $charset = mb_internal_encoding()], [string $transfer_encoding = "B"], [string $linefeed = "\r\n"], [int $indent])%Encode string for MIME header +mb_encode_mimeheader%string mb_encode_mimeheader(string $str, [string $charset = determined by mb_language()], [string $transfer_encoding = "B"], [string $linefeed = "\r\n"], [int $indent])%Encode string for MIME header mb_encode_numericentity%string mb_encode_numericentity(string $str, array $convmap, [string $encoding = mb_internal_encoding()], [bool $is_hex = FALSE])%Encode character to HTML numeric string reference mb_encoding_aliases%array mb_encoding_aliases(string $encoding)%Get aliases of a known encoding type mb_ereg%int mb_ereg(string $pattern, string $string, [array $regs])%Regular expression match with multibyte support @@ -1671,7 +1681,7 @@ mhash_get_block_size%void mhash_get_block_size()%Gibt die Blockgröße von dem mhash_get_hash_name%void mhash_get_hash_name()%Gibt den Namen eines Hashs zurück mhash_keygen_s2k%string mhash_keygen_s2k(int $hash, string $password, string $salt, int $bytes)%Generates a key microtime%mixed microtime([bool $get_as_float = false])%Gibt den aktuellen Unix-Timestamp/Zeitstempel mit Mikrosekunden zurück -mime_content_type%string mime_content_type(string $filename)%Ermittelt den MIME-Typ des Inhalts einer Datei(veraltet) +mime_content_type%string mime_content_type(string $filename)%Ermittelt den MIME-Typ des Inhalts einer Datei min%String min(array $values, mixed $value1, mixed $value2, [mixed ...])%Minimalwert bestimmen mkdir%bool mkdir(string $pathname, [int $mode = 0777], [bool $recursive = false], [resource $context])%Erstellt ein Verzeichnis mktime%int mktime([int $hour = date("H")], [int $minute = date("i")], [int $second = date("s")], [int $month = date("n")], [int $day = date("j")], [int $year = date("Y")], [int $is_dst = -1])%Gibt den Unix-Timestamp/Zeitstempel für ein Datum zurück @@ -1776,7 +1786,7 @@ mysql_tablename%string mysql_tablename(resource $result, int $i)%Liefert den Nam mysql_thread_id%int mysql_thread_id([resource $link_identifier = NULL])%Zeigt die aktuelle Thread ID an mysql_unbuffered_query%resource mysql_unbuffered_query(string $query, [resource $link_identifier = NULL])%Sendet eine SQL Anfrage an MySQL, ohne Ergebniszeilen abzuholen und zu puffern mysqli%object mysqli([string $host = ini_get("mysqli.default_host")], [string $username = ini_get("mysqli.default_user")], [string $passwd = ini_get("mysqli.default_pw")], [string $dbname = ""], [int $port = ini_get("mysqli.default_port")], [string $socket = ini_get("mysqli.default_socket")])%Open a new connection to the MySQL server -mysqli_autocommit%bool mysqli_autocommit(bool $mode, mysqli $link)%Aktiviert oder deaktiviert die automatische Datenbankänderungen +mysqli_autocommit%bool mysqli_autocommit(bool $mode, mysqli $link)%Aktiviert oder deaktiviert automatisches Bestätigen von Datenbankänderungen mysqli_begin_transaction%bool mysqli_begin_transaction([int $flags], [string $name], mysqli $link)%Starts a transaction mysqli_bind_param%void mysqli_bind_param()%Alias für mysqli_stmt_bind_param mysqli_bind_result%void mysqli_bind_result()%Alias für mysqli_stmt_bind_result @@ -1851,27 +1861,27 @@ mysqli_set_opt%void mysqli_set_opt()%Alias für mysqli_options mysqli_slave_query%bool mysqli_slave_query(mysqli $link, string $query)%Führt einen Query auf dem Slave in einer Master/Slave Umgebung durch mysqli_ssl_set%bool mysqli_ssl_set(string $key, string $cert, string $ca, string $capath, string $cipher, mysqli $link)%Used for establishing secure connections using SSL mysqli_stat%string mysqli_stat(mysqli $link)%Liefert den aktuellen System Status -mysqli_stmt%object mysqli_stmt(mysqli $link, [string $query])%Constructs a new mysqli_stmt object -mysqli_stmt_attr_get%int mysqli_stmt_attr_get(int $attr, mysqli_stmt $stmt)%Used to get the current value of a statement attribute -mysqli_stmt_attr_set%bool mysqli_stmt_attr_set(int $attr, int $mode, mysqli_stmt $stmt)%Used to modify the behavior of a prepared statement -mysqli_stmt_bind_param%bool mysqli_stmt_bind_param(string $types, mixed $var1, [mixed ...], mysqli_stmt $stmt)%Binds variables to a prepared statement as parameters -mysqli_stmt_bind_result%bool mysqli_stmt_bind_result(mixed $var1, [mixed ...], mysqli_stmt $stmt)%Binds variables to a prepared statement for result storage -mysqli_stmt_close%bool mysqli_stmt_close(mysqli_stmt $stmt)%Closes a prepared statement -mysqli_stmt_data_seek%void mysqli_stmt_data_seek(int $offset, mysqli_stmt $stmt)%Seeks to an arbitrary row in statement result set +mysqli_stmt%object mysqli_stmt(mysqli $link, [string $query])%Erzeugt ein neues mysqli_stmt Objekt +mysqli_stmt_attr_get%int mysqli_stmt_attr_get(int $attr, mysqli_stmt $stmt)%Wird verwendet, um den augenblicklichen Wert eines Attributs der Anweisung zu erhalten +mysqli_stmt_attr_set%bool mysqli_stmt_attr_set(int $attr, int $mode, mysqli_stmt $stmt)%Wird verwendet, um das Verhalten einer vorbereiteten Anweisung (prepared statement) zu verändern. +mysqli_stmt_bind_param%bool mysqli_stmt_bind_param(string $types, mixed $var1, [mixed ...], mysqli_stmt $stmt)%Bindet Variablen als Parameter an eine vorbereitete Anweisung (prepared statement) +mysqli_stmt_bind_result%bool mysqli_stmt_bind_result(mixed $var1, [mixed ...], mysqli_stmt $stmt)%Bindet Variablen an eine vorbereitete Anweisung (prepared statement), um das Ergebnis einer Abfrage abzulegen. +mysqli_stmt_close%bool mysqli_stmt_close(mysqli_stmt $stmt)%Schließt eine vorbereitete Anweisung (prepared statement) +mysqli_stmt_data_seek%void mysqli_stmt_data_seek(int $offset, mysqli_stmt $stmt)%Geht zu einer beliebigen Zeile in der Ergebnismenge einer Abfrage. mysqli_stmt_execute%bool mysqli_stmt_execute(mysqli_stmt $stmt)%Executes a prepared Query mysqli_stmt_fetch%bool mysqli_stmt_fetch(mysqli_stmt $stmt)%Fetch results from a prepared statement into the bound variables mysqli_stmt_free_result%void mysqli_stmt_free_result(mysqli_stmt $stmt)%Frees stored result memory for the given statement handle mysqli_stmt_get_result%mysqli_result mysqli_stmt_get_result(mysqli_stmt $stmt)%Gets a result set from a prepared statement mysqli_stmt_get_warnings%object mysqli_stmt_get_warnings(mysqli_stmt $stmt)%Get result of SHOW WARNINGS mysqli_stmt_init%mysqli_stmt mysqli_stmt_init(mysqli $link)%Initializes a statement and returns an object for use with mysqli_stmt_prepare -mysqli_stmt_more_results%bool mysqli_stmt_more_results(mysql_stmt $stmt)%Check if there are more query results from a multiple query -mysqli_stmt_next_result%bool mysqli_stmt_next_result(mysql_stmt $stmt)%Reads the next result from a multiple query +mysqli_stmt_more_results%bool mysqli_stmt_more_results(mysql_stmt $stmt)%Prüft, ob es weitere Ergebnismengen bei einer Mehrfachabfrage gibt. +mysqli_stmt_next_result%bool mysqli_stmt_next_result(mysql_stmt $stmt)%Liest die nächste Ergebnismenge einer Mehrfachabfrage aus. mysqli_stmt_prepare%bool mysqli_stmt_prepare(string $query, mysqli_stmt $stmt)%Prepare an SQL statement for execution mysqli_stmt_reset%bool mysqli_stmt_reset(mysqli_stmt $stmt)%Resets a prepared statement mysqli_stmt_result_metadata%mysqli_result mysqli_stmt_result_metadata(mysqli_stmt $stmt)%Returns result set metadata from a prepared statement -mysqli_stmt_send_long_data%bool mysqli_stmt_send_long_data(int $param_nr, string $data, mysqli_stmt $stmt)%Send data in blocks -mysqli_stmt_store_result%bool mysqli_stmt_store_result(mysqli_stmt $stmt)%Transfers a result set from a prepared statement -mysqli_store_result%mysqli_result mysqli_store_result([int $option])%Transfers a result set from the last query +mysqli_stmt_send_long_data%bool mysqli_stmt_send_long_data(int $param_nr, string $data, mysqli_stmt $stmt)%Sendet Daten blockweise +mysqli_stmt_store_result%bool mysqli_stmt_store_result(mysqli_stmt $stmt)%Holt die Ergebnismenge einer vorbereiteten Anweisung (Prepared Statement) +mysqli_store_result%mysqli_result mysqli_store_result([int $option], mysqli $link)%Transfers a result set from the last query mysqli_thread_safe%bool mysqli_thread_safe()%Returns whether thread safety is given or not mysqli_use_result%mysqli_result mysqli_use_result(mysqli $link)%Initiate a result set retrieval mysqli_warning%object mysqli_warning()%The __construct purpose @@ -1933,10 +1943,8 @@ numfmt_set_pattern%bool numfmt_set_pattern(string $pattern, NumberFormatter $fmt numfmt_set_symbol%bool numfmt_set_symbol(int $attr, string $value, NumberFormatter $fmt)%Set a symbol value numfmt_set_text_attribute%bool numfmt_set_text_attribute(int $attr, string $value, NumberFormatter $fmt)%Set a text attribute ob_clean%void ob_clean()%Löscht den Ausgabepuffer -ob_deflatehandler%string ob_deflatehandler(string $data, int $mode)%Deflate output handler ob_end_clean%bool ob_end_clean()%Löscht den Ausgabe-Puffer und deaktiviert die Ausgabe-Pufferung ob_end_flush%bool ob_end_flush()%Leert (schickt/sendet) den Ausgabe-Puffer und deaktiviert die Ausgabe-Pufferung -ob_etaghandler%string ob_etaghandler(string $data, int $mode)%ETag output handler ob_flush%void ob_flush()%Leert (sendet) den Ausgabepuffer ob_get_clean%string ob_get_clean()%Get current buffer contents and delete current output buffer ob_get_contents%string ob_get_contents()%Gibt den Inhalt des Ausgabe-Puffers zurück @@ -1947,7 +1955,6 @@ ob_get_status%array ob_get_status([bool $full_status = FALSE])%Get status of out ob_gzhandler%string ob_gzhandler(string $buffer, int $mode)%ob_start callback function to gzip output buffer ob_iconv_handler%string ob_iconv_handler(string $contents, int $status)%Konvertiert Zeichensatzkodierung als Ausgabepuffer-Handler (output buffer handler) ob_implicit_flush%void ob_implicit_flush([int $flag = true])%Schaltet die implizite Ausgabe ein bzw. aus -ob_inflatehandler%string ob_inflatehandler(string $data, int $mode)%Inflate output handler ob_list_handlers%array ob_list_handlers()%List all output handlers in use ob_start%bool ob_start([callable $output_callback], [int $chunk_size], [int $flags])%Ausgabepufferung aktivieren ob_tidyhandler%string ob_tidyhandler(string $input, [int $mode])%ob_start callback function to repair the buffer @@ -2109,10 +2116,10 @@ openssl_csr_get_public_key%resource openssl_csr_get_public_key(mixed $csr, [bool openssl_csr_get_subject%array openssl_csr_get_subject(mixed $csr, [bool $use_shortnames])%Gibt das Subject eines CERT zurück openssl_csr_new%mixed openssl_csr_new(array $dn, resource $privkey, [array $configargs], [array $extraattribs])%Erzeugt einen CSR openssl_csr_sign%resource openssl_csr_sign(mixed $csr, mixed $cacert, mixed $priv_key, int $days, [array $configargs], [int $serial])%Signiert einen CSR mit einem anderen Zertifikat (oder sich selbst) und generiert ein Zertifikat -openssl_decrypt%string openssl_decrypt(string $data, string $method, string $password, [int $options], [string $iv = ""])%Decrypts data +openssl_decrypt%string openssl_decrypt(string $data, string $method, string $password, [int $options], [string $iv = ""], [string $tag = ""], [string $aad = ""])%Decrypts data openssl_dh_compute_key%string openssl_dh_compute_key(string $pub_key, resource $dh_key)%Computes shared secret for public value of remote DH key and local DH key openssl_digest%string openssl_digest(string $data, string $method, [bool $raw_output = false])%Computes a digest -openssl_encrypt%string openssl_encrypt(string $data, string $method, string $password, [bool $raw_output = false], [string $iv = ""])%Verschlüsselt Daten +openssl_encrypt%string openssl_encrypt(string $data, string $method, string $password, [int $options], [string $iv = ""])%Verschlüsselt Daten openssl_error_string%string openssl_error_string()%Gibt eine openSSL Fehlermeldung zurück openssl_free_key%void openssl_free_key(resource $key_identifier)%Free key resource openssl_get_cert_locations%array openssl_get_cert_locations()%Retrieve the available certificate locations @@ -2172,7 +2179,7 @@ password_verify%boolean password_verify(string $password, string $hash)%Überpr pathinfo%mixed pathinfo(string $path, [int $options = PATHINFO_DIRNAME | PATHINFO_BASENAME | PATHINFO_EXTENSION | PATHINFO_FILENAME])%Liefert Informationen über einen Dateipfad pclose%int pclose(resource $handle)%Schließt einen Prozess-Dateizeiger pcntl_alarm%void pcntl_alarm()%Setzt einen Zeitschalter für die Auslieferung eines Signals -pcntl_errno%void pcntl_errno()%Alias von pcntl_strerror +pcntl_errno%void pcntl_errno()%Alias von pcntl_get_last_error pcntl_exec%void pcntl_exec()%Führt ein angegebenes Programm im aktuellen Prozessraum aus pcntl_fork%void pcntl_fork()%Verzweigt den laufenden Prozess pcntl_get_last_error%int pcntl_get_last_error()%Retrieve the error number set by the last pcntl function which failed @@ -2180,6 +2187,7 @@ pcntl_getpriority%void pcntl_getpriority()%Liest die Priorität irgendeines Proz pcntl_setpriority%void pcntl_setpriority()%Ändert die Priorität irgendeines Prozesses pcntl_signal%void pcntl_signal()%Richtet eine Signalverarbeitung ein pcntl_signal_dispatch%bool pcntl_signal_dispatch()%Calls signal handlers for pending signals +pcntl_signal_get_handler%int|string pcntl_signal_get_handler(int $signo)%Get the current handler for specified signal pcntl_sigprocmask%bool pcntl_sigprocmask(int $how, array $set, [array $oldset])%Sets and retrieves blocked signals pcntl_sigtimedwait%int pcntl_sigtimedwait(array $set, [array $siginfo], [int $seconds], [int $nanoseconds])%Waits for signals, with a timeout pcntl_sigwaitinfo%int pcntl_sigwaitinfo(array $set, [array $siginfo])%Waits for signals @@ -2284,7 +2292,7 @@ pg_update%mixed pg_update(resource $connection, string $table_name, array $data, pg_version%array pg_version([resource $connection])%Gibt ein Array zurück, das die Versionen von Client, Protokoll und Server enthält (falls verfügbar). php_check_syntax%bool php_check_syntax(string $filename, [string $error_message])%Überprüft die PHP Syntax der angegebenen Datei (und führt sie aus) php_ini_loaded_file%string php_ini_loaded_file()%Retrieve a path to the loaded php.ini file -php_ini_scanned_files%string php_ini_scanned_files()%Return a list of .ini files parsed from the additional ini dir +php_ini_scanned_files%string php_ini_scanned_files()%Liefert die Liste von analysierten .ini-Dateien aus einem zusätzlichen ini-Verzeichnis php_logo_guid%string php_logo_guid()%Die GUID des PHP-Logos php_sapi_name%string php_sapi_name()%Gibt das genutzte Interface zwischen PHP und dem Webserver zurück php_strip_whitespace%string php_strip_whitespace(string $filename)%Return source with stripped comments and whitespace @@ -2341,7 +2349,7 @@ preg_match%int preg_match(string $pattern, string $subject, [array $matches], [i preg_match_all%int preg_match_all(string $pattern, string $subject, [array $matches], [int $flags], [int $offset])%Führt eine umfassende Suche nach Übereinstimmungen mit regulärem Ausdruck durch preg_quote%string preg_quote(string $str, [string $delimiter])%Maskiert Zeichen regulärer Ausdrücke preg_replace%mixed preg_replace(mixed $pattern, mixed $replacement, mixed $subject, [int $limit = -1], [int $count])%Sucht und ersetzt mit regulären Ausdrücken -preg_replace_callback%mixed preg_replace_callback(mixed $pattern, callable $callback, mixed $subject, [int $limit = -1], [int $count])%Führt eine Suche mit einem regulären Ausdruck durch und ersetzt mittels eines Callbacks +preg_replace_callback%mixed preg_replace_callback(mixed $pattern, callable $callback, mixed $subject, [int $limit = -1], [int $count])%Sucht und ersetzt mit regulären Ausdrücken unter Verwendung eines Callbacks preg_replace_callback_array%mixed preg_replace_callback_array(array $patterns_and_callbacks, mixed $subject, [int $limit = -1], [int $count])%Perform a regular expression search and replace using callbacks preg_split%array preg_split(string $pattern, string $subject, [int $limit = -1], [int $flags])%Zerlegt eine Zeichenkette anhand eines regulären Ausdrucks prev%mixed prev(array $array)%Setzt den internen Zeiger eines Arrays um ein Element zurück @@ -2444,7 +2452,7 @@ rrdc_disconnect%void rrdc_disconnect()%Close any outstanding connection to rrd c rsort%bool rsort(array $array, [int $sort_flags = SORT_REGULAR])%Sortiert ein Array in umgekehrter Reihenfolge rtrim%string rtrim(string $str, [string $character_mask])%Entfernt Leerraum (oder andere Zeichen) vom Ende eines Strings scandir%Array scandir(string $directory, [int $sorting_order = SCANDIR_SORT_ASCENDING], [resource $context])%Listet Dateien und Verzeichnisse innerhalb eines angegebenen Pfades auf -sem_acquire%bool sem_acquire(resource $sem_identifier)%Zugriff auf Semaphor anfordern +sem_acquire%bool sem_acquire(resource $sem_identifier, [bool $nowait = false])%Zugriff auf Semaphor anfordern sem_get%resource sem_get(int $key, [int $max_acquire = 1], [int $perm = 0666], [int $auto_release = 1])%Zugriff auf ein Semaphor anfordern sem_release%bool sem_release(resource $sem_identifier)%Semaphor freigeben sem_remove%bool sem_remove(resource $sem_identifier)%Semaphor entfernen @@ -2453,9 +2461,11 @@ session_abort%void session_abort()%Discard session array changes and finish sess session_cache_expire%int session_cache_expire([string $new_cache_expire])%Liefert die aktuelle Cache-Verfallszeit session_cache_limiter%string session_cache_limiter([string $cache_limiter])%Liefert und/oder setzt die aktuelle Cacheverwaltung session_commit%void session_commit()%Alias von session_write_close +session_create_id%string session_create_id([string $prefix])%Create new session id session_decode%bool session_decode(string $data)%Dekodiert die Daten einer Session aus einer session-kodierten Zeichenkette session_destroy%bool session_destroy()%Löscht alle in einer Session registrierten Daten session_encode%string session_encode()%Kodiert die Daten der aktuellen Session als session-kodierte Zeichenkette +session_gc%int session_gc()%Perform session data garbage collection session_get_cookie_params%array session_get_cookie_params()%Liefert die Session-Cookie Parameter session_id%string session_id([string $id])%Liefert und/oder setzt die aktuelle Session-ID session_is_registered%bool session_is_registered(string $name)%Überprüft, ob eine globale Variable in einer Session registriert ist @@ -2481,7 +2491,7 @@ set_magic_quotes_runtime%void set_magic_quotes_runtime()%Setzt magic_quotes_runt set_socket_blocking%void set_socket_blocking()%Alias von stream_set_blocking set_time_limit%bool set_time_limit(int $seconds)%Beschränkt die maximale Ausführungszeit setcookie%bool setcookie(string $name, [string $value], [int $expire], [string $path], [string $domain], [bool $secure = false], [bool $httponly = false])%Sendet ein Cookie -setlocale%string setlocale(int $category, array $locale, [string ...])%Setzt Locale Informationen +setlocale%string setlocale(int $category, array $locale, [string ...])%Legt regionale (locale) Einstellungen fest setproctitle%void setproctitle(string $title)%Set the process title setrawcookie%bool setrawcookie(string $name, [string $value], [int $expire], [string $path], [string $domain], [bool $secure = false], [bool $httponly = false])%Sendet ein Cookie, ohne seinen Wert zu URL-kodieren setthreadtitle%bool setthreadtitle(string $title)%Set the thread title @@ -2547,6 +2557,7 @@ socket_create_listen%resource socket_create_listen(int $port, [int $backlog = 12 socket_create_pair%bool socket_create_pair(int $domain, int $type, int $protocol, array $fd)%Erzeugt ein Paar nicht zu unterscheidender Sockets und speichert sie in einem Array socket_get_option%mixed socket_get_option(resource $socket, int $level, int $optname)%Holt die Socket-Optionen für einen Socket socket_get_status%void socket_get_status()%Alias von stream_get_meta_data +socket_getopt%void socket_getopt()%Alias von socket_get_option socket_getpeername%bool socket_getpeername(resource $socket, string $address, [int $port])%Fragt das entfernte Ende eines gegebenen Sockets ab. Das Ergebnis ist vom Typ abhängig und ist entweder das Paar host/port oder ein Pfad des Unix-Dateisystems socket_getsockname%bool socket_getsockname(resource $socket, string $addr, [int $port])%Fragt das lokale Ende eines gegebenen Sockets ab. Das Ergebnis ist vom Typ abhängig und ist entweder das Paar host/port oder ein Pfad des Unix-Dateisystems socket_import_stream%resource socket_import_stream(resource $stream)%Import a stream @@ -2565,6 +2576,7 @@ socket_set_blocking%void socket_set_blocking()%Alias von stream_set_blocking socket_set_nonblock%bool socket_set_nonblock(resource $socket)%Setzt den nonblocking-Modus für den Datei-Deskriptor fd socket_set_option%bool socket_set_option(resource $socket, int $level, int $optname, mixed $optval)%Setzt die Optionen für einen Socket socket_set_timeout%void socket_set_timeout()%Alias von stream_set_timeout +socket_setopt%void socket_setopt()%Alias von socket_set_option socket_shutdown%bool socket_shutdown(resource $socket, [int $how = 2])%Schließt einen Socket der zum Senden, Empfangen oder beidem geöffnet wurde socket_strerror%string socket_strerror(int $errno)%Gibt einen String zurück, der einen socket-Fehler beschreibt socket_write%int socket_write(resource $socket, string $buffer, [int $length])%Schreibt in einen Socket @@ -2763,7 +2775,7 @@ stream_notification_callback%callable stream_notification_callback(int $notifica stream_register_wrapper%void stream_register_wrapper()%Alias von stream_wrapper_register stream_resolve_include_path%string stream_resolve_include_path(string $filename)%Resolve filename against the include path stream_select%int stream_select(array $read, array $write, array $except, int $tv_sec, [int $tv_usec])%Runs the equivalent of the select() system call on the given arrays of streams with a timeout specified by tv_sec and tv_usec -stream_set_blocking%bool stream_set_blocking(resource $stream, int $mode)%Set blocking/non-blocking mode on a stream +stream_set_blocking%bool stream_set_blocking(resource $stream, bool $mode)%Set blocking/non-blocking mode on a stream stream_set_chunk_size%int stream_set_chunk_size(resource $fp, int $chunk_size)%Set the stream chunk size stream_set_read_buffer%int stream_set_read_buffer(resource $stream, int $buffer)%Set read file buffering on the given stream stream_set_timeout%bool stream_set_timeout(resource $stream, int $seconds, [int $microseconds])%Set timeout period on a stream @@ -3066,7 +3078,7 @@ trigger_error%bool trigger_error(string $error_msg, [int $error_type = E_USER_NO trim%string trim(string $str, [string $character_mask = " \t\n\r\0\x0B"])%Entfernt Whitespaces (oder andere Zeichen) am Anfang und Ende eines Strings uasort%bool uasort(array $array, callable $value_compare_func)%Sortiert ein Array mittels einer benutzerdefinierten Vergleichsfunktion und behält Indexassoziationen bei ucfirst%string ucfirst(string $str)%Verwandelt das erste Zeichen eines Strings in einen Großbuchstaben -ucwords%string ucwords(string $str)%Wandelt jeden ersten Buchstaben eines Wortes innerhalb eines Strings in einen Großbuchstaben +ucwords%string ucwords(string $str, [string $delimiters = " \t\r\n\f\v"])%Wandelt jeden ersten Buchstaben eines Wortes innerhalb eines Strings in einen Großbuchstaben uksort%bool uksort(array $array, callable $key_compare_func)%Sortiert ein Array nach Schlüsseln mittels einer benutzerdefinierten Vergleichsfunktion umask%int umask([int $mask])%Changes the current umask uniqid%string uniqid([string $prefix = ""], [bool $more_entropy = false])%Erzeugt eine eindeutige ID @@ -3074,7 +3086,7 @@ unixtojd%int unixtojd([int $timestamp = time()])%Konvertiert Unix-Timestamp in J unlink%bool unlink(string $filename, [resource $context])%Löscht eine Datei unpack%array unpack(string $format, string $data)%Entpackt die Daten eines Binär-Strings unregister_tick_function%void unregister_tick_function(string $function_name)%De-register a function for execution on each tick -unserialize%mixed unserialize(string $str)%Erzeugt aus einem gespeicherten Datenformat einen Wert in PHP +unserialize%mixed unserialize(string $str, [array $options])%Erzeugt aus einem gespeicherten Datenformat einen Wert in PHP unset%void unset(mixed $var, [mixed ...])%Löschen einer angegebenen Variablen untaint%bool untaint(string $string, [string ...])%Untaint strings uopz_backup%void uopz_backup(string $class, string $function)%Backup a function diff --git a/Support/function-docs/en.txt b/Support/function-docs/en.txt index dcc39ed..10e1621 100644 --- a/Support/function-docs/en.txt +++ b/Support/function-docs/en.txt @@ -1,11 +1,8 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Constructs an APCIterator iterator object +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%Constructs an AppendIterator ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%Construct an ArrayIterator ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%Construct a new array object -BSON\fromArray%ReturnType BSON\fromArray(string $array)%Description -BSON\fromJSON%ReturnType BSON\fromJSON(string $json)%Description -BSON\toArray%ReturnType BSON\toArray(string $bson)%Description -BSON\toJSON%ReturnType BSON\toJSON(string $bson)%Description BadFunctionCallException%object BadFunctionCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadFunctionCallException BadMethodCallException%object BadMethodCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadMethodCallException CURLFile%object CURLFile(string $filename, [string $mimetype], [string $postname])%Create a CURLFile object @@ -29,6 +26,14 @@ DateTimeImmutable%object DateTimeImmutable([string $time = "now"], [DateTimeZone DateTimeZone%object DateTimeZone(string $timezone)%Creates new DateTimeZone object DirectoryIterator%object DirectoryIterator(string $path)%Constructs a new directory iterator from a path DomainException%object DomainException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new DomainException +Ds\Deque%object Ds\Deque([mixed $values])%Creates a new instance. +Ds\Map%object Ds\Map([mixed $...values])%Creates a new instance. +Ds\Pair%object Ds\Pair([mixed $key], [mixed $value])%Creates a new instance. +Ds\PriorityQueue%object Ds\PriorityQueue()%Creates a new instance. +Ds\Queue%object Ds\Queue([mixed $values])%Creates a new instance. +Ds\Set%object Ds\Set([mixed $...values])%Creates a new instance. +Ds\Stack%object Ds\Stack([mixed $values])%Creates a new instance. +Ds\Vector%object Ds\Vector([mixed $values])%Creates a new instance. ErrorException%object ErrorException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new ErrorException EvCheck%object EvCheck(callable $callback, [mixed $data], [int $priority])%Constructs the EvCheck watcher object EvChild%object EvChild(int $pid, bool $trace, callable $callback, [mixed $data], [int $priority])%Constructs the EvChild watcher object @@ -64,12 +69,6 @@ GlobIterator%object GlobIterator(string $path, [int $flags = FilesystemIterator: Gmagick%object Gmagick([string $filename])%The Gmagick constructor GmagickPixel%object GmagickPixel([string $color])%The GmagickPixel constructor HaruDoc%object HaruDoc()%Construct new HaruDoc instance -HttpDeflateStream%object HttpDeflateStream([int $flags])%HttpDeflateStream class constructor -HttpInflateStream%object HttpInflateStream([int $flags])%HttpInflateStream class constructor -HttpMessage%object HttpMessage([string $message])%HttpMessage constructor -HttpQueryString%object HttpQueryString([bool $global = true], [mixed $add])%HttpQueryString constructor -HttpRequest%object HttpRequest([string $url], [int $request_method = HTTP_METH_GET], [array $options])%HttpRequest constructor -HttpRequestPool%object HttpRequestPool([HttpRequest $request], [HttpRequest ...])%HttpRequestPool constructor Imagick%object Imagick(mixed $files)%The Imagick constructor ImagickDraw%object ImagickDraw()%The ImagickDraw constructor ImagickPixel%object ImagickPixel([string $color])%The ImagickPixel constructor @@ -94,21 +93,29 @@ MongoCollection%object MongoCollection(MongoDB $db, string $name)%Creates a new MongoCommandCursor%object MongoCommandCursor(MongoClient $connection, string $ns, array $command)%Create a new command cursor MongoCursor%object MongoCursor(MongoClient $connection, string $ns, [array $query = array()], [array $fields = array()])%Create a new cursor MongoDB%object MongoDB(MongoClient $conn, string $name)%Creates a new database -MongoDB\BSON\Binary%object MongoDB\BSON\Binary(string $data, string $subtype)%Description -MongoDB\BSON\Javascript%object MongoDB\BSON\Javascript(string $javascript, [string $scope])%Description -MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Description -MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, string $flags)%Description -MongoDB\BSON\Timestamp%object MongoDB\BSON\Timestamp(string $increment, string $timestamp)%Description -MongoDB\BSON\UTCDatetime%object MongoDB\BSON\UTCDatetime(string $milliseconds)%Description -MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([boolean $ordered = true])%Create new BulkWrite -MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Construct new Command -MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor(Server $server, string $responseDocument)%Description -MongoDB\Driver\CursorId%object MongoDB\Driver\CursorId(string $id)%Description -MongoDB\Driver\Manager%object MongoDB\Driver\Manager(string $uri, [array $options], [array $driverOptions])%Create new MongoDB Manager +MongoDB\BSON\Binary%object MongoDB\BSON\Binary(string $data, integer $type)%Construct a new Binary +MongoDB\BSON\Decimal128%object MongoDB\BSON\Decimal128([string $value])%Construct a new Decimal128 +MongoDB\BSON\Javascript%object MongoDB\BSON\Javascript(string $code, [array|object $scope])%Construct a new Javascript +MongoDB\BSON\MaxKey%object MongoDB\BSON\MaxKey()%Construct a new MaxKey +MongoDB\BSON\MinKey%object MongoDB\BSON\MinKey()%Construct a new MinKey +MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Construct a new ObjectID +MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, [string $flags = ""])%Construct a new Regex +MongoDB\BSON\Timestamp%object MongoDB\BSON\Timestamp(integer $increment, integer $timestamp)%Construct a new Timestamp +MongoDB\BSON\UTCDateTime%object MongoDB\BSON\UTCDateTime([integer|float|string|DateTimeInterface $milliseconds])%Construct a new UTCDateTime +MongoDB\BSON\fromJSON%string MongoDB\BSON\fromJSON(string $json)%Returns the BSON representation of a JSON value +MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value +MongoDB\BSON\toJSON%string MongoDB\BSON\toJSON(string $bson)%Returns the JSON representation of a BSON value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite +MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Create a new Command +MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor()%Create a new Cursor (not used) +MongoDB\Driver\CursorId%object MongoDB\Driver\CursorId()%Create a new CursorId (not used) +MongoDB\Driver\Manager%object MongoDB\Driver\Manager([string $uri = "mongodb://127.0.0.1/], [array $uriOptions = []], [array $driverOptions = []])%Create new MongoDB Manager MongoDB\Driver\Query%object MongoDB\Driver\Query(array|object $filter, [array $queryOptions])%Construct new Query -MongoDB\Driver\ReadPreference%object MongoDB\Driver\ReadPreference(string $readPreference, [array $tagSets])%Description -MongoDB\Driver\Server%object MongoDB\Driver\Server(string $host, string $port, [array $options], [array $driverOptions])%Description -MongoDB\Driver\WriteConcern%object MongoDB\Driver\WriteConcern(string $wstring, [integer $wtimeout], [boolean $journal], [boolean $fsync])%Construct immutable WriteConcern +MongoDB\Driver\ReadConcern%object MongoDB\Driver\ReadConcern([string $level])%Construct immutable ReadConcern +MongoDB\Driver\ReadPreference%object MongoDB\Driver\ReadPreference(int $mode, [array $tagSets], [array $options = []])%Construct immutable ReadPreference +MongoDB\Driver\Server%object MongoDB\Driver\Server()%Create a new Server (not used) +MongoDB\Driver\WriteConcern%object MongoDB\Driver\WriteConcern(string|int $w, [integer $wtimeout], [boolean $journal])%Construct immutable WriteConcern MongoDate%object MongoDate([int $sec = time()], [int $usec])%Creates a new date. MongoDeleteBatch%object MongoDeleteBatch(MongoCollection $collection, [array $write_options])%Description MongoGridFS%object MongoGridFS(MongoDB $db, [string $prefix = "fs"], [mixed $chunks = "fs"])%Creates new file collections @@ -134,7 +141,7 @@ ParentIterator%object ParentIterator(RecursiveIterator $iterator)%Constructs a P Phar%object Phar(string $fname, [int $flags], [string $alias])%Construct a Phar archive object PharData%object PharData(string $fname, [int $flags], [string $alias], [int $format])%Construct a non-executable tar or zip archive object PharFileInfo%object PharFileInfo(string $entry)%Construct a Phar entry object -Pool%object Pool(integer $size, string $class, [array $ctor])%Creates a new Pool of Workers +Pool%object Pool(integer $size, [string $class], [array $ctor])%Creates a new Pool of Workers QuickHashIntHash%object QuickHashIntHash(int $size, [int $options])%Creates a new QuickHashIntHash object QuickHashIntSet%object QuickHashIntSet(int $size, [int $options])%Creates a new QuickHashIntSet object QuickHashIntStringHash%object QuickHashIntStringHash(int $size, [int $options])%Creates a new QuickHashIntStringHash object @@ -166,7 +173,7 @@ SAMMessage%object SAMMessage([mixed $body])%Creates a new Message object SDO_DAS_Relational%object SDO_DAS_Relational(array $database_metadata, [string $application_root_type], [array $SDO_containment_references_metadata])%Creates an instance of a Relational Data Access Service SDO_Model_ReflectionDataObject%object SDO_Model_ReflectionDataObject(SDO_DataObject $data_object)%Construct an SDO_Model_ReflectionDataObject SNMP%object SNMP(int $version, string $hostname, string $community, [int $timeout = 1000000], [int $retries = 5])%Creates SNMP instance representing session to remote SNMP agent -SQLite3%object SQLite3(string $filename, [int $flags], [string $encryption_key])%Instantiates an SQLite3 object and opens an SQLite 3 database +SQLite3%object SQLite3(string $filename, [int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE], [string $encryption_key = null])%Instantiates an SQLite3 object and opens an SQLite 3 database SVM%object SVM()%Construct a new SVM object SVMModel%object SVMModel([string $filename])%Construct a new SVMModel SimpleXMLElement%object SimpleXMLElement(string $data, [int $options], [bool $data_is_url = false], [string $ns = ""], [bool $is_prefix = false])%Creates a new SimpleXMLElement object @@ -175,7 +182,7 @@ SoapFault%object SoapFault(string $faultcode, string $faultstring, [string $faul SoapHeader%object SoapHeader(string $namespace, string $name, [mixed $data], [bool $mustunderstand], [string $actor])%SoapHeader constructor SoapParam%object SoapParam(mixed $data, string $name)%SoapParam constructor SoapServer%object SoapServer(mixed $wsdl, [array $options])%SoapServer constructor -SoapVar%object SoapVar(string $data, string $encoding, [string $type_name], [string $type_namespace], [string $node_name], [string $node_namespace])%SoapVar constructor +SoapVar%object SoapVar(mixed $data, string $encoding, [string $type_name], [string $type_namespace], [string $node_name], [string $node_namespace])%SoapVar constructor SphinxClient%object SphinxClient()%Create a new SphinxClient object SplDoublyLinkedList%object SplDoublyLinkedList()%Constructs a new doubly linked list SplFileInfo%object SplFileInfo(string $file_name)%Construct a new SplFileInfo object @@ -189,15 +196,44 @@ SplTempFileObject%object SplTempFileObject([int $max_memory])%Construct a new te SplType%object SplType([mixed $initial_value], [bool $strict])%Creates a new value of some type Spoofchecker%object Spoofchecker()%Constructor Swish%object Swish(string $index_names)%Construct a Swish object -SyncEvent%object SyncEvent([string $name], [bool $manual])%Constructs a new SyncEvent object +SyncEvent%object SyncEvent([string $name], [bool $manual = false], [bool $prefire = false])%Constructs a new SyncEvent object SyncMutex%object SyncMutex([string $name])%Constructs a new SyncMutex object -SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock])%Constructs a new SyncReaderWriter object -SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval], [bool $autounlock])%Constructs a new SyncSemaphore object +SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock = true])%Constructs a new SyncReaderWriter object +SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval = 1], [bool $autounlock = true])%Constructs a new SyncSemaphore object +SyncSharedMemory%object SyncSharedMemory(string $name, integer $size)%Constructs a new SyncSharedMemory object TokyoTyrant%object TokyoTyrant([string $host], [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])%Construct a new TokyoTyrant object TokyoTyrantIterator%object TokyoTyrantIterator(mixed $object)%Construct an iterator TokyoTyrantQuery%object TokyoTyrantQuery(TokyoTyrantTable $table)%Construct a new query Transliterator%object Transliterator()%Private constructor to deny instantiation UConverter%object UConverter([string $destination_encoding], [string $source_encoding])%Create UConverter object +UI\Controls\Box%object UI\Controls\Box([integer $orientation = UI\Controls\Box::Horizontal])%Construct a new Box +UI\Controls\Button%object UI\Controls\Button(string $text)%Construct a new Button +UI\Controls\Check%object UI\Controls\Check(string $text)%Construct a new Check +UI\Controls\Entry%object UI\Controls\Entry([integer $type = UI\Controls\Entry::Normal])%Construct a new Entry +UI\Controls\Group%object UI\Controls\Group(string $title)%Construct a new Group +UI\Controls\Label%object UI\Controls\Label(string $text)%Construct a new Label +UI\Controls\MultilineEntry%object UI\Controls\MultilineEntry([integer $type])%Construct a new Multiline Entry +UI\Controls\Picker%object UI\Controls\Picker([integer $type = UI\Controls\Picker::Date])%Construct a new Picker +UI\Controls\Separator%object UI\Controls\Separator([integer $type = UI\Controls\Separator::Horizontal])%Construct a new Separator +UI\Controls\Slider%object UI\Controls\Slider(integer $min, integer $max)%Construct a new Slider +UI\Controls\Spin%object UI\Controls\Spin(integer $min, integer $max)%Construct a new Spin +UI\Draw\Brush%object UI\Draw\Brush(integer $color)%Construct a new Brush +UI\Draw\Brush\LinearGradient%object UI\Draw\Brush\LinearGradient(UI\Point $start, UI\Point $end)%Construct a Linear Gradient +UI\Draw\Brush\RadialGradient%object UI\Draw\Brush\RadialGradient(UI\Point $start, UI\Point $outer, float $radius)%Construct a new Radial Gradient +UI\Draw\Color%object UI\Draw\Color([integer $color])%Construct new Color +UI\Draw\Path%object UI\Draw\Path([integer $mode = UI\Draw\Path::Winding])%Construct a new Path +UI\Draw\Stroke%object UI\Draw\Stroke([integer $cap = UI\Draw\Line\Cap::Flat], [integer $join = UI\Draw\Line\Join::Miter], [float $thickness = 1], [float $miterLimit = 10])%Construct a new Stroke +UI\Draw\Text\Font%object UI\Draw\Text\Font(UI\Draw\Text\Font\Descriptor $descriptor)%Construct a new Font +UI\Draw\Text\Font\Descriptor%object UI\Draw\Text\Font\Descriptor(string $family, float $size, [integer $weight = UI\Draw\Text\Font\Weight::Normal], [integer $italic = UI\Draw\Text\Font\Italic::Normal], [integer $stretch = UI\Draw\Text\Font\Stretch::Normal])%Construct a new Font Descriptor +UI\Draw\Text\Font\fontFamilies%array UI\Draw\Text\Font\fontFamilies()%Retrieve Font Families +UI\Draw\Text\Layout%object UI\Draw\Text\Layout(string $text, UI\Draw\Text\Font $font, float $width)%Construct a new Text Layout +UI\Executor%object UI\Executor(integer $microseconds, integer $seconds)%Construct a new Executor +UI\Menu%object UI\Menu(string $name)%Construct a new Menu +UI\Point%object UI\Point(float $x, float $y)%Construct a new Point +UI\Size%object UI\Size(float $width, float $height)%Construct a new Size +UI\Window%object UI\Window(string $title, Size $size, [boolean $menu = false])%Construct a new Window +UI\quit%void UI\quit()%Quit UI Loop +UI\run%void UI\run([integer $flags])%Enter UI Loop UnderflowException%object UnderflowException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnderflowException UnexpectedValueException%object UnexpectedValueException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnexpectedValueException V8Js%object V8Js([string $object_name = "PHP"], [array $variables = array()], [array $extensions = array()], [bool $report_uncaught_exceptions])%Construct a new V8Js object @@ -216,8 +252,8 @@ Yaf_Dispatcher%object Yaf_Dispatcher()%Yaf_Dispatcher constructor Yaf_Exception%object Yaf_Exception()%The __construct purpose Yaf_Loader%object Yaf_Loader()%The __construct purpose Yaf_Registry%object Yaf_Registry()%Yaf_Registry implements singleton -Yaf_Request_Http%object Yaf_Request_Http()%The __construct purpose -Yaf_Request_Simple%object Yaf_Request_Simple()%The __construct purpose +Yaf_Request_Http%object Yaf_Request_Http([string $request_uri], [string $base_uri])%Constructor of Yaf_Request_Http +Yaf_Request_Simple%object Yaf_Request_Simple([string $method], [string $module], [string $controller], [string $action], [array $params])%Constructor of Yaf_Request_Simple Yaf_Response_Abstract%object Yaf_Response_Abstract()%The __construct purpose Yaf_Route_Map%object Yaf_Route_Map([string $controller_prefer = false], [string $delimiter = ""])%The __construct purpose Yaf_Route_Regex%object Yaf_Route_Regex(string $match, array $route, [array $map], [array $verify], [string $reverse])%Yaf_Route_Regex constructor @@ -225,7 +261,7 @@ Yaf_Route_Rewrite%object Yaf_Route_Rewrite(string $match, array $route, [array $ Yaf_Route_Simple%object Yaf_Route_Simple(string $module_name, string $controller_name, string $action_name)%Yaf_Route_Simple constructor Yaf_Route_Supervar%object Yaf_Route_Supervar(string $supervar_name)%The __construct purpose Yaf_Router%object Yaf_Router()%Yaf_Router constructor -Yaf_Session%object Yaf_Session()%The __construct purpose +Yaf_Session%object Yaf_Session()%Constructor of Yaf_Session Yaf_View_Simple%object Yaf_View_Simple(string $template_dir, [array $options])%Constructor of Yaf_View_Simple Yar_Client%object Yar_Client(string $url)%Create a client Yar_Server%object Yar_Server(Object $obj)%Register a server @@ -233,6 +269,7 @@ ZMQ%object ZMQ()%ZMQ constructor ZMQContext%object ZMQContext([integer $io_threads = 1], [boolean $is_persistent = true])%Construct a new ZMQContext object ZMQDevice%object ZMQDevice(ZMQSocket $frontend, ZMQSocket $backend, [ZMQSocket $listener])%Construct a new device ZMQSocket%object ZMQSocket(ZMQContext $context, int $type, [string $persistent_id = null], [callback $on_new_socket = null])%Construct a new ZMQSocket +Zookeeper%object Zookeeper([string $host = ''], [callable $watcher_cb = null], [int $recv_timeout = 10000])%Create a handle to used communicate with zookeeper. __autoload%void __autoload(string $class)%Attempt to load undefined class __halt_compiler%void __halt_compiler()%Halts the compiler execution abs%number abs(mixed $number)%Absolute value @@ -269,10 +306,22 @@ apc_inc%int apc_inc(string $key, [int $step = 1], [bool $success])%Increase a st apc_load_constants%bool apc_load_constants(string $key, [bool $case_sensitive = true])%Loads a set of constants from the cache apc_sma_info%array apc_sma_info([bool $limited = false])%Retrieves APC's Shared Memory Allocation information apc_store%array apc_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a variable in the data store +apcu_add%array apcu_add(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a new variable in the data store +apcu_cache_info%array apcu_cache_info([bool $limited = false])%Retrieves cached information from APCu's data store +apcu_cas%bool apcu_cas(string $key, int $old, int $new)%Updates an old value with a new value +apcu_clear_cache%bool apcu_clear_cache()%Clears the APCu cache +apcu_dec%int apcu_dec(string $key, [int $step = 1], [bool $success])%Decrease a stored number +apcu_delete%bool apcu_delete(mixed $key)%Removes a stored variable from the cache +apcu_entry%mixed apcu_entry(string $key, callable $generator, [int $ttl])%Atomically fetch or generate a cache entry +apcu_exists%mixed apcu_exists(mixed $keys)%Checks if entry exists +apcu_fetch%mixed apcu_fetch(mixed $key, [bool $success])%Fetch a stored variable from the cache +apcu_inc%int apcu_inc(string $key, [int $step = 1], [bool $success])%Increase a stored number +apcu_sma_info%array apcu_sma_info([bool $limited = false])%Retrieves APCu Shared Memory Allocation information +apcu_store%array apcu_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a variable in the data store array%array array([mixed ...])%Create an array array_change_key_case%array array_change_key_case(array $array, [int $case = CASE_LOWER])%Changes the case of all keys in an array array_chunk%array array_chunk(array $array, int $size, [bool $preserve_keys = false])%Split an array into chunks -array_column%array array_column(array $array, mixed $column_key, [mixed $index_key = null])%Return the values from a single column in the input array +array_column%array array_column(array $input, mixed $column_key, [mixed $index_key = null])%Return the values from a single column in the input array array_combine%array array_combine(array $keys, array $values)%Creates an array by using one array for keys and another for its values array_count_values%array array_count_values(array $array)%Counts all the values of an array array_diff%array array_diff(array $array1, array $array2, [array ...])%Computes the difference of arrays @@ -290,7 +339,7 @@ array_intersect_key%array array_intersect_key(array $array1, array $array2, [arr array_intersect_uassoc%array array_intersect_uassoc(array $array1, array $array2, [array ...], callable $key_compare_func)%Computes the intersection of arrays with additional index check, compares indexes by a callback function array_intersect_ukey%array array_intersect_ukey(array $array1, array $array2, [array ...], callable $key_compare_func)%Computes the intersection of arrays using a callback function on the keys for comparison array_key_exists%bool array_key_exists(mixed $key, array $array)%Checks if the given key or index exists in the array -array_keys%array array_keys(array $array, [mixed $search_value], [bool $strict = false])%Return all the keys or a subset of the keys of an array +array_keys%array array_keys(array $array, [mixed $search_value = null], [bool $strict = false])%Return all the keys or a subset of the keys of an array array_map%array array_map(callable $callback, array $array1, [array ...])%Applies the callback to the elements of the given arrays array_merge%array array_merge(array $array1, [array ...])%Merge one or more arrays array_merge_recursive%array array_merge_recursive(array $array1, [array ...])%Merge two or more arrays recursively @@ -304,10 +353,10 @@ array_reduce%mixed array_reduce(array $array, callable $callback, [mixed $initia array_replace%array array_replace(array $array1, array $array2, [array ...])%Replaces elements from passed arrays into the first array array_replace_recursive%array array_replace_recursive(array $array1, array $array2, [array ...])%Replaces elements from passed arrays into the first array recursively array_reverse%array array_reverse(array $array, [bool $preserve_keys = false])%Return an array with elements in reverse order -array_search%mixed array_search(mixed $needle, array $haystack, [bool $strict = false])%Searches the array for a given value and returns the corresponding key if successful +array_search%mixed array_search(mixed $needle, array $haystack, [bool $strict = false])%Searches the array for a given value and returns the first corresponding key if successful array_shift%array array_shift(array $array)%Shift an element off the beginning of array array_slice%array array_slice(array $array, int $offset, [int $length], [bool $preserve_keys = false])%Extract a slice of the array -array_splice%array array_splice(array $input, int $offset, [int $length], [mixed $replacement = array()])%Remove a portion of the array and replace it with something else +array_splice%array array_splice(array $input, int $offset, [int $length = count($input)], [mixed $replacement = array()])%Remove a portion of the array and replace it with something else array_sum%number array_sum(array $array)%Calculate the sum of values in an array array_udiff%array array_udiff(array $array1, array $array2, [array ...], callable $value_compare_func)%Computes the difference of arrays by using a callback function for data comparison array_udiff_assoc%array array_udiff_assoc(array $array1, array $array2, [array ...], callable $value_compare_func)%Computes the difference of arrays with additional index check, compares data by a callback function @@ -334,15 +383,15 @@ base64_encode%string base64_encode(string $data)%Encodes data with MIME base64 base_convert%string base_convert(string $number, int $frombase, int $tobase)%Convert a number between arbitrary bases basename%string basename(string $path, [string $suffix])%Returns trailing name component of path bcadd%string bcadd(string $left_operand, string $right_operand, [int $scale])%Add two arbitrary precision numbers -bccomp%int bccomp(string $left_operand, string $right_operand, [int $scale = int])%Compare two arbitrary precision numbers -bcdiv%string bcdiv(string $left_operand, string $right_operand, [int $scale = int])%Divide two arbitrary precision numbers +bccomp%int bccomp(string $left_operand, string $right_operand, [int $scale])%Compare two arbitrary precision numbers +bcdiv%string bcdiv(string $left_operand, string $right_operand, [int $scale])%Divide two arbitrary precision numbers bcmod%string bcmod(string $left_operand, string $modulus)%Get modulus of an arbitrary precision number -bcmul%string bcmul(string $left_operand, string $right_operand, [int $scale = int])%Multiply two arbitrary precision numbers +bcmul%string bcmul(string $left_operand, string $right_operand, [int $scale])%Multiply two arbitrary precision numbers bcpow%string bcpow(string $left_operand, string $right_operand, [int $scale])%Raise an arbitrary precision number to another -bcpowmod%string bcpowmod(string $left_operand, string $right_operand, string $modulus, [int $scale = int])%Raise an arbitrary precision number to another, reduced by a specified modulus +bcpowmod%string bcpowmod(string $left_operand, string $right_operand, string $modulus, [int $scale])%Raise an arbitrary precision number to another, reduced by a specified modulus bcscale%bool bcscale(int $scale)%Set default scale parameter for all bc math functions bcsqrt%string bcsqrt(string $operand, [int $scale])%Get the square root of an arbitrary precision number -bcsub%string bcsub(string $left_operand, string $right_operand, [int $scale = int])%Subtract one arbitrary precision number from another +bcsub%string bcsub(string $left_operand, string $right_operand, [int $scale])%Subtract one arbitrary precision number from another bin2hex%string bin2hex(string $str)%Convert binary data into hexadecimal representation bind_textdomain_codeset%string bind_textdomain_codeset(string $domain, string $codeset)%Specify the character encoding in which the messages from the DOMAIN message catalog will be returned bindec%float bindec(string $binary_string)%Binary to decimal @@ -548,6 +597,8 @@ decoct%string decoct(int $number)%Decimal to octal define%bool define(string $name, mixed $value, [bool $case_insensitive = false])%Defines a named constant define_syslog_variables%void define_syslog_variables()%Initializes all syslog related variables defined%bool defined(string $name)%Checks whether a given named constant exists +deflate_add%string deflate_add(resource $context, string $data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally deflate data +deflate_init%resource deflate_init(int $encoding, [array $options = array()])%Initialize an incremental deflate context deg2rad%float deg2rad(float $number)%Converts the number in degrees to the radian equivalent delete%void delete()%See unlink or unset dgettext%string dgettext(string $domain, string $message)%Override the current domain @@ -587,7 +638,7 @@ eio_ftruncate%resource eio_ftruncate(mixed $fd, [int $offset], [int $pri = EIO_P eio_futime%resource eio_futime(mixed $fd, float $atime, float $mtime, [int $pri = EIO_PRI_DEFAULT], [callable $callback = NULL], [mixed $data = NULL])%Change file last access and modification times eio_get_event_stream%mixed eio_get_event_stream()%Get stream representing a variable used in internal communications with libeio. eio_get_last_error%string eio_get_last_error(resource $req)%Returns string describing the last error associated with a request resource -eio_grp%resource eio_grp(callable $callback, [string $data = NULL])%Createsa request group. +eio_grp%resource eio_grp(callable $callback, [string $data = NULL])%Creates a request group. eio_grp_add%void eio_grp_add(resource $grp, resource $req)%Adds a request to the request group. eio_grp_cancel%void eio_grp_cancel(resource $grp)%Cancels a request group eio_grp_limit%void eio_grp_limit(resource $grp, int $limit)%Set group limit @@ -668,7 +719,7 @@ exif_tagname%string exif_tagname(int $index)%Get the header name for an index exif_thumbnail%string exif_thumbnail(string $filename, [int $width], [int $height], [int $imagetype])%Retrieve the embedded thumbnail of a TIFF or JPEG image exit%void exit(int $status)%Output a message and terminate the current script exp%float exp(float $arg)%Calculates the exponent of e -explode%array explode(string $delimiter, string $string, [int $limit])%Split a string by string +explode%array explode(string $delimiter, string $string, [int $limit = PHP_INT_MAX])%Split a string by string expm1%float expm1(float $arg)%Returns exp(number) - 1, computed in a way that is accurate even when the value of number is close to zero extension_loaded%bool extension_loaded(string $name)%Find out whether an extension is loaded extract%int extract(array $array, [int $flags = EXTR_OVERWRITE], [string $prefix])%Import variables into the current symbol table from an array @@ -824,7 +875,7 @@ fgets%string fgets(resource $handle, [int $length])%Gets line from file pointer fgetss%string fgetss(resource $handle, [int $length], [string $allowable_tags])%Gets line from file pointer and strip HTML tags file%array file(string $filename, [int $flags], [resource $context])%Reads entire file into an array file_exists%bool file_exists(string $filename)%Checks whether a file or directory exists -file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset = -1], [int $maxlen])%Reads entire file into a string +file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset], [int $maxlen])%Reads entire file into a string file_put_contents%int file_put_contents(string $filename, mixed $data, [int $flags], [resource $context])%Write a string to a file fileatime%int fileatime(string $filename)%Gets last access time of file filectime%int filectime(string $filename)%Gets inode change time of file @@ -926,7 +977,7 @@ get_declared_classes%array get_declared_classes()%Returns an array with the name get_declared_interfaces%array get_declared_interfaces()%Returns an array of all declared interfaces get_declared_traits%array get_declared_traits()%Returns an array of all declared traits get_defined_constants%array get_defined_constants([bool $categorize = false])%Returns an associative array with the names of all the constants and their values -get_defined_functions%array get_defined_functions()%Returns an array of all defined functions +get_defined_functions%array get_defined_functions([bool $exclude_disabled])%Returns an array of all defined functions get_defined_vars%array get_defined_vars()%Returns an array of all defined variables get_extension_funcs%array get_extension_funcs(string $module_name)%Returns an array with the names of the functions of a module get_headers%array get_headers(string $url, [int $format])%Fetches all the headers sent by the server in response to a HTTP request @@ -958,7 +1009,7 @@ getmygid%int getmygid()%Get PHP script owner's GID getmyinode%int getmyinode()%Gets the inode of the current script getmypid%int getmypid()%Gets PHP's process ID getmyuid%int getmyuid()%Gets PHP script owner's UID -getopt%array getopt(string $options, [array $longopts])%Gets options from the command line argument list +getopt%array getopt(string $options, [array $longopts], [int $optind])%Gets options from the command line argument list getprotobyname%int getprotobyname(string $name)%Get protocol number associated with protocol name getprotobynumber%string getprotobynumber(int $number)%Get protocol name associated with protocol number getrandmax%int getrandmax()%Show largest possible random value @@ -1078,56 +1129,8 @@ html_entity_decode%string html_entity_decode(string $string, [int $flags = ENT_C htmlentities%string htmlentities(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%Convert all applicable characters to HTML entities htmlspecialchars%string htmlspecialchars(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%Convert special characters to HTML entities htmlspecialchars_decode%string htmlspecialchars_decode(string $string, [int $flags = ENT_COMPAT | ENT_HTML401])%Convert special HTML entities back to characters -http_build_cookie%string http_build_cookie(array $cookie)%Build cookie string http_build_query%string http_build_query(mixed $query_data, [string $numeric_prefix], [string $arg_separator], [int $enc_type])%Generate URL-encoded query string -http_build_str%string http_build_str(array $query, [string $prefix], [string $arg_separator = ini_get("arg_separator.output")])%Build query string -http_build_url%string http_build_url([mixed $url], [mixed $parts], [int $flags = HTTP_URL_REPLACE], [array $new_url])%Build a URL -http_cache_etag%bool http_cache_etag([string $etag])%Caching by ETag -http_cache_last_modified%bool http_cache_last_modified([int $timestamp_or_expires])%Caching by last modification -http_chunked_decode%string http_chunked_decode(string $encoded)%Decode chunked-encoded data -http_date%string http_date([int $timestamp])%Compose HTTP RFC compliant date -http_deflate%string http_deflate(string $data, [int $flags])%Deflate data -http_get%string http_get(string $url, [array $options], [array $info])%Perform GET request -http_get_request_body%string http_get_request_body()%Get request body as string -http_get_request_body_stream%resource http_get_request_body_stream()%Get request body as stream -http_get_request_headers%array http_get_request_headers()%Get request headers as array -http_head%string http_head(string $url, [array $options], [array $info])%Perform HEAD request -http_inflate%string http_inflate(string $data)%Inflate data -http_match_etag%bool http_match_etag(string $etag, [bool $for_range = false])%Match ETag -http_match_modified%bool http_match_modified([int $timestamp = -1], [bool $for_range = false])%Match last modification -http_match_request_header%bool http_match_request_header(string $header, string $value, [bool $match_case = false])%Match any header -http_negotiate_charset%string http_negotiate_charset(array $supported, [array $result])%Negotiate client's preferred character set -http_negotiate_content_type%string http_negotiate_content_type(array $supported, [array $result])%Negotiate client's preferred content type -http_negotiate_language%string http_negotiate_language(array $supported, [array $result])%Negotiate client's preferred language -http_parse_cookie%object http_parse_cookie(string $cookie, [int $flags], [array $allowed_extras])%Parse HTTP cookie -http_parse_headers%array http_parse_headers(string $header)%Parse HTTP headers -http_parse_message%object http_parse_message(string $message)%Parse HTTP messages -http_parse_params%object http_parse_params(string $param, [int $flags = HTTP_PARAMS_DEFAULT])%Parse parameter list -http_persistent_handles_clean%string http_persistent_handles_clean([string $ident])%Clean up persistent handles -http_persistent_handles_count%object http_persistent_handles_count()%Stat persistent handles -http_persistent_handles_ident%string http_persistent_handles_ident([string $ident])%Get/set ident of persistent handles -http_post_data%string http_post_data(string $url, string $data, [array $options], [array $info])%Perform POST request with pre-encoded data -http_post_fields%string http_post_fields(string $url, array $data, [array $files], [array $options], [array $info])%Perform POST request with data to be encoded -http_put_data%string http_put_data(string $url, string $data, [array $options], [array $info])%Perform PUT request with data -http_put_file%string http_put_file(string $url, string $file, [array $options], [array $info])%Perform PUT request with file -http_put_stream%string http_put_stream(string $url, resource $stream, [array $options], [array $info])%Perform PUT request with stream -http_redirect%bool http_redirect([string $url], [array $params], [bool $session = false], [int $status])%Issue HTTP redirect -http_request%string http_request(int $method, string $url, [string $body], [array $options], [array $info])%Perform custom request -http_request_body_encode%string http_request_body_encode(array $fields, array $files)%Encode request body -http_request_method_exists%int http_request_method_exists(mixed $method)%Check whether request method exists -http_request_method_name%string http_request_method_name(int $method)%Get request method name -http_request_method_register%int http_request_method_register(string $method)%Register request method -http_request_method_unregister%bool http_request_method_unregister(mixed $method)%Unregister request method -http_response_code%int http_response_code([int $response_code])%Get or Set the HTTP response code -http_send_content_disposition%bool http_send_content_disposition(string $filename, [bool $inline = false])%Send Content-Disposition -http_send_content_type%bool http_send_content_type([string $content_type = "application/x-octetstream"])%Send Content-Type -http_send_data%bool http_send_data(string $data)%Send arbitrary data -http_send_file%bool http_send_file(string $file)%Send file -http_send_last_modified%bool http_send_last_modified([int $timestamp = time()])%Send Last-Modified -http_send_status%bool http_send_status(int $status)%Send HTTP response status -http_send_stream%bool http_send_stream(resource $stream)%Send stream -http_support%int http_support([int $feature])%Check built-in HTTP support -http_throttle%void http_throttle(float $sec, [int $bytes = 40960])%HTTP throttling +http_response_code%mixed http_response_code([int $response_code])%Get or Set the HTTP response code hypot%float hypot(float $x, float $y)%Calculate the length of the hypotenuse of a right-angle triangle ibase_add_user%bool ibase_add_user(resource $service_handle, string $user_name, string $password, [string $first_name], [string $middle_name], [string $last_name])%Add a user to a security database ibase_affected_rows%int ibase_affected_rows([resource $link_identifier])%Return the number of rows that were affected by the previous query @@ -1189,9 +1192,8 @@ iconv_strrpos%int iconv_strrpos(string $haystack, string $needle, [string $chars iconv_substr%string iconv_substr(string $str, int $offset, [int $length = iconv_strlen($str, $charset)], [string $charset = ini_get("iconv.internal_encoding")])%Cut out part of a string idate%int idate(string $format, [int $timestamp = time()])%Format a local time/date as integer idn_to_ascii%string idn_to_ascii(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convert domain name to IDNA ASCII form. -idn_to_unicode%void idn_to_unicode()%Alias of idn_to_utf8 idn_to_utf8%string idn_to_utf8(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convert domain name from IDNA ASCII to Unicode. -ignore_user_abort%int ignore_user_abort([string $value])%Set whether a client disconnect should abort script execution +ignore_user_abort%int ignore_user_abort([bool $value])%Set whether a client disconnect should abort script execution iis_add_server%int iis_add_server(string $path, string $comment, string $server_ip, int $port, string $host_name, int $rights, int $start_server)%Creates a new virtual web server iis_get_dir_security%int iis_get_dir_security(int $server_instance, string $virtual_path)%Gets Directory Security iis_get_script_map%string iis_get_script_map(int $server_instance, string $virtual_path, string $script_extension)%Gets script mapping on a virtual directory for a specific extension @@ -1212,11 +1214,12 @@ image2wbmp%bool image2wbmp(resource $image, [string $filename], [int $threshold] image_type_to_extension%string image_type_to_extension(int $imagetype, [bool $include_dot])%Get file extension for image type image_type_to_mime_type%string image_type_to_mime_type(int $imagetype)%Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype imageaffine%resource imageaffine(resource $image, array $affine, [array $clip])%Return an image containing the affine transformed src image, using an optional clipping area -imageaffinematrixconcat%array imageaffinematrixconcat(array $m1, array $m2)%Concat two matrices (as in doing many ops in one go) -imageaffinematrixget%array imageaffinematrixget(int $type, [mixed $options])%Return an image containing the affine tramsformed src image, using an optional clipping area +imageaffinematrixconcat%array imageaffinematrixconcat(array $m1, array $m2)%Concatenate two affine transformation matrices +imageaffinematrixget%array imageaffinematrixget(int $type, mixed $options)%Get an affine transformation matrix imagealphablending%bool imagealphablending(resource $image, bool $blendmode)%Set the blending mode for an image imageantialias%bool imageantialias(resource $image, bool $enabled)%Should antialias functions be used or not imagearc%bool imagearc(resource $image, int $cx, int $cy, int $width, int $height, int $start, int $end, int $color)%Draws an arc +imagebmp%bool imagebmp(resource $image, mixed $to, [bool $compressed])%Output a BMP image to browser or file imagechar%bool imagechar(resource $image, int $font, int $x, int $y, string $c, int $color)%Draw a character horizontally imagecharup%bool imagecharup(resource $image, int $font, int $x, int $y, string $c, int $color)%Draw a character vertically imagecolorallocate%int imagecolorallocate(resource $image, int $red, int $green, int $blue)%Allocate a color for an image @@ -1242,6 +1245,7 @@ imagecopymergegray%bool imagecopymergegray(resource $dst_im, resource $src_im, i imagecopyresampled%bool imagecopyresampled(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%Copy and resize part of an image with resampling imagecopyresized%bool imagecopyresized(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%Copy and resize part of an image imagecreate%resource imagecreate(int $width, int $height)%Create a new palette based image +imagecreatefrombmp%resource imagecreatefrombmp(string $filename)%Create a new image from file or URL imagecreatefromgd%resource imagecreatefromgd(string $filename)%Create a new image from GD file or URL imagecreatefromgd2%resource imagecreatefromgd2(string $filename)%Create a new image from GD2 file or URL imagecreatefromgd2part%resource imagecreatefromgd2part(string $filename, int $srcX, int $srcY, int $width, int $height)%Create a new image from a given part of GD2 file or URL @@ -1254,7 +1258,7 @@ imagecreatefromwebp%resource imagecreatefromwebp(string $filename)%Create a new imagecreatefromxbm%resource imagecreatefromxbm(string $filename)%Create a new image from file or URL imagecreatefromxpm%resource imagecreatefromxpm(string $filename)%Create a new image from file or URL imagecreatetruecolor%resource imagecreatetruecolor(int $width, int $height)%Create a new true color image -imagecrop%resource imagecrop(resource $image, array $rect)%Crop an image using the given coordinates and size, x, y, width and height +imagecrop%resource imagecrop(resource $image, array $rect)%Crop an image to the given rectangle imagecropauto%resource imagecropauto(resource $image, [int $mode = -1], [float $threshold = .5], [int $color = -1])%Crop an image automatically using one of the available modes imagedashedline%bool imagedashedline(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%Draw a dashed line imagedestroy%bool imagedestroy(resource $image)%Destroy an image @@ -1272,20 +1276,22 @@ imagefontwidth%int imagefontwidth(int $font)%Get font width imageftbbox%array imageftbbox(float $size, float $angle, string $fontfile, string $text, [array $extrainfo])%Give the bounding box of a text using fonts via freetype2 imagefttext%array imagefttext(resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text, [array $extrainfo])%Write text to the image using fonts using FreeType 2 imagegammacorrect%bool imagegammacorrect(resource $image, float $inputgamma, float $outputgamma)%Apply a gamma correction to a GD image -imagegd%bool imagegd(resource $image, [string $filename])%Output GD image to browser or file -imagegd2%bool imagegd2(resource $image, [string $filename], [int $chunk_size], [int $type = IMG_GD2_RAW])%Output GD2 image to browser or file -imagegif%bool imagegif(resource $image, [string $filename])%Output image to browser or file +imagegd%bool imagegd(resource $image, [mixed $to = NULL])%Output GD image to browser or file +imagegd2%bool imagegd2(resource $image, [mixed $to = NULL], [int $chunk_size = 128], [int $type = IMG_GD2_RAW])%Output GD2 image to browser or file +imagegetclip%array imagegetclip(resource $im)%Get the clipping rectangle +imagegif%bool imagegif(resource $image, [mixed $to])%Output image to browser or file imagegrabscreen%resource imagegrabscreen()%Captures the whole screen imagegrabwindow%resource imagegrabwindow(int $window_handle, [int $client_area])%Captures a window imageinterlace%int imageinterlace(resource $image, [int $interlace])%Enable or disable interlace imageistruecolor%bool imageistruecolor(resource $image)%Finds whether an image is a truecolor image -imagejpeg%bool imagejpeg(resource $image, [string $filename], [int $quality])%Output image to browser or file -imagelayereffect%bool imagelayereffect(resource $image, int $effect)%Set the alpha blending flag to use the bundled libgd layering effects +imagejpeg%bool imagejpeg(resource $image, [mixed $to], [int $quality])%Output image to browser or file +imagelayereffect%bool imagelayereffect(resource $image, int $effect)%Set the alpha blending flag to use layering effects imageline%bool imageline(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%Draw a line imageloadfont%int imageloadfont(string $file)%Load a new font +imageopenpolygon%bool imageopenpolygon(resource $image, array $points, int $num_points, int $color)%Draws an open polygon imagepalettecopy%void imagepalettecopy(resource $destination, resource $source)%Copy the palette from one image to another imagepalettetotruecolor%bool imagepalettetotruecolor(resource $src)%Converts a palette based image to true color -imagepng%bool imagepng(resource $image, [string $filename], [int $quality], [int $filters])%Output a PNG image to either the browser or a file +imagepng%bool imagepng(resource $image, [mixed $to], [int $quality], [int $filters])%Output a PNG image to either the browser or a file imagepolygon%bool imagepolygon(resource $image, array $points, int $num_points, int $color)%Draws a polygon imagepsbbox%array imagepsbbox(string $text, resource $font, int $size, int $space, int $tightness, float $angle)%Give the bounding box of a text rectangle using PostScript Type1 fonts imagepsencodefont%bool imagepsencodefont(resource $font_index, string $encodingfile)%Change the character encoding vector of a font @@ -1295,10 +1301,12 @@ imagepsloadfont%resource imagepsloadfont(string $filename)%Load a PostScript Typ imagepsslantfont%bool imagepsslantfont(resource $font_index, float $slant)%Slant a font imagepstext%array imagepstext(resource $image, string $text, resource $font_index, int $size, int $foreground, int $background, int $x, int $y, [int $space], [int $tightness], [float $angle = 0.0], [int $antialias_steps = 4])%Draws a text over an image using PostScript Type1 fonts imagerectangle%bool imagerectangle(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%Draw a rectangle +imageresolution%mixed imageresolution(resource $image, [int $res_x], [int $res_y])%Get or set the resolution of the image imagerotate%resource imagerotate(resource $image, float $angle, int $bgd_color, [int $ignore_transparent])%Rotate an image with a given angle imagesavealpha%bool imagesavealpha(resource $image, bool $saveflag)%Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images imagescale%resource imagescale(resource $image, int $new_width, [int $new_height = -1], [int $mode = IMG_BILINEAR_FIXED])%Scale an image using the given new width and height imagesetbrush%bool imagesetbrush(resource $image, resource $brush)%Set the brush image for line drawing +imagesetclip%bool imagesetclip(resource $im, int $x1, int $y1, int $x2, int $y2)%Set the clipping rectangle imagesetinterpolation%bool imagesetinterpolation(resource $image, [int $method = IMG_BILINEAR_FIXED])%Set the interpolation method imagesetpixel%bool imagesetpixel(resource $image, int $x, int $y, int $color)%Set a single pixel imagesetstyle%bool imagesetstyle(resource $image, array $style)%Set the style for line drawing @@ -1312,8 +1320,8 @@ imagetruecolortopalette%bool imagetruecolortopalette(resource $image, bool $dith imagettfbbox%array imagettfbbox(float $size, float $angle, string $fontfile, string $text)%Give the bounding box of a text using TrueType fonts imagettftext%array imagettftext(resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text)%Write text to the image using TrueType fonts imagetypes%int imagetypes()%Return the image types supported by this PHP build -imagewbmp%bool imagewbmp(resource $image, [string $filename], [int $foreground])%Output image to browser or file -imagewebp%bool imagewebp(resource $image, string $filename)%Output an WebP image to browser or file +imagewbmp%bool imagewbmp(resource $image, [mixed $to], [int $foreground])%Output image to browser or file +imagewebp%bool imagewebp(resource $image, mixed $to, [int $quality = 80])%Output a WebP image to browser or file imagexbm%bool imagexbm(resource $image, string $filename, [int $foreground])%Output an XBM image to browser or file imap_8bit%string imap_8bit(string $string)%Convert an 8bit string to a quoted-printable string imap_alerts%array imap_alerts()%Returns all IMAP alert messages that have occurred @@ -1395,6 +1403,8 @@ include%bool include(string $path)%Includes and evaluates the specified file include_once%bool include_once(string $path)%Includes and evaluates the specified file inet_ntop%string inet_ntop(string $in_addr)%Converts a packed internet address to a human readable representation inet_pton%string inet_pton(string $address)%Converts a human readable IP address to its packed in_addr representation +inflate_add%string inflate_add(resource $context, string $encoded_data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally inflate encoded data +inflate_init%resource inflate_init(int $encoding, [array $options = array()])%Initialize an incremental inflate context ini_alter%void ini_alter()%Alias of ini_set ini_get%string ini_get(string $varname)%Gets the value of a configuration option ini_get_all%array ini_get_all([string $extension], [bool $details = true])%Gets all configuration options @@ -1476,7 +1486,7 @@ ldap_add%bool ldap_add(resource $link_identifier, string $dn, array $entry)%Add ldap_bind%bool ldap_bind(resource $link_identifier, [string $bind_rdn], [string $bind_password])%Bind to LDAP directory ldap_close%void ldap_close()%Alias of ldap_unbind ldap_compare%mixed ldap_compare(resource $link_identifier, string $dn, string $attribute, string $value)%Compare value of attribute found in entry specified with DN -ldap_connect%resource ldap_connect([string $hostname], [int $port = 389])%Connect to an LDAP server +ldap_connect%resource ldap_connect([string $host], [int $port = 389])%Connect to an LDAP server ldap_control_paged_result%bool ldap_control_paged_result(resource $link, int $pagesize, [bool $iscritical = false], [string $cookie = ""])%Send LDAP pagination control ldap_control_paged_result_response%bool ldap_control_paged_result_response(resource $link, resource $result, [string $cookie], [int $estimated])%Retrieve the LDAP pagination cookie ldap_count_entries%int ldap_count_entries(resource $link_identifier, resource $result_identifier)%Count the number of entries in a search @@ -1514,7 +1524,7 @@ ldap_sasl_bind%bool ldap_sasl_bind(resource $link, [string $binddn], [string $pa ldap_search%resource ldap_search(resource $link_identifier, string $base_dn, string $filter, [array $attributes], [int $attrsonly], [int $sizelimit], [int $timelimit], [int $deref])%Search LDAP tree ldap_set_option%bool ldap_set_option(resource $link_identifier, int $option, mixed $newval)%Set the value of the given option ldap_set_rebind_proc%bool ldap_set_rebind_proc(resource $link, callable $callback)%Set a callback function to do re-binds on referral chasing -ldap_sort%bool ldap_sort(resource $link, resource $result, string $sortfilter)%Sort LDAP result entries +ldap_sort%bool ldap_sort(resource $link, resource $result, string $sortfilter)%Sort LDAP result entries on the client side ldap_start_tls%bool ldap_start_tls(resource $link)%Start TLS ldap_t61_to_8859%string ldap_t61_to_8859(string $value)%Translate t61 characters to 8859 characters ldap_unbind%bool ldap_unbind(resource $link_identifier)%Unbind from LDAP directory @@ -1575,7 +1585,7 @@ mb_decode_mimeheader%string mb_decode_mimeheader(string $str)%Decode string in M mb_decode_numericentity%string mb_decode_numericentity(string $str, array $convmap, [string $encoding = mb_internal_encoding()])%Decode HTML numeric string reference to character mb_detect_encoding%string mb_detect_encoding(string $str, [mixed $encoding_list = mb_detect_order()], [bool $strict = false])%Detect character encoding mb_detect_order%mixed mb_detect_order([mixed $encoding_list = mb_detect_order()])%Set/Get character encoding detection order -mb_encode_mimeheader%string mb_encode_mimeheader(string $str, [string $charset = mb_internal_encoding()], [string $transfer_encoding = "B"], [string $linefeed = "\r\n"], [int $indent])%Encode string for MIME header +mb_encode_mimeheader%string mb_encode_mimeheader(string $str, [string $charset = determined by mb_language()], [string $transfer_encoding = "B"], [string $linefeed = "\r\n"], [int $indent])%Encode string for MIME header mb_encode_numericentity%string mb_encode_numericentity(string $str, array $convmap, [string $encoding = mb_internal_encoding()], [bool $is_hex = FALSE])%Encode character to HTML numeric string reference mb_encoding_aliases%array mb_encoding_aliases(string $encoding)%Get aliases of a known encoding type mb_ereg%int mb_ereg(string $pattern, string $string, [array $regs])%Regular expression match with multibyte support @@ -1671,7 +1681,7 @@ mhash_get_block_size%int mhash_get_block_size(int $hash)%Gets the block size of mhash_get_hash_name%string mhash_get_hash_name(int $hash)%Gets the name of the specified hash mhash_keygen_s2k%string mhash_keygen_s2k(int $hash, string $password, string $salt, int $bytes)%Generates a key microtime%mixed microtime([bool $get_as_float = false])%Return current Unix timestamp with microseconds -mime_content_type%string mime_content_type(string $filename)%Detect MIME Content-type for a file (deprecated) +mime_content_type%string mime_content_type(string $filename)%Detect MIME Content-type for a file min%string min(array $values, mixed $value1, mixed $value2, [mixed ...])%Find lowest value mkdir%bool mkdir(string $pathname, [int $mode = 0777], [bool $recursive = false], [resource $context])%Makes directory mktime%int mktime([int $hour = date("H")], [int $minute = date("i")], [int $second = date("s")], [int $month = date("n")], [int $day = date("j")], [int $year = date("Y")], [int $is_dst = -1])%Get Unix timestamp for a date @@ -1725,8 +1735,8 @@ mssql_result%string mssql_result(resource $result, int $row, mixed $field)%Get r mssql_rows_affected%int mssql_rows_affected(resource $link_identifier)%Returns the number of records affected by the query mssql_select_db%bool mssql_select_db(string $database_name, [resource $link_identifier])%Select MS SQL database mt_getrandmax%int mt_getrandmax()%Show largest possible random value -mt_rand%int mt_rand(int $min, int $max)%Generate a better random value -mt_srand%void mt_srand([int $seed])%Seed the better random number generator +mt_rand%int mt_rand(int $min, int $max)%Generate a random value via the Mersenne Twister Random Number Generator +mt_srand%void mt_srand([int $seed], [int $mode = MT_RAND_MT19937])%Seeds the Mersenne Twister Random Number Generator mysql_affected_rows%int mysql_affected_rows([resource $link_identifier = NULL])%Get number of affected rows in previous MySQL operation mysql_client_encoding%string mysql_client_encoding([resource $link_identifier = NULL])%Returns the name of the character set mysql_close%bool mysql_close([resource $link_identifier = NULL])%Close MySQL connection @@ -1871,7 +1881,7 @@ mysqli_stmt_reset%bool mysqli_stmt_reset(mysqli_stmt $stmt)%Resets a prepared st mysqli_stmt_result_metadata%mysqli_result mysqli_stmt_result_metadata(mysqli_stmt $stmt)%Returns result set metadata from a prepared statement mysqli_stmt_send_long_data%bool mysqli_stmt_send_long_data(int $param_nr, string $data, mysqli_stmt $stmt)%Send data in blocks mysqli_stmt_store_result%bool mysqli_stmt_store_result(mysqli_stmt $stmt)%Transfers a result set from a prepared statement -mysqli_store_result%mysqli_result mysqli_store_result([int $option])%Transfers a result set from the last query +mysqli_store_result%mysqli_result mysqli_store_result([int $option], mysqli $link)%Transfers a result set from the last query mysqli_thread_safe%bool mysqli_thread_safe()%Returns whether thread safety is given or not mysqli_use_result%mysqli_result mysqli_use_result(mysqli $link)%Initiate a result set retrieval mysqli_warning%object mysqli_warning()%The __construct purpose @@ -1933,10 +1943,8 @@ numfmt_set_pattern%bool numfmt_set_pattern(string $pattern, NumberFormatter $fmt numfmt_set_symbol%bool numfmt_set_symbol(int $attr, string $value, NumberFormatter $fmt)%Set a symbol value numfmt_set_text_attribute%bool numfmt_set_text_attribute(int $attr, string $value, NumberFormatter $fmt)%Set a text attribute ob_clean%void ob_clean()%Clean (erase) the output buffer -ob_deflatehandler%string ob_deflatehandler(string $data, int $mode)%Deflate output handler ob_end_clean%bool ob_end_clean()%Clean (erase) the output buffer and turn off output buffering ob_end_flush%bool ob_end_flush()%Flush (send) the output buffer and turn off output buffering -ob_etaghandler%string ob_etaghandler(string $data, int $mode)%ETag output handler ob_flush%void ob_flush()%Flush (send) the output buffer ob_get_clean%string ob_get_clean()%Get current buffer contents and delete current output buffer ob_get_contents%string ob_get_contents()%Return the contents of the output buffer @@ -1947,7 +1955,6 @@ ob_get_status%array ob_get_status([bool $full_status = FALSE])%Get status of out ob_gzhandler%string ob_gzhandler(string $buffer, int $mode)%ob_start callback function to gzip output buffer ob_iconv_handler%string ob_iconv_handler(string $contents, int $status)%Convert character encoding as output buffer handler ob_implicit_flush%void ob_implicit_flush([int $flag = true])%Turn implicit flush on/off -ob_inflatehandler%string ob_inflatehandler(string $data, int $mode)%Inflate output handler ob_list_handlers%array ob_list_handlers()%List all output handlers in use ob_start%bool ob_start([callable $output_callback], [int $chunk_size], [int $flags])%Turn on output buffering ob_tidyhandler%string ob_tidyhandler(string $input, [int $mode])%ob_start callback function to repair the buffer @@ -2109,10 +2116,10 @@ openssl_csr_get_public_key%resource openssl_csr_get_public_key(mixed $csr, [bool openssl_csr_get_subject%array openssl_csr_get_subject(mixed $csr, [bool $use_shortnames = true])%Returns the subject of a CERT openssl_csr_new%mixed openssl_csr_new(array $dn, resource $privkey, [array $configargs], [array $extraattribs])%Generates a CSR openssl_csr_sign%resource openssl_csr_sign(mixed $csr, mixed $cacert, mixed $priv_key, int $days, [array $configargs], [int $serial])%Sign a CSR with another certificate (or itself) and generate a certificate -openssl_decrypt%string openssl_decrypt(string $data, string $method, string $password, [int $options], [string $iv = ""])%Decrypts data +openssl_decrypt%string openssl_decrypt(string $data, string $method, string $password, [int $options], [string $iv = ""], [string $tag = ""], [string $aad = ""])%Decrypts data openssl_dh_compute_key%string openssl_dh_compute_key(string $pub_key, resource $dh_key)%Computes shared secret for public value of remote DH key and local DH key openssl_digest%string openssl_digest(string $data, string $method, [bool $raw_output = false])%Computes a digest -openssl_encrypt%string openssl_encrypt(string $data, string $method, string $password, [int $options], [string $iv = ""])%Encrypts data +openssl_encrypt%string openssl_encrypt(string $data, string $method, string $password, [int $options], [string $iv = ""], [string $tag = NULL], [string $aad = ""], [int $tag_length = 16])%Encrypts data openssl_error_string%string openssl_error_string()%Return openSSL error message openssl_free_key%void openssl_free_key(resource $key_identifier)%Free key resource openssl_get_cert_locations%array openssl_get_cert_locations()%Retrieve the available certificate locations @@ -2162,7 +2169,7 @@ output_reset_rewrite_vars%bool output_reset_rewrite_vars()%Reset URL rewriter va pack%string pack(string $format, [mixed $args], [mixed ...])%Pack data into binary string parse_ini_file%array parse_ini_file(string $filename, [bool $process_sections = false], [int $scanner_mode = INI_SCANNER_NORMAL])%Parse a configuration file parse_ini_string%array parse_ini_string(string $ini, [bool $process_sections = false], [int $scanner_mode = INI_SCANNER_NORMAL])%Parse a configuration string -parse_str%void parse_str(string $str, [array $arr])%Parses the string into variables +parse_str%void parse_str(string $encoded_string, [array $result])%Parses the string into variables parse_url%mixed parse_url(string $url, [int $component = -1])%Parse a URL and return its components passthru%void passthru(string $command, [int $return_var])%Execute an external program and display raw output password_get_info%array password_get_info(string $hash)%Returns information about the given hash @@ -2172,7 +2179,7 @@ password_verify%boolean password_verify(string $password, string $hash)%Verifies pathinfo%mixed pathinfo(string $path, [int $options = PATHINFO_DIRNAME | PATHINFO_BASENAME | PATHINFO_EXTENSION | PATHINFO_FILENAME])%Returns information about a file path pclose%int pclose(resource $handle)%Closes process file pointer pcntl_alarm%int pcntl_alarm(int $seconds)%Set an alarm clock for delivery of a signal -pcntl_errno%void pcntl_errno()%Alias of pcntl_strerror +pcntl_errno%void pcntl_errno()%Alias of pcntl_get_last_error pcntl_exec%bool pcntl_exec(string $path, [array $args], [array $envs])%Executes specified program in current process space pcntl_fork%int pcntl_fork()%Forks the currently running process pcntl_get_last_error%int pcntl_get_last_error()%Retrieve the error number set by the last pcntl function which failed @@ -2180,6 +2187,7 @@ pcntl_getpriority%int pcntl_getpriority([int $pid = getmypid()], [int $process_i pcntl_setpriority%bool pcntl_setpriority(int $priority, [int $pid = getmypid()], [int $process_identifier = PRIO_PROCESS])%Change the priority of any process pcntl_signal%bool pcntl_signal(int $signo, callable|int $handler, [bool $restart_syscalls = true])%Installs a signal handler pcntl_signal_dispatch%bool pcntl_signal_dispatch()%Calls signal handlers for pending signals +pcntl_signal_get_handler%int|string pcntl_signal_get_handler(int $signo)%Get the current handler for specified signal pcntl_sigprocmask%bool pcntl_sigprocmask(int $how, array $set, [array $oldset])%Sets and retrieves blocked signals pcntl_sigtimedwait%int pcntl_sigtimedwait(array $set, [array $siginfo], [int $seconds], [int $nanoseconds])%Waits for signals, with a timeout pcntl_sigwaitinfo%int pcntl_sigwaitinfo(array $set, [array $siginfo])%Waits for signals @@ -2453,9 +2461,11 @@ session_abort%void session_abort()%Discard session array changes and finish sess session_cache_expire%int session_cache_expire([string $new_cache_expire])%Return current cache expire session_cache_limiter%string session_cache_limiter([string $cache_limiter])%Get and/or set the current cache limiter session_commit%void session_commit()%Alias of session_write_close +session_create_id%string session_create_id([string $prefix])%Create new session id session_decode%bool session_decode(string $data)%Decodes session data from a session encoded string session_destroy%bool session_destroy()%Destroys all data registered to a session session_encode%string session_encode()%Encodes the current session data as a session encoded string +session_gc%int session_gc()%Perform session data garbage collection session_get_cookie_params%array session_get_cookie_params()%Get the session cookie parameters session_id%string session_id([string $id])%Get and/or set the current session id session_is_registered%bool session_is_registered(string $name)%Find out whether a global variable is registered in a session @@ -2467,7 +2477,7 @@ session_register_shutdown%void session_register_shutdown()%Session shutdown func session_reset%void session_reset()%Re-initialize session array with original values session_save_path%string session_save_path([string $path])%Get and/or set the current session save path session_set_cookie_params%void session_set_cookie_params(int $lifetime, [string $path], [string $domain], [bool $secure = false], [bool $httponly = false])%Set the session cookie parameters -session_set_save_handler%bool session_set_save_handler(callable $open, callable $close, callable $read, callable $write, callable $destroy, callable $gc, [callable $create_sid], SessionHandlerInterface $sessionhandler, [bool $register_shutdown = true])%Sets user-level session storage functions +session_set_save_handler%bool session_set_save_handler(callable $open, callable $close, callable $read, callable $write, callable $destroy, callable $gc, [callable $create_sid], [callable $validate_sid], [callable $update_timestamp], SessionHandlerInterface $sessionhandler, [bool $register_shutdown = true])%Sets user-level session storage functions session_start%bool session_start([array $options = []])%Start new or resume existing session session_status%int session_status()%Returns the current session status session_unregister%bool session_unregister(string $name)%Unregister a global variable from the current session @@ -2496,12 +2506,12 @@ shm_has_var%bool shm_has_var(resource $shm_identifier, int $variable_key)%Check shm_put_var%bool shm_put_var(resource $shm_identifier, int $variable_key, mixed $variable)%Inserts or updates a variable in shared memory shm_remove%bool shm_remove(resource $shm_identifier)%Removes shared memory from Unix systems shm_remove_var%bool shm_remove_var(resource $shm_identifier, int $variable_key)%Removes a variable from shared memory -shmop_close%void shmop_close(int $shmid)%Close shared memory block -shmop_delete%bool shmop_delete(int $shmid)%Delete shared memory block -shmop_open%int shmop_open(int $key, string $flags, int $mode, int $size)%Create or open shared memory block -shmop_read%string shmop_read(int $shmid, int $start, int $count)%Read data from shared memory block -shmop_size%int shmop_size(int $shmid)%Get size of shared memory block -shmop_write%int shmop_write(int $shmid, string $data, int $offset)%Write data into shared memory block +shmop_close%void shmop_close(resource $shmid)%Close shared memory block +shmop_delete%bool shmop_delete(resource $shmid)%Delete shared memory block +shmop_open%resource shmop_open(int $key, string $flags, int $mode, int $size)%Create or open shared memory block +shmop_read%string shmop_read(resource $shmid, int $start, int $count)%Read data from shared memory block +shmop_size%int shmop_size(resource $shmid)%Get size of shared memory block +shmop_write%int shmop_write(resource $shmid, string $data, int $offset)%Write data into shared memory block show_source%void show_source()%Alias of highlight_file shuffle%bool shuffle(array $array)%Shuffle an array similar_text%int similar_text(string $first, string $second, [float $percent])%Calculate the similarity between two strings @@ -2547,6 +2557,7 @@ socket_create_listen%resource socket_create_listen(int $port, [int $backlog = 12 socket_create_pair%bool socket_create_pair(int $domain, int $type, int $protocol, array $fd)%Creates a pair of indistinguishable sockets and stores them in an array socket_get_option%mixed socket_get_option(resource $socket, int $level, int $optname)%Gets socket options for the socket socket_get_status%void socket_get_status()%Alias of stream_get_meta_data +socket_getopt%void socket_getopt()%Alias of socket_get_option socket_getpeername%bool socket_getpeername(resource $socket, string $address, [int $port])%Queries the remote side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type socket_getsockname%bool socket_getsockname(resource $socket, string $addr, [int $port])%Queries the local side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type socket_import_stream%resource socket_import_stream(resource $stream)%Import a stream @@ -2565,6 +2576,7 @@ socket_set_blocking%void socket_set_blocking()%Alias of stream_set_blocking socket_set_nonblock%bool socket_set_nonblock(resource $socket)%Sets nonblocking mode for file descriptor fd socket_set_option%bool socket_set_option(resource $socket, int $level, int $optname, mixed $optval)%Sets socket options for the socket socket_set_timeout%void socket_set_timeout()%Alias of stream_set_timeout +socket_setopt%void socket_setopt()%Alias of socket_set_option socket_shutdown%bool socket_shutdown(resource $socket, [int $how = 2])%Shuts down a socket for receiving, sending, or both socket_strerror%string socket_strerror(int $errno)%Return a string describing a socket error socket_write%int socket_write(resource $socket, string $buffer, [int $length])%Write to a socket @@ -2763,7 +2775,7 @@ stream_notification_callback%callable stream_notification_callback(int $notifica stream_register_wrapper%void stream_register_wrapper()%Alias of stream_wrapper_register stream_resolve_include_path%string stream_resolve_include_path(string $filename)%Resolve filename against the include path stream_select%int stream_select(array $read, array $write, array $except, int $tv_sec, [int $tv_usec])%Runs the equivalent of the select() system call on the given arrays of streams with a timeout specified by tv_sec and tv_usec -stream_set_blocking%bool stream_set_blocking(resource $stream, int $mode)%Set blocking/non-blocking mode on a stream +stream_set_blocking%bool stream_set_blocking(resource $stream, bool $mode)%Set blocking/non-blocking mode on a stream stream_set_chunk_size%int stream_set_chunk_size(resource $fp, int $chunk_size)%Set the stream chunk size stream_set_read_buffer%int stream_set_read_buffer(resource $stream, int $buffer)%Set read file buffering on the given stream stream_set_timeout%bool stream_set_timeout(resource $stream, int $seconds, [int $microseconds])%Set timeout period on a stream @@ -2888,7 +2900,7 @@ timezone_open%void timezone_open()%Alias of DateTimeZone::__construct timezone_transitions_get%void timezone_transitions_get()%Alias of DateTimeZone::getTransitions timezone_version_get%string timezone_version_get()%Gets the version of the timezonedb tmpfile%resource tmpfile()%Creates a temporary file -token_get_all%array token_get_all(string $source)%Split given source into PHP tokens +token_get_all%array token_get_all(string $source, [int $flags])%Split given source into PHP tokens token_name%string token_name(int $token)%Get the symbolic name of a given PHP token touch%bool touch(string $filename, [int $time = time()], [int $atime])%Sets access and modification time of file trader_acos%array trader_acos(array $real)%Vector Trigonometric ACos diff --git a/Support/function-docs/es.txt b/Support/function-docs/es.txt index ea79438..fcfa027 100644 --- a/Support/function-docs/es.txt +++ b/Support/function-docs/es.txt @@ -1,11 +1,9 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Construye un objeto iterador APCIterator +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%Construye un AppendIterator ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%Construye un ArrayIterator ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%Construir un nuevo objeto Array -BSON\fromArray%ReturnType BSON\fromArray(string $array)%Description -BSON\fromJSON%ReturnType BSON\fromJSON(string $json)%Description -BSON\toArray%ReturnType BSON\toArray(string $bson)%Description -BSON\toJSON%ReturnType BSON\toJSON(string $bson)%Description +Aserción%bool Aserción(mixed $assertion, [string $description], [Throwable $exception])%Verifica si la aserción es FALSE BadFunctionCallException%object BadFunctionCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadFunctionCallException BadMethodCallException%object BadMethodCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadMethodCallException CURLFile%object CURLFile(string $filename, [string $mimetype], [string $postname])%Crear un objeto CURLFile @@ -29,6 +27,14 @@ DateTimeImmutable%object DateTimeImmutable([string $time = "now"], [DateTimeZone DateTimeZone%object DateTimeZone(string $timezone)%Crea un nuevo objeto DateTimeZone DirectoryIterator%object DirectoryIterator(string $path)%Construye un iterador nuevo directorio de una ruta DomainException%object DomainException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new DomainException +Ds\Deque%object Ds\Deque([mixed $values])%Creates a new instance. +Ds\Map%object Ds\Map([mixed $...values])%Creates a new instance. +Ds\Pair%object Ds\Pair([mixed $key], [mixed $value])%Creates a new instance. +Ds\PriorityQueue%object Ds\PriorityQueue()%Creates a new instance. +Ds\Queue%object Ds\Queue([mixed $values])%Creates a new instance. +Ds\Set%object Ds\Set([mixed $...values])%Creates a new instance. +Ds\Stack%object Ds\Stack([mixed $values])%Creates a new instance. +Ds\Vector%object Ds\Vector([mixed $values])%Creates a new instance. ErrorException%object ErrorException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new ErrorException EvCheck%object EvCheck(callable $callback, [mixed $data], [int $priority])%Constructs the EvCheck watcher object EvChild%object EvChild(int $pid, bool $trace, callable $callback, [mixed $data], [int $priority])%Constructs the EvChild watcher object @@ -64,12 +70,6 @@ GlobIterator%object GlobIterator(string $path, [int $flags = FilesystemIterator: Gmagick%object Gmagick([string $filename])%El constructor Gmagick GmagickPixel%object GmagickPixel([string $color])%El constructor GmagickPixel HaruDoc%object HaruDoc()%Construye una nueva instancia de HaruDoc -HttpDeflateStream%object HttpDeflateStream([int $flags])%Constructor de la clase HttpDeflateStream -HttpInflateStream%object HttpInflateStream([int $flags])%Constructor de la clase HttpInflateStream -HttpMessage%object HttpMessage([string $message])%HttpMessage constructor -HttpQueryString%object HttpQueryString([bool $global = true], [mixed $add])%Constructor de HttpQueryString -HttpRequest%object HttpRequest([string $url], [int $request_method = HTTP_METH_GET], [array $options])%Constructor del objeto HttpRequest -HttpRequestPool%object HttpRequestPool([HttpRequest $request], [HttpRequest ...])%Constructor de HttpRequestPool Imagick%object Imagick(mixed $files)%El constructor Imagick ImagickDraw%object ImagickDraw()%El constructor ImagickDraw ImagickPixel%object ImagickPixel([string $color])%El constructor ImagickPixel @@ -94,21 +94,29 @@ MongoCollection%object MongoCollection(MongoDB $db, string $name)%Crea una nueva MongoCommandCursor%object MongoCommandCursor(MongoClient $connection, string $ns, array $command)%Crear un nuevo cursor de comando MongoCursor%object MongoCursor(MongoClient $connection, string $ns, [array $query = array()], [array $fields = array()])%Crea un nuevo cursor MongoDB%object MongoDB(MongoClient $conn, string $name)%Crea una nueva base de datos -MongoDB\BSON\Binary%object MongoDB\BSON\Binary(string $data, string $subtype)%Description -MongoDB\BSON\Javascript%object MongoDB\BSON\Javascript(string $javascript, [string $scope])%Description -MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Description -MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, string $flags)%Description -MongoDB\BSON\Timestamp%object MongoDB\BSON\Timestamp(string $increment, string $timestamp)%Description -MongoDB\BSON\UTCDatetime%object MongoDB\BSON\UTCDatetime(string $milliseconds)%Description -MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([boolean $ordered = true])%Create new BulkWrite -MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Construct new Command -MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor(Server $server, string $responseDocument)%Description -MongoDB\Driver\CursorId%object MongoDB\Driver\CursorId(string $id)%Description -MongoDB\Driver\Manager%object MongoDB\Driver\Manager(string $uri, [array $options], [array $driverOptions])%Create new MongoDB Manager +MongoDB\BSON\Binary%object MongoDB\BSON\Binary(string $data, integer $type)%Construct a new Binary +MongoDB\BSON\Decimal128%object MongoDB\BSON\Decimal128([string $value])%Construct a new Decimal128 +MongoDB\BSON\Javascript%object MongoDB\BSON\Javascript(string $code, [array|object $scope])%Construct a new Javascript +MongoDB\BSON\MaxKey%object MongoDB\BSON\MaxKey()%Construct a new MaxKey +MongoDB\BSON\MinKey%object MongoDB\BSON\MinKey()%Construct a new MinKey +MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Construct a new ObjectID +MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, [string $flags = ""])%Construct a new Regex +MongoDB\BSON\Timestamp%object MongoDB\BSON\Timestamp(integer $increment, integer $timestamp)%Construct a new Timestamp +MongoDB\BSON\UTCDateTime%object MongoDB\BSON\UTCDateTime([integer|float|string|DateTimeInterface $milliseconds])%Construct a new UTCDateTime +MongoDB\BSON\fromJSON%string MongoDB\BSON\fromJSON(string $json)%Returns the BSON representation of a JSON value +MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value +MongoDB\BSON\toJSON%string MongoDB\BSON\toJSON(string $bson)%Returns the JSON representation of a BSON value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite +MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Create a new Command +MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor()%Create a new Cursor (not used) +MongoDB\Driver\CursorId%object MongoDB\Driver\CursorId()%Create a new CursorId (not used) +MongoDB\Driver\Manager%object MongoDB\Driver\Manager([string $uri = "mongodb://127.0.0.1/], [array $uriOptions = []], [array $driverOptions = []])%Create new MongoDB Manager MongoDB\Driver\Query%object MongoDB\Driver\Query(array|object $filter, [array $queryOptions])%Construct new Query -MongoDB\Driver\ReadPreference%object MongoDB\Driver\ReadPreference(string $readPreference, [array $tagSets])%Description -MongoDB\Driver\Server%object MongoDB\Driver\Server(string $host, string $port, [array $options], [array $driverOptions])%Description -MongoDB\Driver\WriteConcern%object MongoDB\Driver\WriteConcern(string $wstring, [integer $wtimeout], [boolean $journal], [boolean $fsync])%Construct immutable WriteConcern +MongoDB\Driver\ReadConcern%object MongoDB\Driver\ReadConcern([string $level])%Construct immutable ReadConcern +MongoDB\Driver\ReadPreference%object MongoDB\Driver\ReadPreference(int $mode, [array $tagSets], [array $options = []])%Construct immutable ReadPreference +MongoDB\Driver\Server%object MongoDB\Driver\Server()%Create a new Server (not used) +MongoDB\Driver\WriteConcern%object MongoDB\Driver\WriteConcern(string|int $w, [integer $wtimeout], [boolean $journal])%Construct immutable WriteConcern MongoDate%object MongoDate([int $sec = time()], [int $usec])%Crea una nueva fecha MongoDeleteBatch%object MongoDeleteBatch(MongoCollection $collection, [array $write_options])%Descripción MongoGridFS%object MongoGridFS(MongoDB $db, [string $prefix = "fs"], [mixed $chunks = "fs"])%Crea una nueva colección de ficheros @@ -134,7 +142,7 @@ ParentIterator%object ParentIterator(RecursiveIterator $iterator)%Construye un P Phar%object Phar(string $fname, [int $flags], [string $alias])%Construir un objeto de archivo Phar PharData%object PharData(string $fname, [int $flags], [string $alias], [int $format])%Construir un objeto de archivo tar o zip no ejecutable PharFileInfo%object PharFileInfo(string $entry)%Construir un objeto de entrada Phar -Pool%object Pool(integer $size, string $class, [array $ctor])%Creates a new Pool of Workers +Pool%object Pool(integer $size, [string $class], [array $ctor])%Creates a new Pool of Workers QuickHashIntHash%object QuickHashIntHash(int $size, [int $options])%Crea un nuevo objeto QuickHashIntHash QuickHashIntSet%object QuickHashIntSet(int $size, [int $options])%Crea un nuevo objeto QuickHashIntSet QuickHashIntStringHash%object QuickHashIntStringHash(int $size, [int $options])%Crea un nuevo objeto QuickHashIntStringHash @@ -153,10 +161,11 @@ RecursiveTreeIterator%object RecursiveTreeIterator(RecursiveIterator|IteratorAgg ReflectionClass%object ReflectionClass(mixed $argument)%Construye un objeto de tipo ReflectionClass ReflectionExtension%object ReflectionExtension(string $name)%Constructor de los objetos ReflectionExtension ReflectionFunction%object ReflectionFunction(mixed $name)%Contruye un objeto de tipo ReflectionFunction +ReflectionGenerator%object ReflectionGenerator(Generator $generator)%Constructs a ReflectionGenerator object ReflectionMethod%object ReflectionMethod(mixed $class, string $name, string $class_method)%Construye un objeto ReflectionMethod ReflectionObject%object ReflectionObject(object $argument)%Construye un ReflectionObject ReflectionParameter%object ReflectionParameter(string $function, string $parameter)%Construct -ReflectionProperty%object ReflectionProperty(mixed $class, string $name)%Construye un objeto de tipo ReflectionProperty +ReflectionProperty%object ReflectionProperty(mixed $class, string $name)%Construir un objeto ReflectionProperty ReflectionZendExtension%object ReflectionZendExtension(string $name)%Constructor RegexIterator%object RegexIterator(Iterator $iterator, string $regex, [int $mode = self::MATCH], [int $flags], [int $preg_flags])%Crea un nuevo RegexIterator RuntimeException%object RuntimeException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new RuntimeException @@ -165,7 +174,7 @@ SAMMessage%object SAMMessage([mixed $body])%Crea un nuevo objeto de mensaje SDO_DAS_Relational%object SDO_DAS_Relational(array $database_metadata, [string $application_root_type], [array $SDO_containment_references_metadata])%Crea una instancia de un Servicio de Acceso a Datos Relacional SDO_Model_ReflectionDataObject%object SDO_Model_ReflectionDataObject(SDO_DataObject $data_object)%Contruir un SDO_Model_ReflectionDataObject SNMP%object SNMP(int $version, string $hostname, string $community, [int $timeout = 1000000], [int $retries = 5])%Creates SNMP instance representing session to remote SNMP agent -SQLite3%object SQLite3(string $filename, [int $flags], [string $encryption_key])%Instanciar un objeto de la clase SQLite3 y abrir una base de datos de SQLite 3 +SQLite3%object SQLite3(string $filename, [int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE], [string $encryption_key = null])%Instanciar un objeto de la clase SQLite3 y abrir una base de datos de SQLite 3 SVM%object SVM()%Construir un nuevo objeto SVM SVMModel%object SVMModel([string $filename])%Construct a new SVMModel SimpleXMLElement%object SimpleXMLElement(string $data, [int $options], [bool $data_is_url = false], [string $ns = ""], [bool $is_prefix = false])%Crea un nuevo objeto SimpleXMLElement @@ -188,15 +197,44 @@ SplTempFileObject%object SplTempFileObject([int $max_memory])%Construir un nuevo SplType%object SplType([mixed $initial_value], [bool $strict])%Crea un valor nuevo de algún tipo de dato Spoofchecker%object Spoofchecker()%Constructor Swish%object Swish(string $index_names)%Construye un nuevo objeto Swish -SyncEvent%object SyncEvent([string $name], [bool $manual])%Constructs a new SyncEvent object +SyncEvent%object SyncEvent([string $name], [bool $manual = false], [bool $prefire = false])%Constructs a new SyncEvent object SyncMutex%object SyncMutex([string $name])%Constructs a new SyncMutex object -SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock])%Constructs a new SyncReaderWriter object -SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval], [bool $autounlock])%Constructs a new SyncSemaphore object +SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock = true])%Constructs a new SyncReaderWriter object +SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval = 1], [bool $autounlock = true])%Constructs a new SyncSemaphore object +SyncSharedMemory%object SyncSharedMemory(string $name, integer $size)%Constructs a new SyncSharedMemory object TokyoTyrant%object TokyoTyrant([string $host], [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])%Construct a new TokyoTyrant object TokyoTyrantIterator%object TokyoTyrantIterator(mixed $object)%Construct an iterator TokyoTyrantQuery%object TokyoTyrantQuery(TokyoTyrantTable $table)%Construct a new query Transliterator%object Transliterator()%Constructor privado para denegar la instanciación UConverter%object UConverter([string $destination_encoding], [string $source_encoding])%Crea un objeto UConverter +UI\Controls\Box%object UI\Controls\Box([integer $orientation = UI\Controls\Box::Horizontal])%Construct a new Box +UI\Controls\Button%object UI\Controls\Button(string $text)%Construct a new Button +UI\Controls\Check%object UI\Controls\Check(string $text)%Construct a new Check +UI\Controls\Entry%object UI\Controls\Entry([integer $type = UI\Controls\Entry::Normal])%Construct a new Entry +UI\Controls\Group%object UI\Controls\Group(string $title)%Construct a new Group +UI\Controls\Label%object UI\Controls\Label(string $text)%Construct a new Label +UI\Controls\MultilineEntry%object UI\Controls\MultilineEntry([integer $type])%Construct a new Multiline Entry +UI\Controls\Picker%object UI\Controls\Picker([integer $type = UI\Controls\Picker::Date])%Construct a new Picker +UI\Controls\Separator%object UI\Controls\Separator([integer $type = UI\Controls\Separator::Horizontal])%Construct a new Separator +UI\Controls\Slider%object UI\Controls\Slider(integer $min, integer $max)%Construct a new Slider +UI\Controls\Spin%object UI\Controls\Spin(integer $min, integer $max)%Construct a new Spin +UI\Draw\Brush%object UI\Draw\Brush(integer $color)%Construct a new Brush +UI\Draw\Brush\LinearGradient%object UI\Draw\Brush\LinearGradient(UI\Point $start, UI\Point $end)%Construct a Linear Gradient +UI\Draw\Brush\RadialGradient%object UI\Draw\Brush\RadialGradient(UI\Point $start, UI\Point $outer, float $radius)%Construct a new Radial Gradient +UI\Draw\Color%object UI\Draw\Color([integer $color])%Construct new Color +UI\Draw\Path%object UI\Draw\Path([integer $mode = UI\Draw\Path::Winding])%Construct a new Path +UI\Draw\Stroke%object UI\Draw\Stroke([integer $cap = UI\Draw\Line\Cap::Flat], [integer $join = UI\Draw\Line\Join::Miter], [float $thickness = 1], [float $miterLimit = 10])%Construct a new Stroke +UI\Draw\Text\Font%object UI\Draw\Text\Font(UI\Draw\Text\Font\Descriptor $descriptor)%Construct a new Font +UI\Draw\Text\Font\Descriptor%object UI\Draw\Text\Font\Descriptor(string $family, float $size, [integer $weight = UI\Draw\Text\Font\Weight::Normal], [integer $italic = UI\Draw\Text\Font\Italic::Normal], [integer $stretch = UI\Draw\Text\Font\Stretch::Normal])%Construct a new Font Descriptor +UI\Draw\Text\Font\fontFamilies%array UI\Draw\Text\Font\fontFamilies()%Retrieve Font Families +UI\Draw\Text\Layout%object UI\Draw\Text\Layout(string $text, UI\Draw\Text\Font $font, float $width)%Construct a new Text Layout +UI\Executor%object UI\Executor(integer $microseconds, integer $seconds)%Construct a new Executor +UI\Menu%object UI\Menu(string $name)%Construct a new Menu +UI\Point%object UI\Point(float $x, float $y)%Construct a new Point +UI\Size%object UI\Size(float $width, float $height)%Construct a new Size +UI\Window%object UI\Window(string $title, Size $size, [boolean $menu = false])%Construct a new Window +UI\quit%void UI\quit()%Quit UI Loop +UI\run%void UI\run([integer $flags])%Enter UI Loop UnderflowException%object UnderflowException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnderflowException UnexpectedValueException%object UnexpectedValueException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnexpectedValueException V8Js%object V8Js([string $object_name = "PHP"], [array $variables = array()], [array $extensions = array()], [bool $report_uncaught_exceptions])%Construct a new V8Js object @@ -214,9 +252,9 @@ Yaf_Controller_Abstract%object Yaf_Controller_Abstract()%Constructor de Yaf_Cont Yaf_Dispatcher%object Yaf_Dispatcher()%Constructor de la clase Yaf_Dispatcher Yaf_Exception%object Yaf_Exception()%El propósito de __construct Yaf_Loader%object Yaf_Loader()%El propósito de __construct -Yaf_Registry%object Yaf_Registry()%Yaf_Registry implementa singleton -Yaf_Request_Http%object Yaf_Request_Http()%El propósito de __construct -Yaf_Request_Simple%object Yaf_Request_Simple()%El propósito de __construct +Yaf_Registry%object Yaf_Registry()%Yaf_Registry implementa «singleton» +Yaf_Request_Http%object Yaf_Request_Http([string $request_uri], [string $base_uri])%Constructor de Yaf_Request_Http +Yaf_Request_Simple%object Yaf_Request_Simple([string $method], [string $module], [string $controller], [string $action], [array $params])%Constructor de Yaf_Request_Simple Yaf_Response_Abstract%object Yaf_Response_Abstract()%El propósito de __construct Yaf_Route_Map%object Yaf_Route_Map([string $controller_prefer = false], [string $delimiter = ""])%El propósito de __construct Yaf_Route_Regex%object Yaf_Route_Regex(string $match, array $route, [array $map], [array $verify], [string $reverse])%Constructor de Yaf_Route_Regex @@ -224,7 +262,7 @@ Yaf_Route_Rewrite%object Yaf_Route_Rewrite(string $match, array $route, [array $ Yaf_Route_Simple%object Yaf_Route_Simple(string $module_name, string $controller_name, string $action_name)%El constructor de la clase Yaf_Route_Simple Yaf_Route_Supervar%object Yaf_Route_Supervar(string $supervar_name)%El propósito de __construct Yaf_Router%object Yaf_Router()%El constructor de Yaf_Router -Yaf_Session%object Yaf_Session()%El propósito de __construct +Yaf_Session%object Yaf_Session()%Constructor de Yaf_Session Yaf_View_Simple%object Yaf_View_Simple(string $template_dir, [array $options])%El constructor de Yaf_View_Simple Yar_Client%object Yar_Client(string $url)%Crear un cliente Yar_Server%object Yar_Server(Object $obj)%Registrar un servidor @@ -232,6 +270,7 @@ ZMQ%object ZMQ()%El constructor de ZMQ ZMQContext%object ZMQContext([integer $io_threads = 1], [boolean $is_persistent = true])%Construir un nuevo objeto ZMQContext ZMQDevice%object ZMQDevice(ZMQSocket $frontend, ZMQSocket $backend, [ZMQSocket $listener])%Construir un nuevo dispositivo ZMQSocket%object ZMQSocket(ZMQContext $context, int $type, [string $persistent_id = null], [callback $on_new_socket = null])%Construir un nuevo ZMQSocket +Zookeeper%object Zookeeper([string $host = ''], [callable $watcher_cb = null], [int $recv_timeout = 10000])%Create a handle to used communicate with zookeeper. __autoload%void __autoload(string $class)%Intenta cargar una clase sin definir __halt_compiler%void __halt_compiler()%Detiene la ejecución del compilador abs%number abs(mixed $number)%Valor absoluto @@ -268,10 +307,22 @@ apc_inc%int apc_inc(string $key, [int $step = 1], [bool $success])%Aumentar un n apc_load_constants%bool apc_load_constants(string $key, [bool $case_sensitive = true])%Carga un conjunto de constantes de la caché apc_sma_info%array apc_sma_info([bool $limited = false])%Recupera la información de la Asignación de Memoria Compartida de APC apc_store%array apc_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Guardar una variable en caché en el almacén de datos +apcu_add%array apcu_add(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a new variable in the data store +apcu_cache_info%array apcu_cache_info([bool $limited = false])%Retrieves cached information from APCu's data store +apcu_cas%bool apcu_cas(string $key, int $old, int $new)%Updates an old value with a new value +apcu_clear_cache%bool apcu_clear_cache()%Clears the APCu cache +apcu_dec%int apcu_dec(string $key, [int $step = 1], [bool $success])%Decrease a stored number +apcu_delete%bool apcu_delete(mixed $key)%Removes a stored variable from the cache +apcu_entry%mixed apcu_entry(string $key, callable $generator, [int $ttl])%Atomically fetch or generate a cache entry +apcu_exists%mixed apcu_exists(mixed $keys)%Checks if entry exists +apcu_fetch%mixed apcu_fetch(mixed $key, [bool $success])%Fetch a stored variable from the cache +apcu_inc%int apcu_inc(string $key, [int $step = 1], [bool $success])%Increase a stored number +apcu_sma_info%array apcu_sma_info([bool $limited = false])%Retrieves APCu Shared Memory Allocation information +apcu_store%array apcu_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a variable in the data store array%array array([mixed ...])%Crea un array array_change_key_case%array array_change_key_case(array $array, [int $case = CASE_LOWER])%Cambia a mayúsculas o minúsculas todas las claves en un array array_chunk%array array_chunk(array $array, int $size, [bool $preserve_keys = false])%Divide un array en fragmentos -array_column%array array_column(array $array, mixed $column_key, [mixed $index_key = null])%Devuelve los valores de una sola columna del array de entrada +array_column%array array_column(array $input, mixed $column_key, [mixed $index_key = null])%Devuelve los valores de una sola columna del array de entrada array_combine%array array_combine(array $keys, array $values)%Crea un nuevo array, usando una matriz para las claves y otra para sus valores array_count_values%array array_count_values(array $array)%Cuenta todos los valores de un array array_diff%array array_diff(array $array1, array $array2, [array ...])%Calcula la diferencia entre arrays @@ -286,11 +337,11 @@ array_flip%string array_flip(array $array)%Intercambia todas las claves de un ar array_intersect%array array_intersect(array $array1, array $array2, [array ...])%Calcula la intersección de arrays array_intersect_assoc%array array_intersect_assoc(array $array1, array $array2, [array ...])%Calcula la intersección de arrays con un chequeo adicional de índices array_intersect_key%array array_intersect_key(array $array1, array $array2, [array ...])%Calcula la intersección de arrays usando sus claves para la comparación -array_intersect_uassoc%array array_intersect_uassoc(array $array1, array $array2, [array ...], callable $key_compare_func)%Calcula la intersección de arrays con un chequeo adicional de índices que se realiza por una función de devolución de llamada +array_intersect_uassoc%array array_intersect_uassoc(array $array1, array $array2, [array ...], callable $key_compare_func)%Calcula la intersección de arrays con una comprobación adicional de índices, los cuales se comparan con una función de retrollamada array_intersect_ukey%array array_intersect_ukey(array $array1, array $array2, [array ...], callable $key_compare_func)%Calcula la intersección de arrays usando una función de devolución de llamada en las claves para la comparación array_key_exists%bool array_key_exists(mixed $key, array $array)%Verifica si el índice o clave dada existe en el array -array_keys%array array_keys(array $array, [mixed $search_value], [bool $strict = false])%Devuelve todas las claves de un array o un subconjunto de claves de un array -array_map%array array_map(callable $callback, array $array1, [array ...])%Aplica la retrollamada especificada a los elementos de cada array +array_keys%array array_keys(array $array, [mixed $search_value = null], [bool $strict = false])%Devuelve todas las claves de un array o un subconjunto de claves de un array +array_map%array array_map(callable $callback, array $array1, [array ...])%Aplica la retrollamada a los elementos de los arrays dados array_merge%array array_merge(array $array1, [array ...])%Combina dos o más arrays array_merge_recursive%array array_merge_recursive(array $array1, [array ...])%Une dos o más arrays recursivamente array_multisort%string array_multisort(array $array1, [mixed $array1_sort_order = SORT_ASC], [mixed $array1_sort_flags = SORT_REGULAR], [mixed ...])%Ordena varios arrays, o arrays multidimensionales @@ -303,10 +354,10 @@ array_reduce%mixed array_reduce(array $array, callable $callback, [mixed $initia array_replace%array array_replace(array $array1, array $array2, [array ...])%Reemplaza los elementos de los arrays pasados en el primer array array_replace_recursive%array array_replace_recursive(array $array1, array $array2, [array ...])%Reemplaza los elementos de los arrays pasados al primer array de forma recursiva array_reverse%array array_reverse(array $array, [bool $preserve_keys = false])%Devuelve un array con los elementos en orden inverso -array_search%mixed array_search(mixed $needle, array $haystack, [bool $strict = false])%Busca un valor determinado en un array y devuelve la clave correspondiente en caso de éxito +array_search%mixed array_search(mixed $needle, array $haystack, [bool $strict = false])%Busca un valor determinado en un array y devuelve la primera clave correspondiente en caso de éxito array_shift%array array_shift(array $array)%Quita un elemento del principio del array -array_slice%array array_slice(array $array, int $offset, [int $length], [bool $preserve_keys = false])%Extrae una parte de un array -array_splice%array array_splice(array $input, int $offset, [int $length], [mixed $replacement = array()])%Elimina una porción del array y la reemplaza con algo +array_slice%array array_slice(array $array, int $offset, [int $length], [bool $preserve_keys = false])%Extraer una parte de un array +array_splice%array array_splice(array $input, int $offset, [int $length], [mixed $replacement = array()])%Elimina una porción del array y la reemplaza con otra cosa array_sum%number array_sum(array $array)%Calcular la suma de los valores de un array array_udiff%array array_udiff(array $array1, array $array2, [array ...], callable $value_compare_func)%Computa la diferencia entre arrays, usando una llamada de retorno para la comparación de datos array_udiff_assoc%array array_udiff_assoc(array $array1, array $array2, [array ...], callable $value_compare_func)%Computa la diferencia entre arrays con una comprobación de indices adicional, compara la información mediante una función de llamada de retorno @@ -323,7 +374,6 @@ arsort%bool arsort(array $array, [int $sort_flags = SORT_REGULAR])%Ordena un arr asin%float asin(float $arg)%Arco seno asinh%float asinh(float $arg)%Arco seno hiperbólico asort%bool asort(array $array, [int $sort_flags = SORT_REGULAR])%Ordena un array y mantiene la asociación de índices -assert%bool assert(mixed $assertion, [string $description], [Throwable $exception])%Checks if assertion is FALSE assert_options%mixed assert_options(int $what, [mixed $value])%Establecer/obtener valores de las directivas relacionadas con las aserciones atan%float atan(float $arg)%Arco tangente atan2%float atan2(float $y, float $x)%Arco tangente de dos variables @@ -333,15 +383,15 @@ base64_encode%string base64_encode(string $data)%Codifica datos con MIME base64 base_convert%string base_convert(string $number, int $frombase, int $tobase)%Convertir un número entre bases arbitrarias basename%string basename(string $path, [string $suffix])%Devuelve el último componente de nombre de una ruta bcadd%string bcadd(string $left_operand, string $right_operand, [int $scale])%Añade dos números de precisión arbitrária -bccomp%int bccomp(string $left_operand, string $right_operand, [int $scale = int])%Compara dos números de precisión arbitraria -bcdiv%string bcdiv(string $left_operand, string $right_operand, [int $scale = int])%Divide dos números de precisión arbitraria +bccomp%int bccomp(string $left_operand, string $right_operand, [int $scale])%Compara dos números de precisión arbitraria +bcdiv%string bcdiv(string $left_operand, string $right_operand, [int $scale])%Divide dos números de precisión arbitraria bcmod%string bcmod(string $left_operand, string $modulus)%Obtiene el módulo de un número de precisión arbitraria -bcmul%string bcmul(string $left_operand, string $right_operand, [int $scale = int])%Multiplica dos números de precisión arbitraria +bcmul%string bcmul(string $left_operand, string $right_operand, [int $scale])%Multiplica dos números de precisión arbitraria bcpow%string bcpow(string $left_operand, string $right_operand, [int $scale])%Elevar un número de precisión arbitraria a otro bcpowmod%string bcpowmod(string $left_operand, string $right_operand, string $modulus, [int $scale = int])%Eleva un número de precisión arbitraria a otro, reducido por un módulo especificado bcscale%bool bcscale(int $scale)%Establece los parametros de scale por defecto para todas las funciones matemáticas de bc bcsqrt%string bcsqrt(string $operand, [int $scale])%Obtiene la raiz cuadrada de un número de precisión arbitraria -bcsub%string bcsub(string $left_operand, string $right_operand, [int $scale = int])%Resta un número de precisión arbitraria de otro +bcsub%string bcsub(string $left_operand, string $right_operand, [int $scale])%Resta un número de precisión arbitraria de otro bin2hex%string bin2hex(string $str)%Convierte datos binarios en su representación hexadecimal bind_textdomain_codeset%string bind_textdomain_codeset(string $domain, string $codeset)%Especifica el juego de caracteres en que los mensajes del catálogo del dominio serán devueltos bindec%float bindec(string $binary_string)%Binario a decimal @@ -441,7 +491,7 @@ curl_error%string curl_error(resource $ch)%Devuelve una cadena que contiene el curl_escape%string curl_escape(resource $ch, string $str)%Función URL que codifica el string dado curl_exec%mixed curl_exec(resource $ch)%Establece una sesión cURL curl_file_create%CURLFile curl_file_create(string $filename, [string $mimetype], [string $postname])%Crear un objeto CURLFile -curl_getinfo%mixed curl_getinfo(resource $ch, [int $opt])%Obtiene información relativa a una transferencia específica +curl_getinfo%mixed curl_getinfo(resource $ch, [int $opt])%Obtener información relativa a una transferencia específica curl_init%resource curl_init([string $url])%Inicia sesión cURL curl_multi_add_handle%int curl_multi_add_handle(resource $mh, resource $ch)%Añade un recurso cURL a un grupo de recursos cURL curl_multi_close%void curl_multi_close(resource $mh)%Cierra un grupo de recursos cURL @@ -459,7 +509,7 @@ curl_setopt%bool curl_setopt(resource $ch, int $option, mixed $value)%Configura curl_setopt_array%bool curl_setopt_array(resource $ch, array $options)%Configura múltiples opciones para una transferencia cURL curl_share_close%void curl_share_close(resource $sh)%Cierra un gestor cURL compartido curl_share_init%resource curl_share_init()%Inicializar un gestor cURL compartido -curl_share_setopt%bool curl_share_setopt(resource $sh, int $option, string $value)%Configura una opción para un gestor cURL compartido +curl_share_setopt%bool curl_share_setopt(resource $sh, int $option, string $value)%Configura una opción para un manejador cURL compartido curl_strerror%string curl_strerror(int $errornum)%Devuelve un string que describe el código de error dado curl_unescape%string curl_unescape(resource $ch, string $str)%Descodifica un string codificado de URL curl_version%array curl_version([int $age = CURLVERSION_NOW])%Obtiene la información de la versión de cURL @@ -545,8 +595,10 @@ decbin%string decbin(int $number)%Decimal a binario dechex%string dechex(int $number)%Decimal a hexadecimal decoct%string decoct(int $number)%Decimal a octal define%bool define(string $name, mixed $value, [bool $case_insensitive = false])%Define una constante con nombre -define_syslog_variables%void define_syslog_variables()%Initializes all syslog related variables +define_syslog_variables%void define_syslog_variables()%Inicializar todas las variables relacionadas con syslog defined%bool defined(string $name)%Comprueba si existe una constante con nombre dada +deflate_add%string deflate_add(resource $context, string $data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally deflate data +deflate_init%resource deflate_init(int $encoding, [array $options = array()])%Initialize an incremental deflate context deg2rad%float deg2rad(float $number)%Convierte el número en grados a su equivalente en radianes delete%void delete()%Véase unlink o unset dgettext%string dgettext(string $domain, string $message)%Sobrescribe el dominio actual @@ -667,7 +719,7 @@ exif_tagname%string exif_tagname(int $index)%Obtener el nombre de la cabecera de exif_thumbnail%string exif_thumbnail(string $filename, [int $width], [int $height], [int $imagetype])%Recuperar la miniatura embebida de una imagen TIFF o JPEG exit%void exit(int $status)%Imprime un mensaje y termina el script actual exp%float exp(float $arg)%Calcula la exponencial de e -explode%array explode(string $delimiter, string $string, [int $limit])%Divide un string en varios string +explode%array explode(string $delimiter, string $string, [int $limit = PHP_INT_MAX])%Divide un string en varios string expm1%float expm1(float $arg)%Devuelve exp(numero)-1, calculado de tal forma que no pierde precisión incluso cuando el valor del numero se aproxima a cero. extension_loaded%bool extension_loaded(string $name)%Encontrar si una extensión está cargada extract%int extract(array $array, [int $flags = EXTR_OVERWRITE], [string $prefix])%Importar variables a la tabla de símbolos actual desde un array @@ -823,7 +875,7 @@ fgets%string fgets(resource $handle, [int $length])%Obtiene una línea desde el fgetss%string fgetss(resource $handle, [int $length], [string $allowable_tags])%Obtiene un línea desde un puntero a un archivo y elimina las etiquetas HTML file%array file(string $filename, [int $flags], [resource $context])%Transfiere un fichero completo a un array file_exists%bool file_exists(string $filename)%Comprueba si existe un fichero o directorio -file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset = -1], [int $maxlen])%Transmite un fichero entero a una cadena +file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset], [int $maxlen])%Transmite un fichero entero a una cadena file_put_contents%int file_put_contents(string $filename, mixed $data, [int $flags], [resource $context])%Escribe una cadena a un fichero fileatime%int fileatime(string $filename)%Obtiene el momento del último acceso a un archivo filectime%int filectime(string $filename)%Obtiene el momento del último cambio del i-nodo de un archivo @@ -831,7 +883,7 @@ filegroup%int filegroup(string $filename)%Obtiene el grupo de un archivo fileinode%int fileinode(string $filename)%Obtiene el i-nodo del archivo filemtime%int filemtime(string $filename)%Obtiene el momento de la última modificación de un archivo fileowner%int fileowner(string $filename)%Obtiene el propietario de un archivo -fileperms%int fileperms(string $filename)%Obtiene los permisos de un archivo +fileperms%int fileperms(string $filename)%Obtiene los permisos de un fichero filesize%int filesize(string $filename)%Obtiene el tamaño de un fichero filetype%string filetype(string $filename)%Obtiene el tipo de fichero filter_has_var%bool filter_has_var(int $type, string $variable_name)%Comprueba si existe una variable de un tipo concreto existe @@ -952,7 +1004,7 @@ gethostname%string gethostname()%Obtiene el nombre de host getimagesize%array getimagesize(string $filename, [array $imageinfo])%Obtener el tamaño de una imagen getimagesizefromstring%array getimagesizefromstring(string $imagedata, [array $imageinfo])%Obtener el tamaño de una imagen desde una cadena getlastmod%int getlastmod()%Obtiene la hora de la última modificación de la página -getmxrr%bool getmxrr(string $hostname, array $mxhosts, [array $weight])%Get MX records corresponding to a given Internet host name +getmxrr%bool getmxrr(string $hostname, array $mxhosts, [array $weight])%Obtener lod registros MX correspondientes a un nombre de host de Internet getmygid%int getmygid()%Obtener el GID del dueño del script PHP getmyinode%int getmyinode()%Obtiene el inode del script actual getmypid%int getmypid()%Obtiene el ID del proceso PHP @@ -1077,56 +1129,8 @@ html_entity_decode%string html_entity_decode(string $string, [int $flags = ENT_C htmlentities%string htmlentities(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%Convierte todos los caracteres aplicables a entidades HTML htmlspecialchars%string htmlspecialchars(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%Convierte caracteres especiales en entidades HTML htmlspecialchars_decode%string htmlspecialchars_decode(string $string, [int $flags = ENT_COMPAT | ENT_HTML401])%Convierte entidades HTML especiales de nuevo en caracteres -http_build_cookie%string http_build_cookie(array $cookie)%Construir el string de una cookie http_build_query%string http_build_query(mixed $query_data, [string $numeric_prefix], [string $arg_separator], [int $enc_type])%Generar una cadena de consulta codificada estilo URL -http_build_str%string http_build_str(array $query, [string $prefix], [string $arg_separator = ini_get("arg_separator.output")])%Construir un string de consulta -http_build_url%string http_build_url([mixed $url], [mixed $parts], [int $flags = HTTP_URL_REPLACE], [array $new_url])%Construir una URL -http_cache_etag%bool http_cache_etag([string $etag])%Guardando en caché a partir de ETag -http_cache_last_modified%bool http_cache_last_modified([int $timestamp_or_expires])%Guardando en caché por última modificación -http_chunked_decode%string http_chunked_decode(string $encoded)%Decodifica datos fragmentados -http_date%string http_date([int $timestamp])%Compone una fecha HTTP compatible con el RFC -http_deflate%string http_deflate(string $data, [int $flags])%Comprimir datos -http_get%string http_get(string $url, [array $options], [array $info])%Realizar una petición GET -http_get_request_body%string http_get_request_body()%Consultar cuerpo de petición como string -http_get_request_body_stream%resource http_get_request_body_stream()%Consultar cuerpo de la petición como un flujo -http_get_request_headers%array http_get_request_headers()%Obtener cabeceras de petición como array -http_head%string http_head(string $url, [array $options], [array $info])%Realizar una petición HEAD -http_inflate%string http_inflate(string $data)%Descomprimir datos -http_match_etag%bool http_match_etag(string $etag, [bool $for_range = false])%Comprobar si coincide el ETag -http_match_modified%bool http_match_modified([int $timestamp = -1], [bool $for_range = false])%Comprobar si coincide la última modificación -http_match_request_header%bool http_match_request_header(string $header, string $value, [bool $match_case = false])%Comprobar si coincide cualquier cabecera -http_negotiate_charset%string http_negotiate_charset(array $supported, [array $result])%Negociar el conjunto de caracteres preferido por los clientes -http_negotiate_content_type%string http_negotiate_content_type(array $supported, [array $result])%Negociar el tipo de contenido preferido por los clientes -http_negotiate_language%string http_negotiate_language(array $supported, [array $result])%Negociar el idioma preferido de los clientes -http_parse_cookie%object http_parse_cookie(string $cookie, [int $flags], [array $allowed_extras])%Analizar una cookie HTTP -http_parse_headers%array http_parse_headers(string $header)%Convierte cabeceras HTTP -http_parse_message%object http_parse_message(string $message)%Analizar mensajes HTTP -http_parse_params%object http_parse_params(string $param, [int $flags = HTTP_PARAMS_DEFAULT])%Analizar lista de parámetros -http_persistent_handles_clean%string http_persistent_handles_clean([string $ident])%Cierra el control de persistencia -http_persistent_handles_count%object http_persistent_handles_count()%Estadísticas del control del persistencias -http_persistent_handles_ident%string http_persistent_handles_ident([string $ident])%Obtener/modificar el identificador del control de persistencia -http_post_data%string http_post_data(string $url, string $data, [array $options], [array $info])%Realizar una petición POST con datos pre-codificados -http_post_fields%string http_post_fields(string $url, array $data, [array $files], [array $options], [array $info])%Realizar una petición POST con datos a codificar -http_put_data%string http_put_data(string $url, string $data, [array $options], [array $info])%Realizar una petición PUT con datos -http_put_file%string http_put_file(string $url, string $file, [array $options], [array $info])%Realizar una petición PUT con un fichero -http_put_stream%string http_put_stream(string $url, resource $stream, [array $options], [array $info])%Realizar una petición PUT a partir de un flujo -http_redirect%bool http_redirect([string $url], [array $params], [bool $session = false], [int $status])%Realiza una redirección HTTP -http_request%string http_request(int $method, string $url, [string $body], [array $options], [array $info])%Realizar una petición personalizada -http_request_body_encode%string http_request_body_encode(array $fields, array $files)%Codificar el contenido de una petición -http_request_method_exists%int http_request_method_exists(mixed $method)%Comprueba si existe un método de petición -http_request_method_name%string http_request_method_name(int $method)%Obtener nombre de método de petición -http_request_method_register%int http_request_method_register(string $method)%Da de alta un método de petición -http_request_method_unregister%bool http_request_method_unregister(mixed $method)%Dar de baja un método de petición -http_response_code%int http_response_code([int $response_code])%Get or Set the HTTP response code -http_send_content_disposition%bool http_send_content_disposition(string $filename, [bool $inline = false])%Enviar la cabecera Content-Disposition -http_send_content_type%bool http_send_content_type([string $content_type = "application/x-octetstream"])%Enviar cabecera Content-Type -http_send_data%bool http_send_data(string $data)%Enviar datos arbitrarios -http_send_file%bool http_send_file(string $file)%Enviar un fichero -http_send_last_modified%bool http_send_last_modified([int $timestamp = time()])%Enviar cabecera Last-Modified -http_send_status%bool http_send_status(int $status)%Enviar código de estado HTTP -http_send_stream%bool http_send_stream(resource $stream)%Enviar flujo -http_support%int http_support([int $feature])%Comprueba el soporte HTTP integrado -http_throttle%void http_throttle(float $sec, [int $bytes = 40960])%Aceleración de HTTP +http_response_code%mixed http_response_code([int $response_code])%Obtener u establecer el código de respuesta HTTP hypot%float hypot(float $x, float $y)%Calcula la longitud de la hipotenusa de un triángulo de ángulo recto ibase_add_user%bool ibase_add_user(resource $service_handle, string $user_name, string $password, [string $first_name], [string $middle_name], [string $last_name])%Añade un usuario a una base de datos segura ibase_affected_rows%int ibase_affected_rows([resource $link_identifier])%Devuelve el número de columnas afectadas por la última consulta @@ -1188,9 +1192,8 @@ iconv_strrpos%int iconv_strrpos(string $haystack, string $needle, [string $chars iconv_substr%string iconv_substr(string $str, int $offset, [int $length = iconv_strlen($str, $charset)], [string $charset = ini_get("iconv.internal_encoding")])%Elimina parte del string idate%int idate(string $format, [int $timestamp = time()])%Formatea una fecha/hora local como un entero idn_to_ascii%string idn_to_ascii(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convierte un nombre de dominio a formato IDNA ASCII -idn_to_unicode%void idn_to_unicode()%Alias de idn_to_utf8 idn_to_utf8%string idn_to_utf8(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convierte un nombre de dominio de IDNA ASCII a Unicode -ignore_user_abort%int ignore_user_abort([string $value])%Establecer si la desconexión de un cliente debería abortar la ejecución del script +ignore_user_abort%int ignore_user_abort([bool $value])%Establecer si la desconexión de un cliente debería abortar la ejecución del script iis_add_server%int iis_add_server(string $path, string $comment, string $server_ip, int $port, string $host_name, int $rights, int $start_server)%Crea un nuevo servidor web virtual iis_get_dir_security%int iis_get_dir_security(int $server_instance, string $virtual_path)%Obtiene la Seguridad de Directorio iis_get_script_map%string iis_get_script_map(int $server_instance, string $virtual_path, string $script_extension)%Obtiene el mapeado de scripts en un directorio virtual para una extensión específica @@ -1216,6 +1219,7 @@ imageaffinematrixget%array imageaffinematrixget(int $type, [mixed $options])%Dev imagealphablending%bool imagealphablending(resource $image, bool $blendmode)%Establece el modo de mezcla para una imagen imageantialias%bool imageantialias(resource $image, bool $enabled)%Permitir o no el uso de funciones antialias imagearc%bool imagearc(resource $image, int $cx, int $cy, int $width, int $height, int $start, int $end, int $color)%Dibujar un arco +imagebmp%bool imagebmp(resource $image, mixed $to, [bool $compressed])%Output a BMP image to browser or file imagechar%bool imagechar(resource $image, int $font, int $x, int $y, string $c, int $color)%Dibujar un carácter horizontalmente imagecharup%bool imagecharup(resource $image, int $font, int $x, int $y, string $c, int $color)%Dibujar un carácter verticalmente imagecolorallocate%int imagecolorallocate(resource $image, int $red, int $green, int $blue)%Asigna un color para una imagen @@ -1241,6 +1245,7 @@ imagecopymergegray%bool imagecopymergegray(resource $dst_im, resource $src_im, i imagecopyresampled%bool imagecopyresampled(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%Copia y cambia el tamaño de parte de una imagen redimensionándola imagecopyresized%bool imagecopyresized(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%Copia y cambia el tamaño de parte de una imagen imagecreate%resource imagecreate(int $width, int $height)%Crea una nueva imagen basada en paleta +imagecreatefrombmp%resource imagecreatefrombmp(string $filename)%Crea una nueva imagen a partir de un fichero o de una URL imagecreatefromgd%resource imagecreatefromgd(string $filename)%Crear una imagen nueva desde un fichero GD o un URL imagecreatefromgd2%resource imagecreatefromgd2(string $filename)%Crear una imagen nueva desde un fichero GD2 o un URL imagecreatefromgd2part%resource imagecreatefromgd2part(string $filename, int $srcX, int $srcY, int $width, int $height)%Crear una nueva imagen desde una parte dada de un fichero GD2 o un URL @@ -1272,16 +1277,18 @@ imageftbbox%array imageftbbox(float $size, float $angle, string $fontfile, strin imagefttext%array imagefttext(resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text, [array $extrainfo])%Escribir texto en la imagen usando fuentes mediante FreeType 2 imagegammacorrect%bool imagegammacorrect(resource $image, float $inputgamma, float $outputgamma)%Aplicar una corrección gamma a la imagen GD imagegd%bool imagegd(resource $image, [string $filename])%Imprime una imagen GD2 a un navegador o archivo -imagegd2%bool imagegd2(resource $image, [string $filename], [int $chunk_size], [int $type = IMG_GD2_RAW])%Imprime una imagen GD2 a un navegador o archivo +imagegd2%bool imagegd2(resource $image, [mixed $to = NULL], [int $chunk_size = 128], [int $type = IMG_GD2_RAW])%Imprime una imagen GD2 a un navegador o fichero +imagegetclip%array imagegetclip(resource $im)%Get the clipping rectangle imagegif%bool imagegif(resource $image, [string $filename])%Exportar la imagen al navegador o a un fichero imagegrabscreen%resource imagegrabscreen()%Capturar la pantalla completa imagegrabwindow%resource imagegrabwindow(int $window_handle, [int $client_area])%Capturar una ventana imageinterlace%int imageinterlace(resource $image, [int $interlace])%Habilitar o deshabilitar en entrelazamiento imageistruecolor%bool imageistruecolor(resource $image)%Averiguar si una imagen es de color verdadero -imagejpeg%bool imagejpeg(resource $image, [string $filename], [int $quality])%Exportar la imagen al navegador o a un fichero -imagelayereffect%bool imagelayereffect(resource $image, int $effect)%Establecer la bandera de mezcla alfa para usar los efectos de capa de la biblioteca gd incluida +imagejpeg%bool imagejpeg(resource $image, [mixed $to], [int $quality])%Exportar la imagen al navegador o a un fichero +imagelayereffect%bool imagelayereffect(resource $image, int $effect)%Establecer la bandera de mezcla alfa para usar los efectos de capa imageline%bool imageline(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%Dibujar una línea imageloadfont%int imageloadfont(string $file)%Cargar una nueva fuente +imageopenpolygon%bool imageopenpolygon(resource $image, array $points, int $num_points, int $color)%Draws an open polygon imagepalettecopy%void imagepalettecopy(resource $destination, resource $source)%Copiar la paleta de una imagen a otra imagepalettetotruecolor%bool imagepalettetotruecolor(resource $src)%Convierte una imagen basada en paleta a color verdadero imagepng%bool imagepng(resource $image, [string $filename], [int $quality], [int $filters])%Imprimir una imagen PNG al navegador o a un archivo @@ -1290,14 +1297,16 @@ imagepsbbox%array imagepsbbox(string $text, resource $font, int $size, int $spac imagepsencodefont%bool imagepsencodefont(resource $font_index, string $encodingfile)%Cambiar el vector de codificación de carácter de un tipo de letra imagepsextendfont%bool imagepsextendfont(resource $font_index, float $extend)%Extender o condensar una fuente imagepsfreefont%bool imagepsfreefont(resource $font_index)%Liberar la memoria usada por una fuente PostScript Type 1 -imagepsloadfont%resource imagepsloadfont(string $filename)%Cargar una fuente PostScript Type 1 desde un archivo +imagepsloadfont%resource imagepsloadfont(string $filename)%Cargar una fuente PostScript Type 1 desde un fichero imagepsslantfont%bool imagepsslantfont(resource $font_index, float $slant)%Inclinar una fuente imagepstext%array imagepstext(resource $image, string $text, resource $font_index, int $size, int $foreground, int $background, int $x, int $y, [int $space], [int $tightness], [float $angle = 0.0], [int $antialias_steps = 4])%Dibujar un texto sobre una imagen usando fuentes PostScript Type1 imagerectangle%bool imagerectangle(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%Dibuja un rectángulo +imageresolution%mixed imageresolution(resource $image, [int $res_x], [int $res_y])%Get or set the resolution of the image imagerotate%resource imagerotate(resource $image, float $angle, int $bgd_color, [int $ignore_transparent])%Rotar una imagen con un ángulo dado imagesavealpha%bool imagesavealpha(resource $image, bool $saveflag)%Establecer la bandera para guardar la información completa del canal alfa (como oposición a la transparencia de un simple color) cuando se guardan imágenes PNG imagescale%resource imagescale(resource $image, int $new_width, [int $new_height = -1], [int $mode = IMG_BILINEAR_FIXED])%Redimensiona una imagen usando un nuevo ancho y alto imagesetbrush%bool imagesetbrush(resource $image, resource $brush)%Establecer la imagen de pincel para el dibujo de líneas +imagesetclip%bool imagesetclip(resource $im, int $x1, int $y1, int $x2, int $y2)%Set the clipping rectangle imagesetinterpolation%bool imagesetinterpolation(resource $image, [int $method = IMG_BILINEAR_FIXED])%Establecer el método de interpolación imagesetpixel%bool imagesetpixel(resource $image, int $x, int $y, int $color)%Establecer un simple píxel imagesetstyle%bool imagesetstyle(resource $image, array $style)%Establecer el estilo para el dibujo de líneas @@ -1312,7 +1321,7 @@ imagettfbbox%array imagettfbbox(float $size, float $angle, string $fontfile, str imagettftext%array imagettftext(resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text)%Escribir texto en la imagen usando fuentes TrueType imagetypes%int imagetypes()%Devolver los tipos de imagen soportados por la versión actual de PHP imagewbmp%bool imagewbmp(resource $image, [string $filename], [int $foreground])%Exportar la imagen al navegador o a un fichero -imagewebp%bool imagewebp(resource $image, string $filename)%Imprimir una imagen WebP al navegador o fichero +imagewebp%bool imagewebp(resource $image, mixed $to, [int $quality = 80])%Imprimir una imagen WebP al navegador o fichero imagexbm%bool imagexbm(resource $image, string $filename, [int $foreground])%Imprimir una imagen XBM en el navegador o en un fichero imap_8bit%string imap_8bit(string $string)%Convertir una cadena 8bit a una cadena quoted-printable imap_alerts%array imap_alerts()%Devuelve todos los mensajes de alerte de IMAP que han sucedido @@ -1392,8 +1401,10 @@ import_request_variables%bool import_request_variables(string $types, [string $p in_array%bool in_array(mixed $needle, array $haystack, [bool $strict])%Comprueba si un valor existe en un array include%bool include(string $path)%Includes and evaluates the specified file include_once%bool include_once(string $path)%Includes and evaluates the specified file -inet_ntop%string inet_ntop(string $in_addr)%Converts a packed internet address to a human readable representation -inet_pton%string inet_pton(string $address)%Converts a human readable IP address to its packed in_addr representation +inet_ntop%string inet_ntop(string $in_addr)%Convertir una dirección de internet empaquetada en una representación legible por humanos +inet_pton%string inet_pton(string $address)%Convertir una dirección IP legible por humanos a su representación in_addr empaquetada +inflate_add%string inflate_add(resource $context, string $encoded_data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally inflate encoded data +inflate_init%resource inflate_init(int $encoding, [array $options = array()])%Initialize an incremental inflate context ini_alter%void ini_alter()%Alias de ini_set ini_get%string ini_get(string $varname)%Devuelve el valor de una directiva de configuración ini_get_all%array ini_get_all([string $extension], [bool $details = true])%Obtiene todas las opciones de configuración @@ -1416,7 +1427,7 @@ iptcparse%array iptcparse(string $iptcblock)%Conviertir un bloque IPTC binario e is_a%bool is_a(object $object, string $class_name, [bool $allow_string])%Comprueba si un objeto es de una clase o tiene esta clase como una de sus madres is_array%bool is_array(mixed $var)%Comprueba si una variable es un array is_bool%bool is_bool(mixed $var)%Comprueba si una variable es de tipo booleano -is_callable%bool is_callable(callable $name, [bool $syntax_only = false], [string $callable_name])%Verificar que los contenidos de una variable puedan ser llamados como una función +is_callable%bool is_callable(mixed $var, [bool $syntax_only = false], [string $callable_name])%Verificar que los contenidos de una variable puedan ser llamados como una función is_dir%bool is_dir(string $filename)%Indica si el nombre de archivo es un directorio is_double%void is_double()%Alias de is_float is_executable%bool is_executable(string $filename)%Indica si el nombre de archivo es ejecutable @@ -1444,9 +1455,9 @@ is_uploaded_file%bool is_uploaded_file(string $filename)%Indica si el archivo fu is_writable%bool is_writable(string $filename)%Indica si un archivo existe y es escribible is_writeable%void is_writeable()%Alias de is_writable isset%bool isset(mixed $var, [mixed ...])%Determina si una variable está definida y no es NULL -iterator_apply%int iterator_apply(Traversable $iterator, callable $function, [array $args])%Llama una función para cada elemento en un iterador +iterator_apply%int iterator_apply(Traversable $iterator, callable $function, [array $args])%Llamar a una función para cada elemento de un iterador iterator_count%int iterator_count(Traversable $iterator)%Contar los elementos de un iterador -iterator_to_array%array iterator_to_array(Traversable $iterator, [bool $use_keys = true])%Copia el iterador en un array +iterator_to_array%array iterator_to_array(Traversable $iterator, [bool $use_keys = true])%Copiar el iterador a un array jddayofweek%mixed jddayofweek(int $julianday, [int $mode = CAL_DOW_DAYNO])%Devuelve el día de la semana jdmonthname%string jdmonthname(int $julianday, int $mode)%Devuelve el nombre de un mes jdtofrench%string jdtofrench(int $juliandaycount)%Convierte una Fecha Juliana al Calendario Republicano Francés @@ -1513,7 +1524,7 @@ ldap_sasl_bind%bool ldap_sasl_bind(resource $link, [string $binddn], [string $pa ldap_search%resource ldap_search(resource $link_identifier, string $base_dn, string $filter, [array $attributes], [int $attrsonly], [int $sizelimit], [int $timelimit], [int $deref])%Buscar el árbol LDAP ldap_set_option%bool ldap_set_option(resource $link_identifier, int $option, mixed $newval)%Establecer el valor de la opción proporcionada ldap_set_rebind_proc%bool ldap_set_rebind_proc(resource $link, callable $callback)%Establece una función de devolución de llamada para realizar revinculaciones en el rastreo referencial -ldap_sort%bool ldap_sort(resource $link, resource $result, string $sortfilter)%Clasificar entradas de resultados de LDAP +ldap_sort%bool ldap_sort(resource $link, resource $result, string $sortfilter)%Clasificar entradas de resultados de LDAP en el lado del cliente ldap_start_tls%bool ldap_start_tls(resource $link)%Inciar TLS ldap_t61_to_8859%string ldap_t61_to_8859(string $value)%Traduce del conjunto de caracteres t61 al conjunto de caracteres 8859 ldap_unbind%bool ldap_unbind(resource $link_identifier)%Desenlazar de directorio LDAP @@ -1574,12 +1585,12 @@ mb_decode_mimeheader%string mb_decode_mimeheader(string $str)%Decodifica un stri mb_decode_numericentity%string mb_decode_numericentity(string $str, array $convmap, [string $encoding = mb_internal_encoding()])%Decodifica referencias a string numéricas de HTML en caracteres mb_detect_encoding%string mb_detect_encoding(string $str, [mixed $encoding_list = mb_detect_order()], [bool $strict = false])%Detecta la codificación de caracteres mb_detect_order%mixed mb_detect_order([mixed $encoding_list = mb_detect_order()])%Establece/obtiene el orden de detección de codificaciones de caracteres -mb_encode_mimeheader%string mb_encode_mimeheader(string $str, [string $charset = mb_internal_encoding()], [string $transfer_encoding = "B"], [string $linefeed = "\r\n"], [int $indent])%Codifica un string para la cabecera MIME +mb_encode_mimeheader%string mb_encode_mimeheader(string $str, [string $charset = determined by mb_language()], [string $transfer_encoding = "B"], [string $linefeed = "\r\n"], [int $indent])%Codifica un string para la cabecera MIME mb_encode_numericentity%string mb_encode_numericentity(string $str, array $convmap, [string $encoding = mb_internal_encoding()], [bool $is_hex = FALSE])%Convierte caracteres a referencias de string numéricas de HTML mb_encoding_aliases%array mb_encoding_aliases(string $encoding)%Obtiene los alias de un tipo de codificación conocido mb_ereg%int mb_ereg(string $pattern, string $string, [array $regs])%Comparación de expresiones regulares con soporte multibyte mb_ereg_match%bool mb_ereg_match(string $pattern, string $string, [string $option = "msr"])%Compararción de expresiones regulares para strings multibyte -mb_ereg_replace%string mb_ereg_replace(string $pattern, string $replacement, string $string, [string $option = "msr"])%Reemplaza una expresión regular con soprte multibyte +mb_ereg_replace%string mb_ereg_replace(string $pattern, string $replacement, string $string, [string $option = "msr"])%Reemplaza una expresión regular con soporte multibyte mb_ereg_replace_callback%string mb_ereg_replace_callback(string $pattern, callable $callback, string $string, [string $option = "msr"])%Realiza una búsqueda y sustitución de una expresión regular con soporte multibyte usando una llamada de retorno mb_ereg_search%bool mb_ereg_search([string $pattern], [string $option = "ms"])%Comparación de expresiones regulares multibyte para un string multibyte predefinido mb_ereg_search_getpos%int mb_ereg_search_getpos()%Devuelve la posición de inicio para la siguiente comparación de una expresión regular @@ -1589,7 +1600,7 @@ mb_ereg_search_pos%array mb_ereg_search_pos([string $pattern], [string $option = mb_ereg_search_regs%array mb_ereg_search_regs([string $pattern], [string $option = "ms"])%Devuelve la parte coincidente de una expresión regular multibyte mb_ereg_search_setpos%bool mb_ereg_search_setpos(int $position)%Establece el punto de inicio de la siguiente comparación de una expresión regular mb_eregi%int mb_eregi(string $pattern, string $string, [array $regs])%Comparación de expresiones regulares ignorando mayúsculas/minúsculas con soporte multibyte -mb_eregi_replace%string mb_eregi_replace(string $pattern, string $replace, string $string, [string $option = "msri"])%Reemplaza una expresión regular con soprte multibyte ignorando mayúsculas/minúsculas +mb_eregi_replace%string mb_eregi_replace(string $pattern, string $replace, string $string, [string $option = "msri"])%Reemplaza una expresión regular con soporte multibyte ignorando mayúsculas/minúsculas mb_get_info%mixed mb_get_info([string $type = "all"])%Obtiene la configuración interna de mbstring mb_http_input%mixed mb_http_input([string $type = ""])%Detecta la codificación de caracteres de entrada HTTP mb_http_output%mixed mb_http_output([string $encoding = mb_http_output()])%Establece/obtiene la codificación de caracteres de salida HTTP @@ -1760,7 +1771,7 @@ mysql_insert_id%int mysql_insert_id([resource $link_identifier = NULL])%Obtiene mysql_list_dbs%resource mysql_list_dbs([resource $link_identifier = NULL])%Lista las bases de datos disponibles en un servidor MySQL mysql_list_fields%resource mysql_list_fields(string $database_name, string $table_name, [resource $link_identifier = NULL])%Lista los campos de una tabla de MySQL mysql_list_processes%resource mysql_list_processes([resource $link_identifier = NULL])%Lista los procesos de MySQL -mysql_list_tables%resource mysql_list_tables(string $database, [resource $link_identifier = NULL])%Lista las tablas de una base de datos MySQL +mysql_list_tables%resource mysql_list_tables(string $database, [resource $link_identifier = NULL])%Enumerar las tablas de una base de datos MySQL mysql_num_fields%int mysql_num_fields(resource $result)%Obtiene el número de campos de un resultado mysql_num_rows%int mysql_num_rows(resource $result)%Obtener el número de filas de un conjunto de resultados mysql_pconnect%resource mysql_pconnect([string $server = ini_get("mysql.default_host")], [string $username = ini_get("mysql.default_user")], [string $password = ini_get("mysql.default_password")], [int $client_flags])%Abre una conexión persistente a un servidor MySQL @@ -1870,7 +1881,7 @@ mysqli_stmt_reset%bool mysqli_stmt_reset(mysqli_stmt $stmt)%Reinicia una sentenc mysqli_stmt_result_metadata%mysqli_result mysqli_stmt_result_metadata(mysqli_stmt $stmt)%Devuelve los metadatos del conjunto de resultados de una sentencia preparada mysqli_stmt_send_long_data%bool mysqli_stmt_send_long_data(int $param_nr, string $data, mysqli_stmt $stmt)%Enviar datos en bloques mysqli_stmt_store_result%bool mysqli_stmt_store_result(mysqli_stmt $stmt)%Transfiere un conjunto de resultados desde una sentencia preparada -mysqli_store_result%mysqli_result mysqli_store_result([int $option])%Transfiere un conjunto de resulados de la última consulta +mysqli_store_result%mysqli_result mysqli_store_result([int $option], mysqli $link)%Transfiere un conjunto de resulados de la última consulta mysqli_thread_safe%bool mysqli_thread_safe()%Devuelve si la seguridad a nivel de hilos está dada o no mysqli_use_result%mysqli_result mysqli_use_result(mysqli $link)%Inicia la recuperación de un conjunto de resultados mysqli_warning%object mysqli_warning()%El propósito __construct @@ -1932,10 +1943,8 @@ numfmt_set_pattern%bool numfmt_set_pattern(string $pattern, NumberFormatter $fmt numfmt_set_symbol%bool numfmt_set_symbol(int $attr, string $value, NumberFormatter $fmt)%Establecer un valor de símbolo numfmt_set_text_attribute%bool numfmt_set_text_attribute(int $attr, string $value, NumberFormatter $fmt)%Set a text attribute ob_clean%void ob_clean()%Limpiar (eliminar) el búfer de salida -ob_deflatehandler%string ob_deflatehandler(string $data, int $mode)%Comprimir el manejador de salidas ob_end_clean%bool ob_end_clean()%Limpiar (eliminar) el búfer de salida y deshabilitar el almacenamiento en el mismo ob_end_flush%bool ob_end_flush()%Volcar (enviar) el búfer de salida y deshabilitar el almacenamiento en el mismo -ob_etaghandler%string ob_etaghandler(string $data, int $mode)%Manejador de salida de ETag ob_flush%void ob_flush()%Vaciar (enviar) el búfer de salida ob_get_clean%string ob_get_clean()%Obtener el contenido del búfer actual y eliminar el búfer de salida actual ob_get_contents%string ob_get_contents()%Devolver el contenido del búfer de salida @@ -1946,7 +1955,6 @@ ob_get_status%array ob_get_status([bool $full_status = FALSE])%Obtener el estado ob_gzhandler%string ob_gzhandler(string $buffer, int $mode)%Función de llamada de retorno de ob_start para comprimir el búfer de salida con gzip ob_iconv_handler%string ob_iconv_handler(string $contents, int $status)%Convierte la codificación de caracteres al manejador del buffer de salida ob_implicit_flush%void ob_implicit_flush([int $flag = true])%Habilitar/deshabilitar el volcado implícito -ob_inflatehandler%string ob_inflatehandler(string $data, int $mode)%Descromprimir el Manejador de salidas ob_list_handlers%array ob_list_handlers()%Enumerar todos los gestores de salida en uso ob_start%bool ob_start([callable $output_callback], [int $chunk_size], [int $flags])%Activa el almacenamiento en búfer de la salida ob_tidyhandler%string ob_tidyhandler(string $input, [int $mode])%Función callback de ob_start para reparar el buffer @@ -2156,7 +2164,7 @@ openssl_x509_free%void openssl_x509_free(resource $x509cert)%Liberar un recurso openssl_x509_parse%array openssl_x509_parse(mixed $x509cert, [bool $shortnames = true])%Analiza un certificado X509 y devuelve la información como un matriz openssl_x509_read%resource openssl_x509_read(mixed $x509certdata)%Analiza un certificado X.509 y devuelve un identificador de recurso para él ord%int ord(string $string)%devuelve el valor ASCII de un caracter -output_add_rewrite_var%bool output_add_rewrite_var(string $name, string $value)%Aladir valores al mecanismo de reescritura de URLs +output_add_rewrite_var%bool output_add_rewrite_var(string $name, string $value)%Añadir valores al mecanismo de reescritura de URLs output_reset_rewrite_vars%bool output_reset_rewrite_vars()%Restablecer los valores del mecanismo de reescritura de URLs pack%string pack(string $format, [mixed $args], [mixed ...])%Empaqueta información a una cadena binaria parse_ini_file%array parse_ini_file(string $filename, [bool $process_sections = false], [int $scanner_mode = INI_SCANNER_NORMAL])%Analiza un fichero de configuración @@ -2169,9 +2177,9 @@ password_hash%string password_hash(string $password, integer $algo, [array $opti password_needs_rehash%boolean password_needs_rehash(string $hash, integer $algo, [array $options])%Comprueba si el hash facilitado coincide con las opciones proporcionadas password_verify%boolean password_verify(string $password, string $hash)%Comprueba que la contraseña coincida con un hash pathinfo%mixed pathinfo(string $path, [int $options = PATHINFO_DIRNAME | PATHINFO_BASENAME | PATHINFO_EXTENSION | PATHINFO_FILENAME])%Devuelve información acerca de la ruta de un fichero -pclose%int pclose(resource $handle)%Cierra un proceso de un puntero a un archivo +pclose%int pclose(resource $handle)%Cierra un proceso de un puntero a un fichero pcntl_alarm%int pcntl_alarm(int $seconds)%Set an alarm clock for delivery of a signal -pcntl_errno%void pcntl_errno()%Alias de pcntl_strerror +pcntl_errno%void pcntl_errno()%Alias de pcntl_get_last_error pcntl_exec%bool pcntl_exec(string $path, [array $args], [array $envs])%Executes specified program in current process space pcntl_fork%int pcntl_fork()%Forks the currently running process pcntl_get_last_error%int pcntl_get_last_error()%Retrieve the error number set by the last pcntl function which failed @@ -2179,6 +2187,7 @@ pcntl_getpriority%int pcntl_getpriority([int $pid = getmypid()], [int $process_i pcntl_setpriority%bool pcntl_setpriority(int $priority, [int $pid = getmypid()], [int $process_identifier = PRIO_PROCESS])%Change the priority of any process pcntl_signal%bool pcntl_signal(int $signo, callable|int $handler, [bool $restart_syscalls = true])%Installs a signal handler pcntl_signal_dispatch%bool pcntl_signal_dispatch()%Calls signal handlers for pending signals +pcntl_signal_get_handler%int|string pcntl_signal_get_handler(int $signo)%Get the current handler for specified signal pcntl_sigprocmask%bool pcntl_sigprocmask(int $how, array $set, [array $oldset])%Sets and retrieves blocked signals pcntl_sigtimedwait%int pcntl_sigtimedwait(array $set, [array $siginfo], [int $seconds], [int $nanoseconds])%Waits for signals, with a timeout pcntl_sigwaitinfo%int pcntl_sigwaitinfo(array $set, [array $siginfo])%Waits for signals @@ -2260,7 +2269,7 @@ pg_ping%bool pg_ping([resource $connection])%Ping a conexión de base de datos pg_port%int pg_port([resource $connection])%Devuelve el número de puerto asociado con la conexión pg_prepare%resource pg_prepare([resource $connection], string $stmtname, string $query)%Submits a request to create a prepared statement with the given parameters, and waits for completion. pg_put_line%bool pg_put_line([resource $connection], string $data)%Send a NULL-terminated string to PostgreSQL backend -pg_query%resource pg_query([resource $connection], string $query)%Execute a query +pg_query%resource pg_query([resource $connection], string $query)%Ejecutar una consulta pg_query_params%resource pg_query_params([resource $connection], string $query, array $params)%Submits a command to the server and waits for the result, with the ability to pass parameters separately from the SQL command text. pg_result_error%string pg_result_error(resource $result)%Get error message associated with result pg_result_error_field%string pg_result_error_field(resource $result, int $fieldcode)%Returns an individual field of an error report. @@ -2409,7 +2418,7 @@ recode_file%bool recode_file(string $request, resource $input, resource $output) recode_string%string recode_string(string $request, string $string)%Recodifica un string según una petición de recodificación register_shutdown_function%void register_shutdown_function(callable $callback, [mixed $parameter], [mixed ...])%Registrar una función para que sea ejecutada al cierre register_tick_function%bool register_tick_function(callable $function, [mixed $arg], [mixed ...])%Registrar una función para que sea ejecutada en cada tick -rename%bool rename(string $oldname, string $newname, [resource $context])%Renombra un archivo o directorio +rename%bool rename(string $oldname, string $newname, [resource $context])%Renombra un fichero o directorio require%bool require(string $path)%Includes and evaluates the specified file, erroring if the file cannot be included require_once%bool require_once(string $path)%Includes and evaluates the specified file, erroring if the file cannot be included reset%mixed reset(array $array)%Establece el puntero interno de un array a su primer elemento @@ -2452,9 +2461,11 @@ session_abort%void session_abort()%Desecha los cambios en el array de sesión y session_cache_expire%int session_cache_expire([string $new_cache_expire])%Devuelve la caducidad de la caché actual session_cache_limiter%string session_cache_limiter([string $cache_limiter])%Obtener y/o establecer el limitador de caché actual session_commit%void session_commit()%Alias de session_write_close +session_create_id%string session_create_id([string $prefix])%Crear un nuevo ID de sesión session_decode%bool session_decode(string $data)%Decodifica la información de sesión desde una cadena de sesión codificada session_destroy%bool session_destroy()%Destruye toda la información registrada de una sesión session_encode%string session_encode()%Codifica los datos de la sesión actual como un string codificado de sesión +session_gc%int session_gc()%Realizar una recolección de basura de datos de sesión session_get_cookie_params%array session_get_cookie_params()%Obtener los parámetros de la cookie de sesión session_id%string session_id([string $id])%Obtener y/o establecer el id de sesión actual session_is_registered%bool session_is_registered(string $name)%Averiguar si una variable global está registrada en una sesión @@ -2542,10 +2553,11 @@ socket_close%void socket_close(resource $socket)%Cierra un recurso socket socket_cmsg_space%int socket_cmsg_space(int $level, int $type)%Calcular el tamaño del búfer de mensajes socket_connect%bool socket_connect(resource $socket, string $address, [int $port])%Inicia una conexión sobre un socket socket_create%resource socket_create(int $domain, int $type, int $protocol)%Crear un socket (extremo de comunicación) -socket_create_listen%resource socket_create_listen(int $port, [int $backlog = 128])%Abre un socket en un puerto para aceptar conxiones +socket_create_listen%resource socket_create_listen(int $port, [int $backlog = 128])%Abre un socket en un puerto para aceptar conexiones socket_create_pair%bool socket_create_pair(int $domain, int $type, int $protocol, array $fd)%Crea un par de sockets indistinguibles y los almacena en una matriz socket_get_option%mixed socket_get_option(resource $socket, int $level, int $optname)%Obtiene las opciones de socket para el socket socket_get_status%void socket_get_status()%Alias de stream_get_meta_data +socket_getopt%void socket_getopt()%Alias de socket_get_option socket_getpeername%bool socket_getpeername(resource $socket, string $address, [int $port])%Pregunta a la parte remota del socket dado que puede resultar en un host/puerto o en una ruta de sistema de archivos Unix, dependiendo de su tipo socket_getsockname%bool socket_getsockname(resource $socket, string $addr, [int $port])%Preguntar a la parte local del socket dado que puede resultar en un host/puerto o en una ruta de sistema de archivos Unix, dependiendo de su tipo socket_import_stream%resource socket_import_stream(resource $stream)%Importar un flujo a stream @@ -2564,6 +2576,7 @@ socket_set_blocking%void socket_set_blocking()%Alias de stream_set_blocking socket_set_nonblock%bool socket_set_nonblock(resource $socket)%Establece el modo de no-bloqueo para el descriptor de archivo fd socket_set_option%bool socket_set_option(resource $socket, int $level, int $optname, mixed $optval)%Establece las opciones de socket para el socket socket_set_timeout%void socket_set_timeout()%Alias de stream_set_timeout +socket_setopt%void socket_setopt()%Alias de socket_set_option socket_shutdown%bool socket_shutdown(resource $socket, [int $how = 2])%Cierra un socket para dejar de recibir, enviar, o ambos socket_strerror%string socket_strerror(int $errno)%Devuelve una cadena que describe un error de socket socket_write%int socket_write(resource $socket, string $buffer, [int $length])%Escribir en un socket @@ -2762,7 +2775,7 @@ stream_notification_callback%callable stream_notification_callback(int $notifica stream_register_wrapper%void stream_register_wrapper()%Alias de stream_wrapper_register stream_resolve_include_path%string stream_resolve_include_path(string $filename)%Resuelve el nombre de archivo en la ruta incluida stream_select%int stream_select(array $read, array $write, array $except, int $tv_sec, [int $tv_usec])%Ejecuta el equivalente de la llamada al sistema select() sobre las matrices de flujos dadas con un tiempo de espera especificado por tv_sec y tv_usec -stream_set_blocking%bool stream_set_blocking(resource $stream, int $mode)%Establecer el modo bloqueo/no-bloqueo en un flujo +stream_set_blocking%bool stream_set_blocking(resource $stream, bool $mode)%Establecer el modo bloqueo/no-bloqueo en un flujo stream_set_chunk_size%int stream_set_chunk_size(resource $fp, int $chunk_size)%Establecer el tamaño de trozo de flujo stream_set_read_buffer%int stream_set_read_buffer(resource $stream, int $buffer)%Establece el búfer de lectura de archivos en el flujo dado stream_set_timeout%bool stream_set_timeout(resource $stream, int $seconds, [int $microseconds])%Establecer un perido de tiempo de espera en un flujo diff --git a/Support/function-docs/fr.txt b/Support/function-docs/fr.txt index c98ecf0..5c82091 100644 --- a/Support/function-docs/fr.txt +++ b/Support/function-docs/fr.txt @@ -1,16 +1,11 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Construit un objet d'itération APCIterator +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%Construit un objet AppendIterator ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%Construit un ArrayIterator ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%Construit un nouvel objet tableau -BSON\Binary%object BSON\Binary(string $data, string $subtype)%Description -BSON\Javascript%object BSON\Javascript(string $javascript, [string $scope])%Description -BSON\ObjectID%object BSON\ObjectID([string $id])%Description -BSON\Regex%object BSON\Regex(string $pattern, string $flags)%Description BSON\Timestamp%object BSON\Timestamp(string $increment, string $timestamp)%Description BSON\UTCDatetime%object BSON\UTCDatetime(string $milliseconds)%Description -BSON\fromArray%ReturnType BSON\fromArray(string $array)%Description BSON\fromJSON%ReturnType BSON\fromJSON(string $json)%Description -BSON\toArray%ReturnType BSON\toArray(string $bson)%Description BSON\toJSON%ReturnType BSON\toJSON(string $bson)%Description BadFunctionCallException%object BadFunctionCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadFunctionCallException BadMethodCallException%object BadMethodCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadMethodCallException @@ -35,6 +30,14 @@ DateTimeImmutable%object DateTimeImmutable([string $time = "now"], [DateTimeZone DateTimeZone%object DateTimeZone(string $timezone)%Crée un nouvel objet DateTimeZone DirectoryIterator%object DirectoryIterator(string $path)%Construit un nouvel itérateur de dossier à partir d'un chemin DomainException%object DomainException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new DomainException +Ds\Deque%object Ds\Deque([mixed $values])%Creates a new instance. +Ds\Map%object Ds\Map([mixed $...values])%Creates a new instance. +Ds\Pair%object Ds\Pair([mixed $key], [mixed $value])%Creates a new instance. +Ds\PriorityQueue%object Ds\PriorityQueue()%Creates a new instance. +Ds\Queue%object Ds\Queue([mixed $values])%Creates a new instance. +Ds\Set%object Ds\Set([mixed $...values])%Creates a new instance. +Ds\Stack%object Ds\Stack([mixed $values])%Creates a new instance. +Ds\Vector%object Ds\Vector([mixed $values])%Creates a new instance. ErrorException%object ErrorException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new ErrorException EvCheck%object EvCheck(callable $callback, [mixed $data], [int $priority])%Construit l'objet d'observation EvCheck EvChild%object EvChild(int $pid, bool $trace, callable $callback, [mixed $data], [int $priority])%Construit l'objet d'observation EvChild @@ -70,12 +73,6 @@ GlobIterator%object GlobIterator(string $path, [int $flags = FilesystemIterator: Gmagick%object Gmagick([string $filename])%Le constructeur Gmagick GmagickPixel%object GmagickPixel([string $color])%Le constructeur GmagickPixel HaruDoc%object HaruDoc()%Construit un nouvel objet HaruDoc -HttpDeflateStream%object HttpDeflateStream([int $flags])%Constructeur de la classe HttpDeflateStream -HttpInflateStream%object HttpInflateStream([int $flags])%Constructeur de la classe HttpInflateStream -HttpMessage%object HttpMessage([string $message])%Constructeur de la classe HttpMessage -HttpQueryString%object HttpQueryString([bool $global = true], [mixed $add])%Constructeur de la classe HttpQueryString -HttpRequest%object HttpRequest([string $url], [int $request_method = HTTP_METH_GET], [array $options])%Constructeur de HttpRequest -HttpRequestPool%object HttpRequestPool([HttpRequest $request], [HttpRequest ...])%Constructeur de la classe HttpRequestPool Imagick%object Imagick(mixed $files)%Le constructeur Imagick ImagickDraw%object ImagickDraw()%Le constructeur ImagickDraw ImagickPixel%object ImagickPixel([string $color])%Le constructeur ImagickPixel @@ -100,12 +97,22 @@ MongoCollection%object MongoCollection(MongoDB $db, string $name)%Crée une nouv MongoCommandCursor%object MongoCommandCursor(MongoClient $connection, string $ns, array $command)%Crée un nouveau curseur de commande MongoCursor%object MongoCursor(MongoClient $connection, string $ns, [array $query = array()], [array $fields = array()])%Crée un nouveau curseur MongoDB%object MongoDB(MongoClient $conn, string $name)%Crée une nouvelle base de données Mongo -MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([boolean $ordered = true])%Create new BulkWrite -MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Construit une nouvelle commande +MongoDB\BSON\Binary%object MongoDB\BSON\Binary(string $data, integer $type)%Construit un nouveau binaire +MongoDB\BSON\Decimal128%object MongoDB\BSON\Decimal128([string $value])%Construct a new Decimal128 +MongoDB\BSON\Javascript%object MongoDB\BSON\Javascript(string $code, [array|object $scope])%Construit un nouveau Javascript +MongoDB\BSON\MaxKey%object MongoDB\BSON\MaxKey()%Construct a new MaxKey +MongoDB\BSON\MinKey%object MongoDB\BSON\MinKey()%Construct a new MinKey +MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Construit un nouvel ObjectID +MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, string $flags)%Construit une nouvelle REGEX +MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite +MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Crée une nouvelle commande MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor(Server $server, string $responseDocument)%Description MongoDB\Driver\CursorId%object MongoDB\Driver\CursorId(string $id)%Description -MongoDB\Driver\Manager%object MongoDB\Driver\Manager(string $uri, [array $options], [array $driverOptions])%Create new MongoDB Manager +MongoDB\Driver\Manager%object MongoDB\Driver\Manager([string $uri = "mongodb://127.0.0.1/], [array $uriOptions = []], [array $driverOptions = []])%Create new MongoDB Manager MongoDB\Driver\Query%object MongoDB\Driver\Query(array|object $filter, [array $queryOptions])%Construct new Query +MongoDB\Driver\ReadConcern%object MongoDB\Driver\ReadConcern([string $level])%Construct immutable ReadConcern MongoDB\Driver\ReadPreference%object MongoDB\Driver\ReadPreference(string $readPreference, [array $tagSets])%Description MongoDB\Driver\Server%object MongoDB\Driver\Server(string $host, string $port, [array $options], [array $driverOptions])%Description MongoDB\Driver\WriteConcern%object MongoDB\Driver\WriteConcern(string $wstring, [integer $wtimeout], [boolean $journal], [boolean $fsync])%Construit un WriteConcern immutable @@ -166,7 +173,7 @@ SAMMessage%object SAMMessage([mixed $body])%Crée un nouvel objet de message SDO_DAS_Relational%object SDO_DAS_Relational(array $database_metadata, [string $application_root_type], [array $SDO_containment_references_metadata])%Construit une instance de DAS Relationnel SDO_Model_ReflectionDataObject%object SDO_Model_ReflectionDataObject(SDO_DataObject $data_object)%Construit un SDO_Model_ReflectionDataObject SNMP%object SNMP(int $version, string $hostname, string $community, [int $timeout = 1000000], [int $retries = 5])%Crée une instance SNMP représentant la session vers l'agent distant SNMP -SQLite3%object SQLite3(string $filename, [int $flags], [string $encryption_key])%Instantie un objet SQLite3 et ouvre la base de données SQLite 3 +SQLite3%object SQLite3(string $filename, [int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE], [string $encryption_key = null])%Instantie un objet SQLite3 et ouvre la base de données SQLite 3 SVM%object SVM()%Construit un nouvel objet SVM SVMModel%object SVMModel([string $filename])%Construit un nouvel objet SVMModel SimpleXMLElement%object SimpleXMLElement(string $data, [int $options], [bool $data_is_url = false], [string $ns = ""], [bool $is_prefix = false])%Crée un nouvel objet SimpleXMLElement @@ -191,13 +198,41 @@ Spoofchecker%object Spoofchecker()%Constructeur Swish%object Swish(string $index_names)%Construit un objet Swish SyncEvent%object SyncEvent([string $name], [bool $manual])%Construit un nouvel objet SyncEvent SyncMutex%object SyncMutex([string $name])%Construit un nouvel objet SyncMutex -SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock])%Construit un nouvel objet SyncReaderWriter -SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval], [bool $autounlock])%Construit un nouvel objet SyncSemaphore +SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock = true])%Construit un nouvel objet SyncReaderWriter +SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval = 1], [bool $autounlock = true])%Construit un nouvel objet SyncSemaphore TokyoTyrant%object TokyoTyrant([string $host], [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])%Construit un nouvel objet TokyoTyrant TokyoTyrantIterator%object TokyoTyrantIterator(mixed $object)%Construit un itérateur TokyoTyrantQuery%object TokyoTyrantQuery(TokyoTyrantTable $table)%Construit une nouvelle requête Transliterator%object Transliterator()%Constructeur privé pour interdire l'instantiation UConverter%object UConverter([string $destination_encoding], [string $source_encoding])%Crée un objet UConverter +UI\Controls\Box%object UI\Controls\Box([integer $orientation = UI\Controls\Box::Horizontal])%Construct a new Box +UI\Controls\Button%object UI\Controls\Button(string $text)%Construct a new Button +UI\Controls\Check%object UI\Controls\Check(string $text)%Construct a new Check +UI\Controls\Entry%object UI\Controls\Entry([integer $type = UI\Controls\Entry::Normal])%Construct a new Entry +UI\Controls\Group%object UI\Controls\Group(string $title)%Construct a new Group +UI\Controls\Label%object UI\Controls\Label(string $text)%Construct a new Label +UI\Controls\MultilineEntry%object UI\Controls\MultilineEntry([integer $type])%Construct a new Multiline Entry +UI\Controls\Picker%object UI\Controls\Picker([integer $type = UI\Controls\Picker::Date])%Construct a new Picker +UI\Controls\Separator%object UI\Controls\Separator([integer $type = UI\Controls\Separator::Horizontal])%Construct a new Separator +UI\Controls\Slider%object UI\Controls\Slider(integer $min, integer $max)%Construct a new Slider +UI\Controls\Spin%object UI\Controls\Spin(integer $min, integer $max)%Construct a new Spin +UI\Draw\Brush%object UI\Draw\Brush(integer $color)%Construct a new Brush +UI\Draw\Brush\LinearGradient%object UI\Draw\Brush\LinearGradient(UI\Point $start, UI\Point $end)%Construct a Linear Gradient +UI\Draw\Brush\RadialGradient%object UI\Draw\Brush\RadialGradient(UI\Point $start, UI\Point $outer, float $radius)%Construct a new Radial Gradient +UI\Draw\Color%object UI\Draw\Color([integer $color])%Construct new Color +UI\Draw\Path%object UI\Draw\Path([integer $mode = UI\Draw\Path::Winding])%Construct a new Path +UI\Draw\Stroke%object UI\Draw\Stroke([integer $cap = UI\Draw\Line\Cap::Flat], [integer $join = UI\Draw\Line\Join::Miter], [float $thickness = 1], [float $miterLimit = 10])%Construct a new Stroke +UI\Draw\Text\Font%object UI\Draw\Text\Font(UI\Draw\Text\Font\Descriptor $descriptor)%Construct a new Font +UI\Draw\Text\Font\Descriptor%object UI\Draw\Text\Font\Descriptor(string $family, float $size, [integer $weight = UI\Draw\Text\Font\Weight::Normal], [integer $italic = UI\Draw\Text\Font\Italic::Normal], [integer $stretch = UI\Draw\Text\Font\Stretch::Normal])%Construct a new Font Descriptor +UI\Draw\Text\Font\fontFamilies%array UI\Draw\Text\Font\fontFamilies()%Retrieve Font Families +UI\Draw\Text\Layout%object UI\Draw\Text\Layout(string $text, UI\Draw\Text\Font $font, float $width)%Construct a new Text Layout +UI\Executor%object UI\Executor(integer $microseconds, integer $seconds)%Construct a new Executor +UI\Menu%object UI\Menu(string $name)%Construct a new Menu +UI\Point%object UI\Point(float $x, float $y)%Construct a new Point +UI\Size%object UI\Size(float $width, float $height)%Construct a new Size +UI\Window%object UI\Window(string $title, Size $size, [boolean $menu = false])%Construct a new Window +UI\quit%void UI\quit()%Quit UI Loop +UI\run%void UI\run([integer $flags])%Enter UI Loop UnderflowException%object UnderflowException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnderflowException UnexpectedValueException%object UnexpectedValueException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnexpectedValueException V8Js%object V8Js([string $object_name = "PHP"], [array $variables = array()], [array $extensions = array()], [bool $report_uncaught_exceptions])%Construit un nouvel objet V8Js @@ -216,8 +251,8 @@ Yaf_Dispatcher%object Yaf_Dispatcher()%Constructeur de Yaf_Dispatcher Yaf_Exception%object Yaf_Exception()%Le but de __construct Yaf_Loader%object Yaf_Loader()%Le but de __construct Yaf_Registry%object Yaf_Registry()%Constructeur de la classe Yaf_Registry -Yaf_Request_Http%object Yaf_Request_Http()%Le but de __construct -Yaf_Request_Simple%object Yaf_Request_Simple()%Le but de __construct +Yaf_Request_Http%object Yaf_Request_Http([string $request_uri], [string $base_uri])%Constructeur de __construct +Yaf_Request_Simple%object Yaf_Request_Simple([string $method], [string $module], [string $controller], [string $action], [array $params])%Constructeur de __construct Yaf_Response_Abstract%object Yaf_Response_Abstract()%Le but de __construct Yaf_Route_Map%object Yaf_Route_Map([string $controller_prefer = false], [string $delimiter = ""])%Le but de __construct Yaf_Route_Regex%object Yaf_Route_Regex(string $match, array $route, [array $map], [array $verify], [string $reverse])%Contructeur Yaf_Route_Regex @@ -225,7 +260,7 @@ Yaf_Route_Rewrite%object Yaf_Route_Rewrite(string $match, array $route, [array $ Yaf_Route_Simple%object Yaf_Route_Simple(string $module_name, string $controller_name, string $action_name)%Constructeur de la classe Yaf_Route_Simple Yaf_Route_Supervar%object Yaf_Route_Supervar(string $supervar_name)%Le but de __construct Yaf_Router%object Yaf_Router()%Constructeur de la classe Yaf_Router -Yaf_Session%object Yaf_Session()%Le but de __construct +Yaf_Session%object Yaf_Session()%Le constructeur de __construct Yaf_View_Simple%object Yaf_View_Simple(string $template_dir, [array $options])%Constructeur de la classe Yaf_View_Simple Yar_Client%object Yar_Client(string $url)%Crée un client Yar_Server%object Yar_Server(Object $obj)%Enregistre un serveur @@ -233,6 +268,7 @@ ZMQ%object ZMQ()%ZMQ constructor ZMQContext%object ZMQContext([integer $io_threads = 1], [boolean $is_persistent = true])%Construit un nouvel objet ZMQContext ZMQDevice%object ZMQDevice(ZMQSocket $frontend, ZMQSocket $backend, [ZMQSocket $listener])%Construit un nouveau périphérique ZMQSocket%object ZMQSocket(ZMQContext $context, int $type, [string $persistent_id = null], [callback $on_new_socket = null])%Construit un nouveau ZMQSocket +Zookeeper%object Zookeeper([string $host = ''], [callable $watcher_cb = null], [int $recv_timeout = 10000])%Create a handle to used communicate with zookeeper. __autoload%void __autoload(string $class)%Tente de charger une classe indéfinie __halt_compiler%void __halt_compiler()%Stoppe l'exécution du compilateur abs%number abs(mixed $number)%Valeur absolue @@ -269,6 +305,18 @@ apc_inc%int apc_inc(string $key, [int $step = 1], [bool $success])%Incrémente u apc_load_constants%bool apc_load_constants(string $key, [bool $case_sensitive = true])%Charge un jeu de constantes depuis le cache apc_sma_info%array apc_sma_info([bool $limited = false])%Récupère les informations d'allocation mémoire partagée d'APC apc_store%array apc_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Met en cache une variable dans le magasin +apcu_add%array apcu_add(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a new variable in the data store +apcu_cache_info%array apcu_cache_info([bool $limited = false])%Retrieves cached information from APCu's data store +apcu_cas%bool apcu_cas(string $key, int $old, int $new)%Updates an old value with a new value +apcu_clear_cache%bool apcu_clear_cache()%Clears the APCu cache +apcu_dec%int apcu_dec(string $key, [int $step = 1], [bool $success])%Decrease a stored number +apcu_delete%bool apcu_delete(mixed $key)%Removes a stored variable from the cache +apcu_entry%mixed apcu_entry(string $key, callable $generator, [int $ttl])%Atomically fetch or generate a cache entry +apcu_exists%mixed apcu_exists(mixed $keys)%Checks if entry exists +apcu_fetch%mixed apcu_fetch(mixed $key, [bool $success])%Fetch a stored variable from the cache +apcu_inc%int apcu_inc(string $key, [int $step = 1], [bool $success])%Increase a stored number +apcu_sma_info%array apcu_sma_info([bool $limited = false])%Retrieves APCu Shared Memory Allocation information +apcu_store%array apcu_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a variable in the data store array%array array([mixed ...])%Crée un tableau array_change_key_case%array array_change_key_case(array $array, [int $case = CASE_LOWER])%Change la casse de toutes les clés d'un tableau array_chunk%array array_chunk(array $array, int $size, [bool $preserve_keys = false])%Sépare un tableau en tableaux de taille inférieure @@ -290,7 +338,7 @@ array_intersect_key%array array_intersect_key(array $array1, array $array2, [arr array_intersect_uassoc%array array_intersect_uassoc(array $array1, array $array2, [array ...], callable $key_compare_func)%Calcule l'intersection de deux tableaux avec des tests sur les index, compare les index en utilisant une fonction de rappel array_intersect_ukey%array array_intersect_ukey(array $array1, array $array2, [array ...], callable $key_compare_func)%Calcule l'intersection de deux tableaux en utilisant une fonction de rappel sur les clés pour comparaison array_key_exists%bool array_key_exists(mixed $key, array $array)%Vérifie si une clé existe dans un tableau -array_keys%array array_keys(array $array, [mixed $search_value], [bool $strict = false])%Retourne toutes les clés ou un ensemble des clés d'un tableau +array_keys%array array_keys(array $array, [mixed $search_value = null], [bool $strict = false])%Retourne toutes les clés ou un ensemble des clés d'un tableau array_map%array array_map(callable $callback, array $array1, [array ...])%Applique une fonction sur les éléments d'un tableau array_merge%array array_merge(array $array1, [array ...])%Fusionne plusieurs tableaux en un seul array_merge_recursive%array array_merge_recursive(array $array1, [array ...])%Combine plusieurs tableaux ensemble, récursivement @@ -314,13 +362,13 @@ array_udiff_assoc%array array_udiff_assoc(array $array1, array $array2, [array . array_udiff_uassoc%array array_udiff_uassoc(array $array1, array $array2, [array ...], callable $value_compare_func, callable $key_compare_func)%Calcule la différence de deux tableaux associatifs, compare les données et les index avec une fonction de rappel array_uintersect%array array_uintersect(array $array1, array $array2, [array ...], callable $value_compare_func)%Calcule l'intersection de deux tableaux, compare les données en utilisant une fonction de rappel array_uintersect_assoc%array array_uintersect_assoc(array $array1, array $array2, [array ...], callable $value_compare_func)%Calcule l'intersection de deux tableaux avec des tests sur l'index, compare les données en utilisant une fonction de rappel -array_uintersect_uassoc%array array_uintersect_uassoc(array $array1, array $array2, [array ...], callable $value_compare_func, callable $key_compare_func)%Calcule l'intersection de deux tableaux avec des tests sur l'index, compare les données et les indexes des deux tableaux en utilisant une fonction de rappel séparée +array_uintersect_uassoc%array array_uintersect_uassoc(array $array1, array $array2, [array ...], callable $value_compare_func, callable $key_compare_func)%Calcule l'intersection de deux tableaux avec des tests sur l'index, compare les données et les index des deux tableaux en utilisant une fonction de rappel séparée array_unique%array array_unique(array $array, [int $sort_flags = SORT_STRING])%Dédoublonne un tableau array_unshift%int array_unshift(array $array, mixed $value1, [mixed ...])%Empile un ou plusieurs éléments au début d'un tableau array_values%array array_values(array $array)%Retourne toutes les valeurs d'un tableau array_walk%bool array_walk(array $array, callable $callback, [mixed $userdata])%Exécute une fonction fournie par l'utilisateur sur chacun des éléments d'un tableau array_walk_recursive%bool array_walk_recursive(array $array, callable $callback, [mixed $userdata])%Applique une fonction de rappel récursivement à chaque membre d'un tableau -arsort%bool arsort(array $array, [int $sort_flags = SORT_REGULAR])%Trie un tableau en ordre inverse +arsort%bool arsort(array $array, [int $sort_flags = SORT_REGULAR])%Trie un tableau en ordre inverse et conserve l'association des index asin%float asin(float $arg)%Arc sinus asinh%float asinh(float $arg)%Arc sinus hyperbolique asort%bool asort(array $array, [int $sort_flags = SORT_REGULAR])%Trie un tableau et conserve l'association des index @@ -332,7 +380,7 @@ atanh%float atanh(float $arg)%Arc tangente hyperbolique base64_decode%string base64_decode(string $data, [bool $strict = false])%Décode une chaîne en MIME base64 base64_encode%string base64_encode(string $data)%Encode une chaîne en MIME base64 base_convert%double base_convert(string $number, int $frombase, int $tobase)%Convertit un nombre entre des bases arbitraires -basename%string basename(string $path, [string $suffix])%Retourne le nom du fichier dans un chemin +basename%string basename(string $path, [string $suffix])%Retourne le nom de la composante finale d'un chemin bcadd%string bcadd(string $left_operand, string $right_operand, [int $scale])%Additionne deux nombres de grande taille bccomp%int bccomp(string $left_operand, string $right_operand, [int $scale = int])%Compare deux nombres de grande taille bcdiv%string bcdiv(string $left_operand, string $right_operand, [int $scale = int])%Divise deux nombres de grande taille @@ -401,7 +449,7 @@ collator_get_sort_key%string collator_get_sort_key(string $str, Collator $coll)% collator_get_strength%int collator_get_strength(Collator $coll)%Récupère la dureté de classement utilisé collator_set_attribute%bool collator_set_attribute(int $attr, int $val, Collator $coll)%Configure l'attribut de collation collator_set_strength%bool collator_set_strength(int $strength, Collator $coll)%Set collation strength -collator_sort%bool collator_sort(array $arr, [int $sort_flag], Collator $coll)%Tri un tableau avec une collation +collator_sort%bool collator_sort(array $arr, [int $sort_flag], Collator $coll)%Trie un tableau avec une collation collator_sort_with_sort_keys%bool collator_sort_with_sort_keys(array $arr, Collator $coll)%Tri un tableau et ses clés avec une collation com_create_guid%string com_create_guid()%Génère un identifiant unique global (GUID) com_event_sink%bool com_event_sink(variant $comobject, object $sinkobject, [mixed $sinkinterface])%Connecte des événements d'un objet COM sur un objet PHP @@ -548,6 +596,8 @@ decoct%string decoct(int $number)%Convertit de décimal en octal define%bool define(string $name, mixed $value, [bool $case_insensitive = false])%Définit une constante define_syslog_variables%void define_syslog_variables()%Initialise toutes les variables relatives aux fonctions syslog defined%bool defined(string $name)%Vérifie l'existence d'une constante +deflate_add%string deflate_add(resource $context, string $data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally deflate data +deflate_init%resource deflate_init(int $encoding, [array $options = array()])%Initialize an incremental deflate context deg2rad%float deg2rad(float $number)%Convertit un nombre de degrés en radians delete%void delete()%Voir unlink ou unset dgettext%string dgettext(string $domain, string $message)%Remplace le domaine courant @@ -668,7 +718,7 @@ exif_tagname%string exif_tagname(int $index)%Lit le nom d'en-tête EXIF d'un ind exif_thumbnail%string exif_thumbnail(string $filename, [int $width], [int $height], [int $imagetype])%Récupère la miniature d'une image TIFF ou JPEG exit%void exit(int $status)%Affiche un message et termine le script courant exp%float exp(float $arg)%Calcul l'exponentielle de e -explode%array explode(string $delimiter, string $string, [int $limit])%Coupe une chaîne en segments +explode%array explode(string $delimiter, string $string, [int $limit = PHP_INT_MAX])%Coupe une chaîne en segments expm1%float expm1(float $arg)%Calcule précisément exponentiel moins un extension_loaded%bool extension_loaded(string $name)%Détermine si une extension est chargée ou non extract%int extract(array $array, [int $flags = EXTR_OVERWRITE], [string $prefix])%Importe les variables dans la table des symboles @@ -824,7 +874,7 @@ fgets%string fgets(resource $handle, [int $length])%Récupère la ligne courante fgetss%string fgetss(resource $handle, [int $length], [string $allowable_tags])%Renvoie la ligne courante du fichier et élimine les balises HTML file%array file(string $filename, [int $flags], [resource $context])%Lit le fichier et renvoie le résultat dans un tableau file_exists%bool file_exists(string $filename)%Vérifie si un fichier ou un dossier existe -file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset = -1], [int $maxlen])%Lit tout un fichier dans une chaîne +file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset], [int $maxlen])%Lit tout un fichier dans une chaîne file_put_contents%int file_put_contents(string $filename, mixed $data, [int $flags], [resource $context])%Écrit un contenu dans un fichier fileatime%int fileatime(string $filename)%Renvoie la date à laquelle le fichier a été accédé pour la dernière fois filectime%int filectime(string $filename)%Renvoie la date de dernière modification de l'inode d'un fichier @@ -867,7 +917,7 @@ fscanf%mixed fscanf(resource $handle, string $format, [mixed ...])%Analyse un fi fseek%int fseek(resource $handle, int $offset, [int $whence = SEEK_SET])%Modifie la position du pointeur de fichier fsockopen%resource fsockopen(string $hostname, [int $port = -1], [int $errno], [string $errstr], [float $timeout = ini_get("default_socket_timeout")])%Ouvre un socket de connexion Internet ou Unix fstat%array fstat(resource $handle)%Lit les informations sur un fichier à partir d'un pointeur de fichier -ftell%int ftell(resource $handle)%Renvoie la position courant du pointeur de fichier +ftell%int ftell(resource $handle)%Renvoie la position courante du pointeur de fichier ftok%int ftok(string $pathname, string $proj)%Convertit un chemin et un identifiant de projet en une clé System V IPC ftp_alloc%bool ftp_alloc(resource $ftp_stream, int $filesize, [string $result])%Alloue de l'espace pour un téléchargement de fichier ftp_cdup%bool ftp_cdup(resource $ftp_stream)%Change de dossier et passe au dossier parent @@ -1053,7 +1103,7 @@ gzwrite%int gzwrite(resource $zp, string $string, [int $length])%Écrit dans un hash%string hash(string $algo, string $data, [bool $raw_output = false])%Génère une valeur de hachage (empreinte numérique) hash_algos%array hash_algos()%Retourne une liste des algorithmes de hachage enregistrés hash_copy%resource hash_copy(resource $context)%Copie un contexte de hashage -hash_equals%bool hash_equals(string $known_string, string $user_string)%Timing attack safe string comparison +hash_equals%bool hash_equals(string $known_string, string $user_string)%Comparaison de chaînes résistante aux attaques temporelles hash_file%string hash_file(string $algo, string $filename, [bool $raw_output = false])%Génère une valeur de hachage en utilisant le contenu d'un fichier donné hash_final%string hash_final(resource $context, [bool $raw_output = false])%Finalise un hachage incrémental et retourne le résultat de l'empreinte numérique hash_hmac%string hash_hmac(string $algo, string $data, string $key, [bool $raw_output = false])%Génère une valeur de clé de hachage en utilisant la méthode HMAC @@ -1078,56 +1128,8 @@ html_entity_decode%string html_entity_decode(string $string, [int $flags = ENT_C htmlentities%string htmlentities(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%Convertit tous les caractères éligibles en entités HTML htmlspecialchars%string htmlspecialchars(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%Convertit les caractères spéciaux en entités HTML htmlspecialchars_decode%string htmlspecialchars_decode(string $string, [int $flags = ENT_COMPAT | ENT_HTML401])%Convertit les entités HTML spéciales en caractères -http_build_cookie%string http_build_cookie(array $cookie)%Construit le cookie http_build_query%string http_build_query(mixed $query_data, [string $numeric_prefix], [string $arg_separator], [int $enc_type])%Génère une chaîne de requête en encodage URL -http_build_str%string http_build_str(array $query, [string $prefix], [string $arg_separator = ini_get("arg_separator.output")])%Construit une URL à partir d'une chaîne de caractères -http_build_url%string http_build_url([mixed $url], [mixed $parts], [int $flags = HTTP_URL_REPLACE], [array $new_url])%Construit une URL -http_cache_etag%bool http_cache_etag([string $etag])%Mise en cache en fonction de l'ETag -http_cache_last_modified%bool http_cache_last_modified([int $timestamp_or_expires])%Mise en cache en fonction de la date de dernière modification -http_chunked_decode%string http_chunked_decode(string $encoded)%Décode un fragment de donnée encodé -http_date%string http_date([int $timestamp])%Compose une date respectant la RFC HTTP -http_deflate%string http_deflate(string $data, [int $flags])%Compresse des données -http_get%string http_get(string $url, [array $options], [array $info])%Effectue une requête GET -http_get_request_body%string http_get_request_body()%Récupère le corps demandé sous la forme d'une chaîne de caractères -http_get_request_body_stream%resource http_get_request_body_stream()%Récupère le corps demandé sous la forme d'un flux -http_get_request_headers%array http_get_request_headers()%Récupère les en-têtes sous la forme d'un tableau -http_head%string http_head(string $url, [array $options], [array $info])%Effectue une requête HEAD -http_inflate%string http_inflate(string $data)%Décompresse des données -http_match_etag%bool http_match_etag(string $etag, [bool $for_range = false])%Cherche un ETag particulier -http_match_modified%bool http_match_modified([int $timestamp = -1], [bool $for_range = false])%Vérifie la date de dernière modification -http_match_request_header%bool http_match_request_header(string $header, string $value, [bool $match_case = false])%Cherche n'importe quel en-tête -http_negotiate_charset%string http_negotiate_charset(array $supported, [array $result])%Jeu de caractères préféré pour la négociation avec les clients -http_negotiate_content_type%string http_negotiate_content_type(array $supported, [array $result])%Négocie avec le client le type de contenu préféré -http_negotiate_language%string http_negotiate_language(array $supported, [array $result])%Négocie le langage préféré par les clients -http_parse_cookie%object http_parse_cookie(string $cookie, [int $flags], [array $allowed_extras])%Analyse un cookie HTTP -http_parse_headers%array http_parse_headers(string $header)%Analyse les entêtes HTTP -http_parse_message%object http_parse_message(string $message)%Analyse un message HTTP -http_parse_params%object http_parse_params(string $param, [int $flags = HTTP_PARAMS_DEFAULT])%Analyse la liste des paramètres -http_persistent_handles_clean%string http_persistent_handles_clean([string $ident])%Nettoie le gestionnaire persistant -http_persistent_handles_count%object http_persistent_handles_count()%Récupère les statistiques sur le gestionnaire persistant -http_persistent_handles_ident%string http_persistent_handles_ident([string $ident])%Récupère/définit l'identification du gestionnaire persistant -http_post_data%string http_post_data(string $url, string $data, [array $options], [array $info])%Effectue une requête POST avec des données préencodées -http_post_fields%string http_post_fields(string $url, array $data, [array $files], [array $options], [array $info])%Effectue une requête POST avec des données à encoder -http_put_data%string http_put_data(string $url, string $data, [array $options], [array $info])%Effectue une requête PUT avec des données -http_put_file%string http_put_file(string $url, string $file, [array $options], [array $info])%Effectue une requête PUT avec un fichier -http_put_stream%string http_put_stream(string $url, resource $stream, [array $options], [array $info])%Effectue une requête PUT avec un flux -http_redirect%bool http_redirect([string $url], [array $params], [bool $session = false], [int $status])%Effectue une redirection HTTP -http_request%string http_request(int $method, string $url, [string $body], [array $options], [array $info])%Effectue une requête personnalisée -http_request_body_encode%string http_request_body_encode(array $fields, array $files)%Encode le corps de la requête -http_request_method_exists%int http_request_method_exists(mixed $method)%Vérifie si la méthode de requête existe -http_request_method_name%string http_request_method_name(int $method)%Récupère le nom de la requête -http_request_method_register%int http_request_method_register(string $method)%Enregistre une méthode de requête -http_request_method_unregister%bool http_request_method_unregister(mixed $method)%Retire une méthode de requête http_response_code%int http_response_code([int $response_code])%Récupère ou change le code de la réponse HTTP -http_send_content_disposition%bool http_send_content_disposition(string $filename, [bool $inline = false])%Envoi l'en-tête Content-Disposition -http_send_content_type%bool http_send_content_type([string $content_type = "application/x-octetstream"])%Envoi le type de contenu -http_send_data%bool http_send_data(string $data)%Envoi des données arbitraires -http_send_file%bool http_send_file(string $file)%Envoi un fichier -http_send_last_modified%bool http_send_last_modified([int $timestamp = time()])%Envoi l'en-tête Last-Modified -http_send_status%bool http_send_status(int $status)%Envoi le statut réponse HTTP -http_send_stream%bool http_send_stream(resource $stream)%Envoi un flux -http_support%int http_support([int $feature])%Vérifie le support HTTP interne -http_throttle%void http_throttle(float $sec, [int $bytes = 40960])%Étranglement HTTP hypot%float hypot(float $x, float $y)%Calcul la longueur de l'hypoténuse d'un triangle à angle droit ibase_add_user%bool ibase_add_user(resource $service_handle, string $user_name, string $password, [string $first_name], [string $middle_name], [string $last_name])%Ajoute un utilisateur à une base de données de sécurité ibase_affected_rows%int ibase_affected_rows([resource $link_identifier])%Retourne le nombre de lignes affectées par la dernière requête iBase @@ -1189,7 +1191,6 @@ iconv_strrpos%int iconv_strrpos(string $haystack, string $needle, [string $chars iconv_substr%string iconv_substr(string $str, int $offset, [int $length = iconv_strlen($str, $charset)], [string $charset = ini_get("iconv.internal_encoding")])%Coupe une partie de chaîne idate%int idate(string $format, [int $timestamp = time()])%Formate une date/heure locale en tant qu'entier idn_to_ascii%string idn_to_ascii(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convertie un nom de domaine au format IDNA ASCII -idn_to_unicode%void idn_to_unicode()%Alias de idn_to_utf8 idn_to_utf8%string idn_to_utf8(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convertit le nom de domaine IDNA ASCII en Unicode ignore_user_abort%int ignore_user_abort([string $value])%Active l'interruption de script sur déconnexion du visiteur iis_add_server%int iis_add_server(string $path, string $comment, string $server_ip, int $port, string $host_name, int $rights, int $start_server)%Crée un nouveau serveur web virtuel @@ -1217,6 +1218,7 @@ imageaffinematrixget%array imageaffinematrixget(int $type, [mixed $options])%Ret imagealphablending%bool imagealphablending(resource $image, bool $blendmode)%Modifie le mode de blending d'une image imageantialias%bool imageantialias(resource $image, bool $enabled)%Utiliser ou non les fonctions d'antialias imagearc%bool imagearc(resource $image, int $cx, int $cy, int $width, int $height, int $start, int $end, int $color)%Dessine une ellipse partielle +imagebmp%bool imagebmp(resource $image, mixed $to, [bool $compressed])%Output a BMP image to browser or file imagechar%bool imagechar(resource $image, int $font, int $x, int $y, string $c, int $color)%Dessine un caractère horizontalement imagecharup%bool imagecharup(resource $image, int $font, int $x, int $y, string $c, int $color)%Dessine un caractère verticalement imagecolorallocate%int imagecolorallocate(resource $image, int $red, int $green, int $blue)%Alloue une couleur pour une image @@ -1242,6 +1244,7 @@ imagecopymergegray%bool imagecopymergegray(resource $dst_im, resource $src_im, i imagecopyresampled%bool imagecopyresampled(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%Copie, redimensionne, rééchantillonne une image imagecopyresized%bool imagecopyresized(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%Copie et redimensionne une partie d'une image imagecreate%resource imagecreate(int $width, int $height)%Crée une nouvelle image à palette +imagecreatefrombmp%resource imagecreatefrombmp(string $filename)%Crée une nouvelle image depuis un fichier ou une URL imagecreatefromgd%resource imagecreatefromgd(string $filename)%Crée une nouvelle image à partir d'un fichier GD ou d'une URL imagecreatefromgd2%resource imagecreatefromgd2(string $filename)%Crée une nouvelle image à partir d'un fichier GD2 ou d'une URL imagecreatefromgd2part%resource imagecreatefromgd2part(string $filename, int $srcX, int $srcY, int $width, int $height)%Crée une nouvelle image à partir d'une partie de fichier GD2 ou d'une URL @@ -1273,16 +1276,18 @@ imageftbbox%array imageftbbox(float $size, float $angle, string $fontfile, strin imagefttext%array imagefttext(resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text, [array $extrainfo])%Écrit du texte dans une image avec la police courante FreeType 2 imagegammacorrect%bool imagegammacorrect(resource $image, float $inputgamma, float $outputgamma)%Applique une correction gamma à l'image GD imagegd%bool imagegd(resource $image, [string $filename])%Génère une image au format GD, vers le navigateur ou un fichier -imagegd2%bool imagegd2(resource $image, [string $filename], [int $chunk_size], [int $type = IMG_GD2_RAW])%Génère une image au format GD2, vers le navigateur ou un fichier +imagegd2%bool imagegd2(resource $image, [mixed $to = NULL], [int $chunk_size = 128], [int $type = IMG_GD2_RAW])%Génère une image au format GD2, vers le navigateur ou un fichier +imagegetclip%array imagegetclip(resource $im)%Get the clipping rectangle imagegif%bool imagegif(resource $image, [string $filename])%Affichage de l'image vers le navigateur ou dans un fichier imagegrabscreen%resource imagegrabscreen()%Capture l'écran complet imagegrabwindow%resource imagegrabwindow(int $window_handle, [int $client_area])%Capture une fenêtre imageinterlace%int imageinterlace(resource $image, [int $interlace])%Active ou désactive l'entrelacement imageistruecolor%bool imageistruecolor(resource $image)%Détermine si une image est une image truecolor -imagejpeg%bool imagejpeg(resource $image, [string $filename], [int $quality])%Affichage de l'image vers le navigateur ou dans un fichier +imagejpeg%bool imagejpeg(resource $image, [mixed $to], [int $quality])%Affichage de l'image vers le navigateur ou dans un fichier imagelayereffect%bool imagelayereffect(resource $image, int $effect)%Active l'option d'alpha blending, pour utiliser les effets de libgd imageline%bool imageline(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%Dessine une ligne imageloadfont%int imageloadfont(string $file)%Charge une nouvelle police +imageopenpolygon%bool imageopenpolygon(resource $image, array $points, int $num_points, int $color)%Draws an open polygon imagepalettecopy%void imagepalettecopy(resource $destination, resource $source)%Copie la palette d'une image à l'autre imagepalettetotruecolor%bool imagepalettetotruecolor(resource $src)%Convertit une image basée sur une palette en couleur vraie imagepng%bool imagepng(resource $image, [string $filename], [int $quality], [int $filters])%Envoie une image PNG vers un navigateur ou un fichier @@ -1295,10 +1300,12 @@ imagepsloadfont%resource imagepsloadfont(string $filename)%Charge une police Pos imagepsslantfont%bool imagepsslantfont(resource $font_index, float $slant)%Incline une police de caractères PostScript imagepstext%array imagepstext(resource $image, string $text, resource $font_index, int $size, int $foreground, int $background, int $x, int $y, [int $space], [int $tightness], [float $angle = 0.0], [int $antialias_steps = 4])%Dessine un texte sur une image avec une police PostScript Type1 imagerectangle%bool imagerectangle(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%Dessine un rectangle +imageresolution%mixed imageresolution(resource $image, [int $res_x], [int $res_y])%Get or set the resolution of the image imagerotate%resource imagerotate(resource $image, float $angle, int $bgd_color, [int $ignore_transparent])%Fait tourner une image d'un angle imagesavealpha%bool imagesavealpha(resource $image, bool $saveflag)%Configure l'enregistrement des informations complètes du canal alpha lors de sauvegardes d'images PNG imagescale%resource imagescale(resource $image, int $new_width, [int $new_height = -1], [int $mode = IMG_BILINEAR_FIXED])%Met à l'échelle une image en utilisant une hauteur et une largeur fournies imagesetbrush%bool imagesetbrush(resource $image, resource $brush)%Modifie la brosse pour le dessin des lignes +imagesetclip%bool imagesetclip(resource $im, int $x1, int $y1, int $x2, int $y2)%Set the clipping rectangle imagesetinterpolation%bool imagesetinterpolation(resource $image, [int $method = IMG_BILINEAR_FIXED])%Défini la méthode d'interpolation imagesetpixel%bool imagesetpixel(resource $image, int $x, int $y, int $color)%Dessine un pixel imagesetstyle%bool imagesetstyle(resource $image, array $style)%Configure le style pour le dessin des lignes @@ -1395,6 +1402,8 @@ include%bool include(string $path)%Includes and evaluates the specified file include_once%bool include_once(string $path)%Includes and evaluates the specified file inet_ntop%string inet_ntop(string $in_addr)%Convertit un paquet d'adresses internet en une représentation humainement lisible inet_pton%string inet_pton(string $address)%Convertit une adresse IP lisible en sa représentation in_addr +inflate_add%string inflate_add(resource $context, string $encoded_data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally inflate encoded data +inflate_init%resource inflate_init(int $encoding, [array $options = array()])%Initialize an incremental inflate context ini_alter%void ini_alter()%Alias de ini_set ini_get%string ini_get(string $varname)%Lit la valeur d'une option de configuration ini_get_all%array ini_get_all([string $extension], [bool $details = true])%Lit toutes les valeurs de configuration @@ -1439,7 +1448,7 @@ is_resource%bool is_resource(mixed $var)%Détermine si une variable est une ress is_scalar%resource is_scalar(mixed $var)%Indique si une variable est un scalaire is_soap_fault%bool is_soap_fault(mixed $object)%Vérifie si SOAP retourne une erreur is_string%bool is_string(mixed $var)%Détermine si une variable est de type chaîne de caractères -is_subclass_of%bool is_subclass_of(mixed $object, string $class_name, [bool $allow_string])%Détermine si un objet est une sous-classe d'une classe donnée +is_subclass_of%bool is_subclass_of(mixed $object, string $class_name, [bool $allow_string])%Détermine si un objet est une sous-classe d'une classe donnée ou l'implémente is_tainted%bool is_tainted(string $string)%Vérifie si une chaîne est nettoyée is_uploaded_file%bool is_uploaded_file(string $filename)%Indique si le fichier a été téléchargé par HTTP POST is_writable%bool is_writable(string $filename)%Indique si un fichier est accessible en écriture @@ -1671,7 +1680,7 @@ mhash_get_block_size%int mhash_get_block_size(int $hash)%Retourne la taille de b mhash_get_hash_name%string mhash_get_hash_name(int $hash)%Retourne le nom du hash mhash_keygen_s2k%string mhash_keygen_s2k(int $hash, string $password, string $salt, int $bytes)%Génère une clé microtime%mixed microtime([bool $get_as_float = false])%Retourne le timestamp UNIX actuel avec les microsecondes -mime_content_type%string mime_content_type(string $filename)%Détecte le type de contenu d'un fichier (obsolète) +mime_content_type%string mime_content_type(string $filename)%Détecte le type de contenu d'un fichier min%mixed min(array $values, mixed $value1, mixed $value2, [mixed ...])%La plus petite valeur mkdir%bool mkdir(string $pathname, [int $mode = 0777], [bool $recursive = false], [resource $context])%Crée un dossier mktime%int mktime([int $hour = date("H")], [int $minute = date("i")], [int $second = date("s")], [int $month = date("n")], [int $day = date("j")], [int $year = date("Y")], [int $is_dst = -1])%Retourne le timestamp UNIX d'une date @@ -1832,7 +1841,7 @@ mysqli_query%mixed mysqli_query(string $query, [int $resultmode = MYSQLI_STORE_R mysqli_real_connect%bool mysqli_real_connect([string $host], [string $username], [string $passwd], [string $dbname], [int $port], [string $socket], [int $flags], mysqli $link)%Ouvre une connexion à un serveur MySQL mysqli_real_escape_string%string mysqli_real_escape_string(string $escapestr, mysqli $link)%Protège les caractères spéciaux d'une chaîne pour l'utiliser dans une requête SQL, en prenant en compte le jeu de caractères courant de la connexion mysqli_real_query%bool mysqli_real_query(string $query, mysqli $link)%Exécute une requête SQL -mysqli_reap_async_query%mysqli_result mysqli_reap_async_query(mysql $link)%Lit un résultat pour une requête asynchrone +mysqli_reap_async_query%mysqli_result mysqli_reap_async_query(mysqli $link)%Lit un résultat pour une requête asynchrone mysqli_refresh%int mysqli_refresh(int $options, resource $link)%Rafraîchie mysqli_release_savepoint%bool mysqli_release_savepoint(string $name, mysqli $link)%Supprime le point de sauvegardé nommé du jeu des points de sauvegarde de la transaction courante mysqli_report%void mysqli_report()%Alias de mysqli_driver->report_mode @@ -1871,7 +1880,7 @@ mysqli_stmt_reset%bool mysqli_stmt_reset(mysqli_stmt $stmt)%Annule une requête mysqli_stmt_result_metadata%mysqli_result mysqli_stmt_result_metadata(mysqli_stmt $stmt)%Retourne les métadonnées de préparation de requête MySQL mysqli_stmt_send_long_data%bool mysqli_stmt_send_long_data(int $param_nr, string $data, mysqli_stmt $stmt)%Envoie des données MySQL par paquets mysqli_stmt_store_result%bool mysqli_stmt_store_result(mysqli_stmt $stmt)%Stocke un jeu de résultats depuis une requête préparée -mysqli_store_result%mysqli_result mysqli_store_result([int $option])%Transfère un jeu de résultats à partir de la dernière requête +mysqli_store_result%mysqli_result mysqli_store_result([int $option], mysqli $link)%Transfère un jeu de résultats à partir de la dernière requête mysqli_thread_safe%bool mysqli_thread_safe()%Indique si le support des threads est activé ou pas mysqli_use_result%mysqli_result mysqli_use_result(mysqli $link)%Initialise la récupération d'un jeu de résultats mysqli_warning%object mysqli_warning()%Le constructeur __construct @@ -1933,10 +1942,8 @@ numfmt_set_pattern%bool numfmt_set_pattern(string $pattern, NumberFormatter $fmt numfmt_set_symbol%bool numfmt_set_symbol(int $attr, string $value, NumberFormatter $fmt)%Configure le symbole du formateur numfmt_set_text_attribute%bool numfmt_set_text_attribute(int $attr, string $value, NumberFormatter $fmt)%Modifie un attribut texte ob_clean%void ob_clean()%Efface le tampon de sortie -ob_deflatehandler%string ob_deflatehandler(string $data, int $mode)%Gestionnaire de sortie de compression ob_end_clean%bool ob_end_clean()%Détruit les données du tampon de sortie et éteint la temporisation de sortie ob_end_flush%bool ob_end_flush()%Envoie les données du tampon de sortie et éteint la temporisation de sortie -ob_etaghandler%string ob_etaghandler(string $data, int $mode)%Gestionnaire de sortie ETag ob_flush%void ob_flush()%Envoie le tampon de sortie ob_get_clean%string ob_get_clean()%Lit le contenu courant du tampon de sortie puis l'efface ob_get_contents%string ob_get_contents()%Retourne le contenu du tampon de sortie @@ -1947,7 +1954,6 @@ ob_get_status%array ob_get_status([bool $full_status = FALSE])%Lit le statut du ob_gzhandler%string ob_gzhandler(string $buffer, int $mode)%Fonction de rappel pour la compression automatique des tampons ob_iconv_handler%string ob_iconv_handler(string $contents, int $status)%Gestionnaire de sortie pour maîtriser le jeu de caractères de sortie ob_implicit_flush%void ob_implicit_flush([int $flag = true])%Active/désactive l'envoi implicite -ob_inflatehandler%string ob_inflatehandler(string $data, int $mode)%Gestionnaire de sortie de décompression ob_list_handlers%array ob_list_handlers()%Liste les gestionnaires d'affichage utilisés ob_start%bool ob_start([callable $output_callback], [int $chunk_size], [int $flags])%Enclenche la temporisation de sortie ob_tidyhandler%string ob_tidyhandler(string $input, [int $mode])%Fonction de rappel ob_start pour réparer le buffer @@ -2094,7 +2100,7 @@ odbc_specialcolumns%resource odbc_specialcolumns(resource $connection_id, int $t odbc_statistics%resource odbc_statistics(resource $connection_id, string $qualifier, string $owner, string $table_name, int $unique, int $accuracy)%Calcul des statistiques sur une table odbc_tableprivileges%resource odbc_tableprivileges(resource $connection_id, string $qualifier, string $owner, string $name)%Liste les tables et leurs privilèges odbc_tables%resource odbc_tables(resource $connection_id, [string $qualifier], [string $owner], [string $name], [string $types])%Liste les tables d'une source -opcache_compile_file%boolean opcache_compile_file(string $file)%Compiles et met en cache un script PHP sans l'exécuter +opcache_compile_file%boolean opcache_compile_file(string $file)%Compile et met en cache un script PHP sans l'exécuter opcache_get_configuration%array opcache_get_configuration()%Récupère les informations de configuration du cache opcache_get_status%array opcache_get_status([boolean $get_scripts])%Récupère les informations de statut du cache opcache_invalidate%boolean opcache_invalidate(string $script, [boolean $force])%Invalide un script mis en cache @@ -2180,6 +2186,7 @@ pcntl_getpriority%int pcntl_getpriority([int $pid = getmypid()], [int $process_i pcntl_setpriority%bool pcntl_setpriority(int $priority, [int $pid = getmypid()], [int $process_identifier = PRIO_PROCESS])%Change la priorité d'un processus pcntl_signal%bool pcntl_signal(int $signo, callable|int $handler, [bool $restart_syscalls = true])%Installe un gestionnaire de signaux pcntl_signal_dispatch%bool pcntl_signal_dispatch()%Appelle les gestionnaires de signaux pour chaque signal en attente +pcntl_signal_get_handler%int|string pcntl_signal_get_handler(int $signo)%Get the current handler for specified signal pcntl_sigprocmask%bool pcntl_sigprocmask(int $how, array $set, [array $oldset])%Liste et configure les signaux bloqués pcntl_sigtimedwait%int pcntl_sigtimedwait(array $set, [array $siginfo], [int $seconds], [int $nanoseconds])%Attend un signal dans un délai donné pcntl_sigwaitinfo%int pcntl_sigwaitinfo(array $set, [array $siginfo])%Attend un signal @@ -2444,7 +2451,7 @@ rrdc_disconnect%void rrdc_disconnect()%Ferme toutes les connexions vers le daemo rsort%bool rsort(array $array, [int $sort_flags = SORT_REGULAR])%Trie un tableau en ordre inverse rtrim%string rtrim(string $str, [string $character_mask])%Supprime les espaces (ou d'autres caractères) de fin de chaîne scandir%array scandir(string $directory, [int $sorting_order = SCANDIR_SORT_ASCENDING], [resource $context])%Liste les fichiers et dossiers dans un dossier -sem_acquire%bool sem_acquire(resource $sem_identifier)%Réserve un sémaphore +sem_acquire%bool sem_acquire(resource $sem_identifier, [bool $nowait = false])%Réserve un sémaphore sem_get%resource sem_get(int $key, [int $max_acquire = 1], [int $perm = 0666], [int $auto_release = 1])%Retourne un identifiant de sémaphore sem_release%bool sem_release(resource $sem_identifier)%Libère un sémaphore sem_remove%bool sem_remove(resource $sem_identifier)%Détruit un sémaphore @@ -2453,9 +2460,11 @@ session_abort%bool session_abort()%Abandonne les changements sur le tableau de s session_cache_expire%int session_cache_expire([string $new_cache_expire])%Retourne la configuration actuelle du délai d'expiration du cache session_cache_limiter%string session_cache_limiter([string $cache_limiter])%Lit et/ou modifie le limiteur de cache de session session_commit%void session_commit()%Alias de session_write_close +session_create_id%string session_create_id([string $prefix])%Create new session id session_decode%bool session_decode(string $data)%Décode les données encodées de session session_destroy%bool session_destroy()%Détruit une session session_encode%string session_encode()%Encode les données de session +session_gc%int session_gc()%Perform session data garbage collection session_get_cookie_params%array session_get_cookie_params()%Lit la configuration du cookie de session session_id%string session_id([string $id])%Lit et/ou modifie l'identifiant courant de session session_is_registered%bool session_is_registered(string $name)%Vérifie si une variable est enregistrée dans la session @@ -2547,6 +2556,7 @@ socket_create_listen%resource socket_create_listen(int $port, [int $backlog = 12 socket_create_pair%bool socket_create_pair(int $domain, int $type, int $protocol, array $fd)%Crée une paire de sockets identiques et les stocke dans un tableau socket_get_option%mixed socket_get_option(resource $socket, int $level, int $optname)%Lit les options du socket socket_get_status%void socket_get_status()%Alias de stream_get_meta_data +socket_getopt%void socket_getopt()%Alias de socket_get_option socket_getpeername%bool socket_getpeername(resource $socket, string $address, [int $port])%Interroge l'autre extrémité de la communication socket_getsockname%bool socket_getsockname(resource $socket, string $addr, [int $port])%Interroge le socket local socket_import_stream%resource socket_import_stream(resource $stream)%Importe un flux @@ -2565,6 +2575,7 @@ socket_set_blocking%void socket_set_blocking()%Alias de stream_set_blocking socket_set_nonblock%bool socket_set_nonblock(resource $socket)%Sélectionne le mode non bloquant d'un pointeur de fichier socket_set_option%bool socket_set_option(resource $socket, int $level, int $optname, mixed $optval)%Modifie les options de socket socket_set_timeout%void socket_set_timeout()%Alias de stream_set_timeout +socket_setopt%void socket_setopt()%Alias de socket_set_option socket_shutdown%bool socket_shutdown(resource $socket, [int $how = 2])%Éteint un socket en lecture et/ou écriture socket_strerror%string socket_strerror(int $errno)%Retourne une chaîne décrivant un message d'erreur socket_write%int socket_write(resource $socket, string $buffer, [int $length])%Écrit dans un socket @@ -2574,7 +2585,7 @@ spl_autoload%void spl_autoload(string $class_name, [string $file_extensions = sp spl_autoload_call%void spl_autoload_call(string $class_name)%Essai toutes les fonctions __autoload() enregistrées pour charger la classe demandée spl_autoload_extensions%string spl_autoload_extensions([string $file_extensions])%Enregistre et retourne l'extension du fichier par défaut pour spl_autoload spl_autoload_functions%array spl_autoload_functions()%Retourne toutes les fonctions __autoload() enregistrées -spl_autoload_register%bool spl_autoload_register([callable $autoload_function], [bool $throw = true], [bool $prepend = false])%Enregistre une fonction comme __autoload() +spl_autoload_register%bool spl_autoload_register([callable $autoload_function], [bool $throw = true], [bool $prepend = false])%Enregistre une fonction en tant qu'implémentation de __autoload() spl_autoload_unregister%bool spl_autoload_unregister(mixed $autoload_function)%Efface une fonction donnée de l'implémentation __autoload() spl_classes%array spl_classes()%Retourne les classes SPL disponibles spl_object_hash%string spl_object_hash(object $obj)%Retourne l'identifiant de hashage pour un objet donné @@ -2763,7 +2774,7 @@ stream_notification_callback%callable stream_notification_callback(int $notifica stream_register_wrapper%void stream_register_wrapper()%Alias de stream_wrapper_register stream_resolve_include_path%string stream_resolve_include_path(string $filename)%Résout un nom de fichier suivant les règles du chemin d'inclusion stream_select%int stream_select(array $read, array $write, array $except, int $tv_sec, [int $tv_usec])%Surveille la modification d'un ou plusieurs flux -stream_set_blocking%bool stream_set_blocking(resource $stream, int $mode)%Configure le mode bloquant d'un flux +stream_set_blocking%bool stream_set_blocking(resource $stream, bool $mode)%Configure le mode bloquant d'un flux stream_set_chunk_size%int stream_set_chunk_size(resource $fp, int $chunk_size)%Change la taille du segment du flux stream_set_read_buffer%int stream_set_read_buffer(resource $stream, int $buffer)%Configure le buffer de lecture d'un flux stream_set_timeout%bool stream_set_timeout(resource $stream, int $seconds, [int $microseconds])%Configure la durée d'expiration d'un flux @@ -2888,7 +2899,7 @@ timezone_open%void timezone_open()%Alias de DateTimeZone::__construct timezone_transitions_get%void timezone_transitions_get()%Alias de DateTimeZone::getTransitions timezone_version_get%string timezone_version_get()%Lit la version de la timezonedb tmpfile%resource tmpfile()%Crée un fichier temporaire -token_get_all%array token_get_all(string $source)%Scinde un code source en éléments de base +token_get_all%array token_get_all(string $source, [int $flags])%Scinde un code source en éléments de base token_name%string token_name(int $token)%Retourne le nom d'un élément de code source touch%bool touch(string $filename, [int $time = time()], [int $atime])%Modifie la date de modification et de dernier accès d'un fichier trader_acos%array trader_acos(array $real)%Vector Trigonometric ACos diff --git a/Support/function-docs/ja.txt b/Support/function-docs/ja.txt index 2cfec27..73a3ca0 100644 --- a/Support/function-docs/ja.txt +++ b/Support/function-docs/ja.txt @@ -1,11 +1,8 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%APCIterator イテレータオブジェクトを作成する +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%AppendIterator を作成する ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%ArrayIterator を作成する ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%新規配列オブジェクトを生成する -BSON\fromArray%ReturnType BSON\fromArray(string $array)%Description -BSON\fromJSON%ReturnType BSON\fromJSON(string $json)%Description -BSON\toArray%ReturnType BSON\toArray(string $bson)%Description -BSON\toJSON%ReturnType BSON\toJSON(string $bson)%Description BadFunctionCallException%object BadFunctionCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadFunctionCallException BadMethodCallException%object BadMethodCallException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new BadMethodCallException CURLFile%object CURLFile(string $filename, [string $mimetype], [string $postname])%CURLFile オブジェクトを作る @@ -29,6 +26,14 @@ DateTimeImmutable%object DateTimeImmutable([string $time = "now"], [DateTimeZone DateTimeZone%object DateTimeZone(string $timezone)%新しい DateTimeZone オブジェクトを作成する DirectoryIterator%object DirectoryIterator(string $path)%パスから新規ディレクトリイテレータを生成する DomainException%object DomainException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new DomainException +Ds\Deque%object Ds\Deque([mixed $values])%Creates a new instance. +Ds\Map%object Ds\Map([mixed $...values])%Creates a new instance. +Ds\Pair%object Ds\Pair([mixed $key], [mixed $value])%Creates a new instance. +Ds\PriorityQueue%object Ds\PriorityQueue()%Creates a new instance. +Ds\Queue%object Ds\Queue([mixed $values])%Creates a new instance. +Ds\Set%object Ds\Set([mixed $...values])%Creates a new instance. +Ds\Stack%object Ds\Stack([mixed $values])%Creates a new instance. +Ds\Vector%object Ds\Vector([mixed $values])%Creates a new instance. ErrorException%object ErrorException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new ErrorException EvCheck%object EvCheck(callable $callback, [mixed $data], [int $priority])%EvCheck ウォッチャーオブジェクトを作る EvChild%object EvChild(int $pid, bool $trace, callable $callback, [mixed $data], [int $priority])%EvChild ウォッチャーオブジェクトを作る @@ -64,12 +69,6 @@ GlobIterator%object GlobIterator(string $path, [int $flags = FilesystemIterator: Gmagick%object Gmagick([string $filename])%Gmagick のコンストラクタ GmagickPixel%object GmagickPixel([string $color])%GmagickPixel のコンストラクタ HaruDoc%object HaruDoc()%新しい HaruDoc のインスタンスを作成する -HttpDeflateStream%object HttpDeflateStream([int $flags])%HttpDeflateStream クラスのコンストラクタ -HttpInflateStream%object HttpInflateStream([int $flags])%HttpInflateStream クラスのコンストラクタ -HttpMessage%object HttpMessage([string $message])%HttpMessage のコンストラクタ -HttpQueryString%object HttpQueryString([bool $global = true], [mixed $add])%HttpQueryString のコンストラクタ -HttpRequest%object HttpRequest([string $url], [int $request_method = HTTP_METH_GET], [array $options])%HttpRequest のコンストラクタ -HttpRequestPool%object HttpRequestPool([HttpRequest $request], [HttpRequest ...])%HttpRequestPool のコンストラクタ Imagick%object Imagick(mixed $files)%Imagick のコンストラクタ ImagickDraw%object ImagickDraw()%ImagickDraw コンストラクタ ImagickPixel%object ImagickPixel([string $color])%ImagickPixel のコンストラクタ @@ -93,21 +92,29 @@ MongoCollection%object MongoCollection(MongoDB $db, string $name)%新しいコ MongoCommandCursor%object MongoCommandCursor(MongoClient $connection, string $ns, array $command)%Create a new command cursor MongoCursor%object MongoCursor(MongoClient $connection, string $ns, [array $query = array()], [array $fields = array()])%新しいカーソルを作成する MongoDB%object MongoDB(MongoClient $conn, string $name)%新しいデータベースを作成する -MongoDB\BSON\Binary%object MongoDB\BSON\Binary(string $data, string $subtype)%Description -MongoDB\BSON\Javascript%object MongoDB\BSON\Javascript(string $javascript, [string $scope])%Description -MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Description -MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, string $flags)%Description -MongoDB\BSON\Timestamp%object MongoDB\BSON\Timestamp(string $increment, string $timestamp)%Description -MongoDB\BSON\UTCDatetime%object MongoDB\BSON\UTCDatetime(string $milliseconds)%Description -MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([boolean $ordered = true])%Create new BulkWrite -MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Construct new Command -MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor(Server $server, string $responseDocument)%Description -MongoDB\Driver\CursorId%object MongoDB\Driver\CursorId(string $id)%Description -MongoDB\Driver\Manager%object MongoDB\Driver\Manager(string $uri, [array $options], [array $driverOptions])%Create new MongoDB Manager +MongoDB\BSON\Binary%object MongoDB\BSON\Binary(string $data, integer $type)%Construct a new Binary +MongoDB\BSON\Decimal128%object MongoDB\BSON\Decimal128([string $value])%Construct a new Decimal128 +MongoDB\BSON\Javascript%object MongoDB\BSON\Javascript(string $code, [array|object $scope])%Construct a new Javascript +MongoDB\BSON\MaxKey%object MongoDB\BSON\MaxKey()%Construct a new MaxKey +MongoDB\BSON\MinKey%object MongoDB\BSON\MinKey()%Construct a new MinKey +MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Construct a new ObjectID +MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, [string $flags = ""])%Construct a new Regex +MongoDB\BSON\Timestamp%object MongoDB\BSON\Timestamp(integer $increment, integer $timestamp)%Construct a new Timestamp +MongoDB\BSON\UTCDateTime%object MongoDB\BSON\UTCDateTime([integer|float|string|DateTimeInterface $milliseconds])%Construct a new UTCDateTime +MongoDB\BSON\fromJSON%string MongoDB\BSON\fromJSON(string $json)%Returns the BSON representation of a JSON value +MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value +MongoDB\BSON\toJSON%string MongoDB\BSON\toJSON(string $bson)%Returns the JSON representation of a BSON value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite +MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Create a new Command +MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor()%Create a new Cursor (not used) +MongoDB\Driver\CursorId%object MongoDB\Driver\CursorId()%Create a new CursorId (not used) +MongoDB\Driver\Manager%object MongoDB\Driver\Manager([string $uri = "mongodb://127.0.0.1/], [array $uriOptions = []], [array $driverOptions = []])%Create new MongoDB Manager MongoDB\Driver\Query%object MongoDB\Driver\Query(array|object $filter, [array $queryOptions])%Construct new Query -MongoDB\Driver\ReadPreference%object MongoDB\Driver\ReadPreference(string $readPreference, [array $tagSets])%Description -MongoDB\Driver\Server%object MongoDB\Driver\Server(string $host, string $port, [array $options], [array $driverOptions])%Description -MongoDB\Driver\WriteConcern%object MongoDB\Driver\WriteConcern(string $wstring, [integer $wtimeout], [boolean $journal], [boolean $fsync])%Construct immutable WriteConcern +MongoDB\Driver\ReadConcern%object MongoDB\Driver\ReadConcern([string $level])%Construct immutable ReadConcern +MongoDB\Driver\ReadPreference%object MongoDB\Driver\ReadPreference(int $mode, [array $tagSets], [array $options = []])%Construct immutable ReadPreference +MongoDB\Driver\Server%object MongoDB\Driver\Server()%Create a new Server (not used) +MongoDB\Driver\WriteConcern%object MongoDB\Driver\WriteConcern(string|int $w, [integer $wtimeout], [boolean $journal])%Construct immutable WriteConcern MongoDate%object MongoDate([int $sec = time()], [int $usec])%新しい日付を作成する MongoDeleteBatch%object MongoDeleteBatch(MongoCollection $collection, [array $write_options])%Description MongoGridFS%object MongoGridFS(MongoDB $db, [string $prefix = "fs"], [mixed $chunks = "fs"])%新しいファイルコレクションを作成する @@ -133,7 +140,7 @@ ParentIterator%object ParentIterator(RecursiveIterator $iterator)%ParentIterator Phar%object Phar(string $fname, [int $flags], [string $alias])%Phar アーカイブオブジェクトを作成する PharData%object PharData(string $fname, [int $flags], [string $alias], [int $format])%実行可能でない tar あるいは zip アーカイブオブジェクトを作成する PharFileInfo%object PharFileInfo(string $entry)%Phar エントリオブジェクトを作成する -Pool%object Pool(integer $size, string $class, [array $ctor])%Creates a new Pool of Workers +Pool%object Pool(integer $size, [string $class], [array $ctor])%Creates a new Pool of Workers QuickHashIntHash%object QuickHashIntHash(int $size, [int $options])%新しい QuickHashIntHash オブジェクトを作る QuickHashIntSet%object QuickHashIntSet(int $size, [int $options])%新しい QuickHashIntSet オブジェクトを作る QuickHashIntStringHash%object QuickHashIntStringHash(int $size, [int $options])%新しい QuickHashIntStringHash オブジェクトを作る @@ -165,7 +172,7 @@ SAMMessage%object SAMMessage([mixed $body])%新しいメッセージオブジェ SDO_DAS_Relational%object SDO_DAS_Relational(array $database_metadata, [string $application_root_type], [array $SDO_containment_references_metadata])%リレーショナルデータアクセスサービスのインスタンスを作成する SDO_Model_ReflectionDataObject%object SDO_Model_ReflectionDataObject(SDO_DataObject $data_object)%SDO_Model_ReflectionDataObject を作成する SNMP%object SNMP(int $version, string $hostname, string $community, [int $timeout = 1000000], [int $retries = 5])%リモート SNMP エージェントへのセッションを表す SNMP インスタンスを作成する -SQLite3%object SQLite3(string $filename, [int $flags], [string $encryption_key])%SQLite3 オブジェクトを作成し、SQLite 3 データベースをオープンする +SQLite3%object SQLite3(string $filename, [int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE], [string $encryption_key = null])%SQLite3 オブジェクトを作成し、SQLite 3 データベースをオープンする SVM%object SVM()%SVM オブジェクトを新規構築 SVMModel%object SVMModel([string $filename])%SVMModel を新規構築 SimpleXMLElement%object SimpleXMLElement(string $data, [int $options], [bool $data_is_url = false], [string $ns = ""], [bool $is_prefix = false])%新しい SimpleXMLElement オブジェクトを作成する @@ -174,7 +181,7 @@ SoapFault%object SoapFault(string $faultcode, string $faultstring, [string $faul SoapHeader%object SoapHeader(string $namespace, string $name, [mixed $data], [bool $mustunderstand], [string $actor])%SoapHeader コンストラクタ SoapParam%object SoapParam(mixed $data, string $name)%SoapParam コンストラクタ SoapServer%object SoapServer(mixed $wsdl, [array $options])%SoapServer コンストラクタ -SoapVar%object SoapVar(string $data, string $encoding, [string $type_name], [string $type_namespace], [string $node_name], [string $node_namespace])%SoapVar コンストラクタ +SoapVar%object SoapVar(mixed $data, string $encoding, [string $type_name], [string $type_namespace], [string $node_name], [string $node_namespace])%SoapVar コンストラクタ SphinxClient%object SphinxClient()%新しい SphinxClient オブジェクトを作成する SplDoublyLinkedList%object SplDoublyLinkedList()%新しい双方向リンクリストを作成する SplFileInfo%object SplFileInfo(string $file_name)%新しい SplFileInfo オブジェクトを作成する @@ -188,15 +195,44 @@ SplTempFileObject%object SplTempFileObject([int $max_memory])%新しい一時フ SplType%object SplType([mixed $initial_value], [bool $strict])%何らかの型の新しい値を作成する Spoofchecker%object Spoofchecker()%コンストラクタ Swish%object Swish(string $index_names)%Swish オブジェクトを作成する -SyncEvent%object SyncEvent([string $name], [bool $manual])%Constructs a new SyncEvent object +SyncEvent%object SyncEvent([string $name], [bool $manual = false], [bool $prefire = false])%Constructs a new SyncEvent object SyncMutex%object SyncMutex([string $name])%Constructs a new SyncMutex object -SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock])%Constructs a new SyncReaderWriter object -SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval], [bool $autounlock])%Constructs a new SyncSemaphore object +SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock = true])%Constructs a new SyncReaderWriter object +SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval = 1], [bool $autounlock = true])%Constructs a new SyncSemaphore object +SyncSharedMemory%object SyncSharedMemory(string $name, integer $size)%Constructs a new SyncSharedMemory object TokyoTyrant%object TokyoTyrant([string $host], [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])%新しい TokyoTyrant オブジェクトを作成する TokyoTyrantIterator%object TokyoTyrantIterator(mixed $object)%イテレータを作成する TokyoTyrantQuery%object TokyoTyrantQuery(TokyoTyrantTable $table)%新しいクエリを作成する Transliterator%object Transliterator()%インスタンス化を拒否するために private にしたコンストラクタ UConverter%object UConverter([string $destination_encoding], [string $source_encoding])%UConverter オブジェクトを作る +UI\Controls\Box%object UI\Controls\Box([integer $orientation = UI\Controls\Box::Horizontal])%Construct a new Box +UI\Controls\Button%object UI\Controls\Button(string $text)%Construct a new Button +UI\Controls\Check%object UI\Controls\Check(string $text)%Construct a new Check +UI\Controls\Entry%object UI\Controls\Entry([integer $type = UI\Controls\Entry::Normal])%Construct a new Entry +UI\Controls\Group%object UI\Controls\Group(string $title)%Construct a new Group +UI\Controls\Label%object UI\Controls\Label(string $text)%Construct a new Label +UI\Controls\MultilineEntry%object UI\Controls\MultilineEntry([integer $type])%Construct a new Multiline Entry +UI\Controls\Picker%object UI\Controls\Picker([integer $type = UI\Controls\Picker::Date])%Construct a new Picker +UI\Controls\Separator%object UI\Controls\Separator([integer $type = UI\Controls\Separator::Horizontal])%Construct a new Separator +UI\Controls\Slider%object UI\Controls\Slider(integer $min, integer $max)%Construct a new Slider +UI\Controls\Spin%object UI\Controls\Spin(integer $min, integer $max)%Construct a new Spin +UI\Draw\Brush%object UI\Draw\Brush(integer $color)%Construct a new Brush +UI\Draw\Brush\LinearGradient%object UI\Draw\Brush\LinearGradient(UI\Point $start, UI\Point $end)%Construct a Linear Gradient +UI\Draw\Brush\RadialGradient%object UI\Draw\Brush\RadialGradient(UI\Point $start, UI\Point $outer, float $radius)%Construct a new Radial Gradient +UI\Draw\Color%object UI\Draw\Color([integer $color])%Construct new Color +UI\Draw\Path%object UI\Draw\Path([integer $mode = UI\Draw\Path::Winding])%Construct a new Path +UI\Draw\Stroke%object UI\Draw\Stroke([integer $cap = UI\Draw\Line\Cap::Flat], [integer $join = UI\Draw\Line\Join::Miter], [float $thickness = 1], [float $miterLimit = 10])%Construct a new Stroke +UI\Draw\Text\Font%object UI\Draw\Text\Font(UI\Draw\Text\Font\Descriptor $descriptor)%Construct a new Font +UI\Draw\Text\Font\Descriptor%object UI\Draw\Text\Font\Descriptor(string $family, float $size, [integer $weight = UI\Draw\Text\Font\Weight::Normal], [integer $italic = UI\Draw\Text\Font\Italic::Normal], [integer $stretch = UI\Draw\Text\Font\Stretch::Normal])%Construct a new Font Descriptor +UI\Draw\Text\Font\fontFamilies%array UI\Draw\Text\Font\fontFamilies()%Retrieve Font Families +UI\Draw\Text\Layout%object UI\Draw\Text\Layout(string $text, UI\Draw\Text\Font $font, float $width)%Construct a new Text Layout +UI\Executor%object UI\Executor(integer $microseconds, integer $seconds)%Construct a new Executor +UI\Menu%object UI\Menu(string $name)%Construct a new Menu +UI\Point%object UI\Point(float $x, float $y)%Construct a new Point +UI\Size%object UI\Size(float $width, float $height)%Construct a new Size +UI\Window%object UI\Window(string $title, Size $size, [boolean $menu = false])%Construct a new Window +UI\quit%void UI\quit()%Quit UI Loop +UI\run%void UI\run([integer $flags])%Enter UI Loop UnderflowException%object UnderflowException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnderflowException UnexpectedValueException%object UnexpectedValueException([string $message = ""], [int $code = 0], [Exception $previous = NULL])%Create a new UnexpectedValueException V8Js%object V8Js([string $object_name = "PHP"], [array $variables = array()], [array $extensions = array()], [bool $report_uncaught_exceptions])%新しい V8Js オブジェクトを作成する @@ -215,8 +251,8 @@ Yaf_Dispatcher%object Yaf_Dispatcher()%Yaf_Dispatcher のコンストラクタ Yaf_Exception%object Yaf_Exception()%コンストラクタ Yaf_Loader%object Yaf_Loader()%The __construct purpose Yaf_Registry%object Yaf_Registry()%Yaf_Registry はシングルトンを実装する -Yaf_Request_Http%object Yaf_Request_Http()%The __construct purpose -Yaf_Request_Simple%object Yaf_Request_Simple()%The __construct purpose +Yaf_Request_Http%object Yaf_Request_Http([string $request_uri], [string $base_uri])%Yaf_Request_Http のコンストラクタ +Yaf_Request_Simple%object Yaf_Request_Simple([string $method], [string $module], [string $controller], [string $action], [array $params])%Yaf_Request_Simple のコンストラクタ Yaf_Response_Abstract%object Yaf_Response_Abstract()%The __construct purpose Yaf_Route_Map%object Yaf_Route_Map([string $controller_prefer = false], [string $delimiter = ""])%The __construct purpose Yaf_Route_Regex%object Yaf_Route_Regex(string $match, array $route, [array $map], [array $verify], [string $reverse])%Yaf_Route_Regex のコンストラクタ @@ -224,7 +260,7 @@ Yaf_Route_Rewrite%object Yaf_Route_Rewrite(string $match, array $route, [array $ Yaf_Route_Simple%object Yaf_Route_Simple(string $module_name, string $controller_name, string $action_name)%Yaf_Route_Simple のコンストラクタ Yaf_Route_Supervar%object Yaf_Route_Supervar(string $supervar_name)%The __construct purpose Yaf_Router%object Yaf_Router()%Yaf_Router のコンストラクタ -Yaf_Session%object Yaf_Session()%The __construct purpose +Yaf_Session%object Yaf_Session()%Yaf_Session のコンストラクタ Yaf_View_Simple%object Yaf_View_Simple(string $template_dir, [array $options])%Yaf_View_Simple のコンストラクタ Yar_Client%object Yar_Client(string $url)%Create a client Yar_Server%object Yar_Server(Object $obj)%Register a server @@ -232,6 +268,7 @@ ZMQ%object ZMQ()%ZMQ constructor ZMQContext%object ZMQContext([integer $io_threads = 1], [boolean $is_persistent = true])%Construct a new ZMQContext object ZMQDevice%object ZMQDevice(ZMQSocket $frontend, ZMQSocket $backend, [ZMQSocket $listener])%Construct a new device ZMQSocket%object ZMQSocket(ZMQContext $context, int $type, [string $persistent_id = null], [callback $on_new_socket = null])%Construct a new ZMQSocket +Zookeeper%object Zookeeper([string $host = ''], [callable $watcher_cb = null], [int $recv_timeout = 10000])%Create a handle to used communicate with zookeeper. __autoload%void __autoload(string $class)%未定義のクラスのロードを試みる __halt_compiler%void __halt_compiler()%コンパイラの実行を中止する abs%number abs(mixed $number)%絶対値 @@ -268,10 +305,22 @@ apc_inc%int apc_inc(string $key, [int $step = 1], [bool $success])%保存した apc_load_constants%bool apc_load_constants(string $key, [bool $case_sensitive = true])%定数群をキャッシュから読み込む apc_sma_info%array apc_sma_info([bool $limited = false])%APC の共有メモリ割り当てに関する情報を取得する apc_store%array apc_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%変数をデータ領域にキャッシュする +apcu_add%array apcu_add(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a new variable in the data store +apcu_cache_info%array apcu_cache_info([bool $limited = false])%Retrieves cached information from APCu's data store +apcu_cas%bool apcu_cas(string $key, int $old, int $new)%Updates an old value with a new value +apcu_clear_cache%bool apcu_clear_cache()%Clears the APCu cache +apcu_dec%int apcu_dec(string $key, [int $step = 1], [bool $success])%Decrease a stored number +apcu_delete%bool apcu_delete(mixed $key)%Removes a stored variable from the cache +apcu_entry%mixed apcu_entry(string $key, callable $generator, [int $ttl])%Atomically fetch or generate a cache entry +apcu_exists%mixed apcu_exists(mixed $keys)%Checks if entry exists +apcu_fetch%mixed apcu_fetch(mixed $key, [bool $success])%Fetch a stored variable from the cache +apcu_inc%int apcu_inc(string $key, [int $step = 1], [bool $success])%Increase a stored number +apcu_sma_info%array apcu_sma_info([bool $limited = false])%Retrieves APCu Shared Memory Allocation information +apcu_store%array apcu_store(string $key, mixed $var, [int $ttl], array $values, [mixed $unused = NULL])%Cache a variable in the data store array%array array([mixed ...])%配列を生成する array_change_key_case%array array_change_key_case(array $array, [int $case = CASE_LOWER])%配列のすべてのキーの大文字小文字を変更する array_chunk%array array_chunk(array $array, int $size, [bool $preserve_keys = false])%配列を分割する -array_column%array array_column(array $array, mixed $column_key, [mixed $index_key = null])%入力配列から単一のカラムの値を返す +array_column%array array_column(array $input, mixed $column_key, [mixed $index_key = null])%入力配列から単一のカラムの値を返す array_combine%配列 array_combine(array $keys, array $values)%一方の配列をキーとして、もう一方の配列を値として、ひとつの配列を生成する array_count_values%array array_count_values(array $array)%配列の値の数を数える array_diff%array array_diff(array $array1, array $array2, [array ...])%配列の差を計算する @@ -289,11 +338,11 @@ array_intersect_key%array array_intersect_key(array $array1, array $array2, [arr array_intersect_uassoc%array array_intersect_uassoc(array $array1, array $array2, [array ...], callable $key_compare_func)%追加された添字の確認も含め、コールバック関数を用いて 配列の共通項を確認する array_intersect_ukey%array array_intersect_ukey(array $array1, array $array2, [array ...], callable $key_compare_func)%キーを基準にし、コールバック関数を用いて 配列の共通項を計算する array_key_exists%bool array_key_exists(mixed $key, array $array)%指定したキーまたは添字が配列にあるかどうかを調べる -array_keys%array array_keys(array $array, [mixed $search_value], [bool $strict = false])%配列のキーすべて、あるいはその一部を返す +array_keys%array array_keys(array $array, [mixed $search_value = null], [bool $strict = false])%配列のキーすべて、あるいはその一部を返す array_map%array array_map(callable $callback, array $array1, [array ...])%指定した配列の要素にコールバック関数を適用する array_merge%array array_merge(array $array1, [array ...])%ひとつまたは複数の配列をマージする array_merge_recursive%array array_merge_recursive(array $array1, [array ...])%二つ以上の配列を再帰的にマージする -array_multisort%string array_multisort(array $array1, [mixed $array1_sort_order = SORT_ASC], [mixed $array1_sort_flags = SORT_REGULAR], [mixed ...])%複数の多次元の配列をソートする +array_multisort%string array_multisort(array $array1, [mixed $array1_sort_order = SORT_ASC], [mixed $array1_sort_flags = SORT_REGULAR], [mixed ...])%複数または多次元の配列をソートする array_pad%array array_pad(array $array, int $size, mixed $value)%指定長、指定した値で配列を埋める array_pop%mixed array_pop(array $array)%配列の末尾から要素を取り除く array_product%number array_product(array $array)%配列の値の積を計算する @@ -303,10 +352,10 @@ array_reduce%mixed array_reduce(array $array, callable $callback, [mixed $initia array_replace%array array_replace(array $array1, array $array2, [array ...])%渡された配列の要素を置き換える array_replace_recursive%array array_replace_recursive(array $array1, array $array2, [array ...])%渡された配列の要素を再帰的に置き換える array_reverse%array array_reverse(array $array, [bool $preserve_keys = false])%要素を逆順にした配列を返す -array_search%mixed array_search(mixed $needle, array $haystack, [bool $strict = false])%指定した値を配列で検索し、見つかった場合に対応するキーを返す +array_search%mixed array_search(mixed $needle, array $haystack, [bool $strict = false])%指定した値を配列で検索し、見つかった場合に対応する最初のキーを返す array_shift%mixed array_shift(array $array)%配列の先頭から要素を一つ取り出す array_slice%array array_slice(array $array, int $offset, [int $length], [bool $preserve_keys = false])%配列の一部を展開する -array_splice%array array_splice(array $input, int $offset, [int $length], [mixed $replacement = array()])%配列の一部を削除し、他の要素で置換する +array_splice%array array_splice(array $input, int $offset, [int $length = count($input)], [mixed $replacement = array()])%配列の一部を削除し、他の要素で置換する array_sum%number array_sum(array $array)%配列の中の値の合計を計算する array_udiff%array array_udiff(array $array1, array $array2, [array ...], callable $value_compare_func)%データの比較にコールバック関数を用い、配列の差を計算する array_udiff_assoc%array array_udiff_assoc(array $array1, array $array2, [array ...], callable $value_compare_func)%データの比較にコールバック関数を用い、 追加された添字の確認を含めて配列の差を計算する @@ -333,15 +382,15 @@ base64_encode%string base64_encode(string $data)%MIME base64 方式でデータ base_convert%string base_convert(string $number, int $frombase, int $tobase)%数値の基数を任意に変換する basename%string basename(string $path, [string $suffix])%パスの最後にある名前の部分を返す bcadd%string bcadd(string $left_operand, string $right_operand, [int $scale])%2つの任意精度の数値を加算する -bccomp%int bccomp(string $left_operand, string $right_operand, [int $scale = int])%2 つの任意精度数値を比較する -bcdiv%string bcdiv(string $left_operand, string $right_operand, [int $scale = int])%2つの任意精度数値で除算を行う +bccomp%int bccomp(string $left_operand, string $right_operand, [int $scale])%2 つの任意精度数値を比較する +bcdiv%string bcdiv(string $left_operand, string $right_operand, [int $scale])%2つの任意精度数値で除算を行う bcmod%string bcmod(string $left_operand, string $modulus)%2 つの任意精度数値の剰余を取得する -bcmul%string bcmul(string $left_operand, string $right_operand, [int $scale = int])%2つの任意精度数値の乗算を行う +bcmul%string bcmul(string $left_operand, string $right_operand, [int $scale])%2つの任意精度数値の乗算を行う bcpow%string bcpow(string $left_operand, string $right_operand, [int $scale])%任意精度数値をべき乗する -bcpowmod%string bcpowmod(string $left_operand, string $right_operand, string $modulus, [int $scale = int])%任意精度数値のべき乗の、指定した数値による剰余 +bcpowmod%string bcpowmod(string $left_operand, string $right_operand, string $modulus, [int $scale])%任意精度数値のべき乗の、指定した数値による剰余 bcscale%bool bcscale(int $scale)%すべての BC 演算関数におけるデフォルトのスケールを設定する bcsqrt%string bcsqrt(string $operand, [int $scale])%任意精度数値の平方根を取得する -bcsub%string bcsub(string $left_operand, string $right_operand, [int $scale = int])%任意精度数値の減算を行う +bcsub%string bcsub(string $left_operand, string $right_operand, [int $scale])%任意精度数値の減算を行う bin2hex%string bin2hex(string $str)%バイナリのデータを16進表現に変換する bind_textdomain_codeset%string bind_textdomain_codeset(string $domain, string $codeset)%DOMAIN メッセージカタログから返されるメッセージの文字エンコーディングを指定する bindec%float bindec(string $binary_string)%2 進数 を 10 進数に変換する @@ -547,6 +596,8 @@ decoct%string decoct(int $number)%10 進数を 8 進数に変換する define%bool define(string $name, mixed $value, [bool $case_insensitive = false])%名前を指定して定数を定義する define_syslog_variables%void define_syslog_variables()%syslog に関係する全ての定数を初期化する defined%bool defined(string $name)%指定した名前の定数が存在するかどうかを調べる +deflate_add%string deflate_add(resource $context, string $data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally deflate data +deflate_init%resource deflate_init(int $encoding, [array $options = array()])%Initialize an incremental deflate context deg2rad%float deg2rad(float $number)%度単位の数値をラジアン単位に変換する delete%void delete()%unlink か unset を参照してください dgettext%string dgettext(string $domain, string $message)%現在のドメインを上書きする @@ -606,7 +657,7 @@ eio_read%resource eio_read(mixed $fd, int $length, int $offset, int $pri, callab eio_readahead%resource eio_readahead(mixed $fd, int $offset, int $length, [int $pri = EIO_PRI_DEFAULT], [callable $callback = NULL], [mixed $data = NULL])%ファイルを先読みしてページキャッシュに格納する eio_readdir%resource eio_readdir(string $path, int $flags, int $pri, callable $callback, [string $data = NULL])%ディレクトリ全体を読み込む eio_readlink%resource eio_readlink(string $path, int $pri, callable $callback, [string $data = NULL])%シンボリックリンクの値を読む -eio_realpath%resource eio_realpath(string $path, int $pri, callable $callback, [string $data = NULL])%正規化した絶対パスを取得する +eio_realpath%resource eio_realpath(string $path, int $pri, callable $callback, [string $data = NULL])%正規化された絶対パスを取得する eio_rename%resource eio_rename(string $path, string $new_path, [int $pri = EIO_PRI_DEFAULT], [callable $callback = NULL], [mixed $data = NULL])%ファイル名や場所を変更する eio_rmdir%resource eio_rmdir(string $path, [int $pri = EIO_PRI_DEFAULT], [callable $callback = NULL], [mixed $data = NULL])%ディレクトリを削除する eio_seek%resource eio_seek(mixed $fd, int $offset, int $whence, [int $pri = EIO_PRI_DEFAULT], [callable $callback = NULL], [mixed $data = NULL])%fd で指定したファイル内でのオフセットを、offset と whence に従って移動する @@ -667,7 +718,7 @@ exif_tagname%string exif_tagname(int $index)%インデックスに対応する exif_thumbnail%string exif_thumbnail(string $filename, [int $width], [int $height], [int $imagetype])%TIFF あるいは JPEG 形式の画像に埋め込まれたサムネイルを取得する exit%void exit(int $status)%メッセージを出力し、現在のスクリプトを終了する exp%float exp(float $arg)%e の累乗を計算する -explode%array explode(string $delimiter, string $string, [int $limit])%文字列を文字列により分割する +explode%array explode(string $delimiter, string $string, [int $limit = PHP_INT_MAX])%文字列を文字列により分割する expm1%float expm1(float $arg)%値がゼロに近い時にでも精度を保つために exp(number) - 1 を返す extension_loaded%bool extension_loaded(string $name)%ある拡張機能がロードされているかどうかを調べる extract%int extract(array $array, [int $flags = EXTR_OVERWRITE], [string $prefix])%配列からシンボルテーブルに変数をインポートする @@ -823,7 +874,7 @@ fgets%string fgets(resource $handle, [int $length])%ファイルポインタか fgetss%string fgetss(resource $handle, [int $length], [string $allowable_tags])%ファイルポインタから 1 行取り出し、HTML タグを取り除く file%array file(string $filename, [int $flags], [resource $context])%ファイル全体を読み込んで配列に格納する file_exists%bool file_exists(string $filename)%ファイルまたはディレクトリが存在するかどうか調べる -file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset = -1], [int $maxlen])%ファイルの内容を全て文字列に読み込む +file_get_contents%string file_get_contents(string $filename, [bool $use_include_path = false], [resource $context], [int $offset], [int $maxlen])%ファイルの内容を全て文字列に読み込む file_put_contents%int file_put_contents(string $filename, mixed $data, [int $flags], [resource $context])%文字列をファイルに書き込む fileatime%int fileatime(string $filename)%ファイルの最終アクセス時刻を取得する filectime%int filectime(string $filename)%ファイルの inode 変更時刻を取得する @@ -1077,56 +1128,8 @@ html_entity_decode%string html_entity_decode(string $string, [int $flags = ENT_C htmlentities%string htmlentities(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%適用可能な文字を全て HTML エンティティに変換する htmlspecialchars%string htmlspecialchars(string $string, [int $flags = ENT_COMPAT | ENT_HTML401], [string $encoding = ini_get("default_charset")], [bool $double_encode = true])%特殊文字を HTML エンティティに変換する htmlspecialchars_decode%string htmlspecialchars_decode(string $string, [int $flags = ENT_COMPAT | ENT_HTML401])%特殊な HTML エンティティを文字に戻す -http_build_cookie%string http_build_cookie(array $cookie)%クッキー文字列を作成する http_build_query%string http_build_query(mixed $query_data, [string $numeric_prefix], [string $arg_separator], [int $enc_type])%URL エンコードされたクエリ文字列を生成する -http_build_str%string http_build_str(array $query, [string $prefix], [string $arg_separator = ini_get("arg_separator.output")])%クエリ文字列を組み立てる -http_build_url%string http_build_url([mixed $url], [mixed $parts], [int $flags = HTTP_URL_REPLACE], [array $new_url])%URL を組み立てる -http_cache_etag%bool http_cache_etag([string $etag])%ETag でキャッシュする -http_cache_last_modified%bool http_cache_last_modified([int $timestamp_or_expires])%最終更新日時でキャッシュする -http_chunked_decode%string http_chunked_decode(string $encoded)%chunked-encoded データをデコードする -http_date%string http_date([int $timestamp])%HTTP の RFC に準拠した日付を作成する -http_deflate%string http_deflate(string $data, [int $flags])%データを圧縮する -http_get%string http_get(string $url, [array $options], [array $info])%GET リクエストを実行する -http_get_request_body%string http_get_request_body()%リクエストの本文を文字列として取得する -http_get_request_body_stream%resource http_get_request_body_stream()%リクエストの本文をストリームとして取得する -http_get_request_headers%array http_get_request_headers()%リクエストヘッダを配列として取得する -http_head%string http_head(string $url, [array $options], [array $info])%HEAD リクエストを実行する -http_inflate%string http_inflate(string $data)%データを展開する -http_match_etag%bool http_match_etag(string $etag, [bool $for_range = false])%ETag を比較する -http_match_modified%bool http_match_modified([int $timestamp = -1], [bool $for_range = false])%最終更新日時を比較する -http_match_request_header%bool http_match_request_header(string $header, string $value, [bool $match_case = false])%任意のヘッダを比較する -http_negotiate_charset%string http_negotiate_charset(array $supported, [array $result])%クライアントが希望している文字セットを選択する -http_negotiate_content_type%string http_negotiate_content_type(array $supported, [array $result])%クライアントが希望している content type を選択する -http_negotiate_language%string http_negotiate_language(array $supported, [array $result])%クライアントが希望している言語を選択する -http_parse_cookie%object http_parse_cookie(string $cookie, [int $flags], [array $allowed_extras])%HTTP クッキーをパースする -http_parse_headers%array http_parse_headers(string $header)%HTTP ヘッダをパースする -http_parse_message%object http_parse_message(string $message)%HTTP メッセージをパースする -http_parse_params%object http_parse_params(string $param, [int $flags = HTTP_PARAMS_DEFAULT])%パラメータリストをパースする -http_persistent_handles_clean%string http_persistent_handles_clean([string $ident])%持続ハンドルを消去する -http_persistent_handles_count%object http_persistent_handles_count()%持続ハンドルの状況 -http_persistent_handles_ident%string http_persistent_handles_ident([string $ident])%持続ハンドルの ident を取得/設定する -http_post_data%string http_post_data(string $url, string $data, [array $options], [array $info])%エンコードされたデータを使用して POST リクエストを実行する -http_post_fields%string http_post_fields(string $url, array $data, [array $files], [array $options], [array $info])%エンコードされる前のデータを使用して POST リクエストを実行する -http_put_data%string http_put_data(string $url, string $data, [array $options], [array $info])%データを使用して PUT リクエストを実行する -http_put_file%string http_put_file(string $url, string $file, [array $options], [array $info])%ファイルを使用して PUT リクエストを実行する -http_put_stream%string http_put_stream(string $url, resource $stream, [array $options], [array $info])%ストリームを使用して PUT リクエストを実行する -http_redirect%bool http_redirect([string $url], [array $params], [bool $session = false], [int $status])%HTTP リダイレクトを発行する -http_request%string http_request(int $method, string $url, [string $body], [array $options], [array $info])%独自のリクエストを実行する -http_request_body_encode%string http_request_body_encode(array $fields, array $files)%リクエスト本文をエンコードする -http_request_method_exists%int http_request_method_exists(mixed $method)%リクエストメソッドが存在するかどうかを調べる -http_request_method_name%string http_request_method_name(int $method)%リクエストメソッド名を取得する -http_request_method_register%int http_request_method_register(string $method)%リクエストメソッドを登録する -http_request_method_unregister%bool http_request_method_unregister(mixed $method)%リクエストメソッドの登録を解除する -http_response_code%int http_response_code([int $response_code])%HTTP レスポンスコードを取得または設定 -http_send_content_disposition%bool http_send_content_disposition(string $filename, [bool $inline = false])%Content-Disposition を送信する -http_send_content_type%bool http_send_content_type([string $content_type = "application/x-octetstream"])%Content-Type を送信する -http_send_data%bool http_send_data(string $data)%任意のデータを送信する -http_send_file%bool http_send_file(string $file)%ファイルを送信する -http_send_last_modified%bool http_send_last_modified([int $timestamp = time()])%Last-Modified を送信する -http_send_status%bool http_send_status(int $status)%HTTP レスポンスステータスを送信する -http_send_stream%bool http_send_stream(resource $stream)%ストリームを送信する -http_support%int http_support([int $feature])%組み込みの HTTP サポートを調べる -http_throttle%void http_throttle(float $sec, [int $bytes = 40960])%HTTP 抑止処理 +http_response_code%mixed http_response_code([int $response_code])%HTTP レスポンスコードを取得または設定 hypot%float hypot(float $x, float $y)%直角三角形の斜辺の長さを計算する ibase_add_user%bool ibase_add_user(resource $service_handle, string $user_name, string $password, [string $first_name], [string $middle_name], [string $last_name])%セキュリティデータベースにユーザーを追加する ibase_affected_rows%int ibase_affected_rows([resource $link_identifier])%直近のクエリで変更された行の数を返す @@ -1188,9 +1191,8 @@ iconv_strrpos%int iconv_strrpos(string $haystack, string $needle, [string $chars iconv_substr%string iconv_substr(string $str, int $offset, [int $length = iconv_strlen($str, $charset)], [string $charset = ini_get("iconv.internal_encoding")])%文字列の一部を切り出す idate%int idate(string $format, [int $timestamp = time()])%ローカルな時刻/日付を整数として整形する idn_to_ascii%string idn_to_ascii(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%ドメイン名をIDNAのASCII形式に変換する -idn_to_unicode%void idn_to_unicode()%idn_to_utf8 のエイリアス idn_to_utf8%string idn_to_utf8(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%IDNAのASCII方式でエンコードされたドメイン名をUnicodeに変換する -ignore_user_abort%int ignore_user_abort([string $value])%クライアントの接続が切断された際にスクリプトの実行を終了するかどうかを設定する +ignore_user_abort%int ignore_user_abort([bool $value])%クライアントの接続が切断された際にスクリプトの実行を終了するかどうかを設定する iis_add_server%int iis_add_server(string $path, string $comment, string $server_ip, int $port, string $host_name, int $rights, int $start_server)%新規に仮想 Web サーバーを作成する iis_get_dir_security%int iis_get_dir_security(int $server_instance, string $virtual_path)%ディレクトリのセキュリティを取得する iis_get_script_map%string iis_get_script_map(int $server_instance, string $virtual_path, string $script_extension)%指定した拡張子に関して仮想ディレクトリにおけるスクリプトマッピングを取得する @@ -1211,11 +1213,12 @@ image2wbmp%bool image2wbmp(resource $image, [string $filename], [int $threshold] image_type_to_extension%string image_type_to_extension(int $imagetype, [bool $include_dot])%画像形式からファイルの拡張子を取得する image_type_to_mime_type%string image_type_to_mime_type(int $imagetype)%getimagesize, exif_read_data, exif_thumbnail, exif_imagetypeから返される 画像形式のMIMEタイプを取得する imageaffine%resource imageaffine(resource $image, array $affine, [array $clip])%元の画像を、オプションのクリッピング領域を使ってアフィン変換した画像を返す -imageaffinematrixconcat%array imageaffinematrixconcat(array $m1, array $m2)%二つの行列を連結する (複数の操作を一度に行う) -imageaffinematrixget%array imageaffinematrixget(int $type, [mixed $options])%元の画像を、オプションのクリッピング領域を使ってアフィン変換した画像を返す +imageaffinematrixconcat%array imageaffinematrixconcat(array $m1, array $m2)%二つのアフィン変換行列を連結する +imageaffinematrixget%array imageaffinematrixget(int $type, mixed $options)%アフィン変換行列を取得する imagealphablending%bool imagealphablending(resource $image, bool $blendmode)%イメージのブレンドモードを設定する imageantialias%bool imageantialias(resource $image, bool $enabled)%アンチエイリアス機能を使用すべきかどうかを判断する imagearc%bool imagearc(resource $image, int $cx, int $cy, int $width, int $height, int $start, int $end, int $color)%部分楕円を描画する +imagebmp%bool imagebmp(resource $image, mixed $to, [bool $compressed])%Output a BMP image to browser or file imagechar%bool imagechar(resource $image, int $font, int $x, int $y, string $c, int $color)%水平に文字を描画する imagecharup%bool imagecharup(resource $image, int $font, int $x, int $y, string $c, int $color)%垂直に文字を描画する imagecolorallocate%int imagecolorallocate(resource $image, int $red, int $green, int $blue)%画像で使用する色を作成する @@ -1241,6 +1244,7 @@ imagecopymergegray%bool imagecopymergegray(resource $dst_im, resource $src_im, i imagecopyresampled%bool imagecopyresampled(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%再サンプリングを行いイメージの一部をコピー、伸縮する imagecopyresized%bool imagecopyresized(resource $dst_image, resource $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h)%画像の一部をコピーしサイズを変更する imagecreate%resource imagecreate(int $width, int $height)%パレットを使用する新規画像を作成する +imagecreatefrombmp%resource imagecreatefrombmp(string $filename)%新しい画像をファイルあるいは URL から作成する imagecreatefromgd%resource imagecreatefromgd(string $filename)%GD ファイルまたは URL から新規イメージを生成する imagecreatefromgd2%resource imagecreatefromgd2(string $filename)%GD2 ファイルまたは URL から新規イメージを生成する imagecreatefromgd2part%resource imagecreatefromgd2part(string $filename, int $srcX, int $srcY, int $width, int $height)%GD2 ファイルまたは URL の指定した部分から新規イメージを生成する @@ -1253,7 +1257,7 @@ imagecreatefromwebp%resource imagecreatefromwebp(string $filename)%新しい画 imagecreatefromxbm%resource imagecreatefromxbm(string $filename)%新しい画像をファイルあるいは URL から作成する imagecreatefromxpm%resource imagecreatefromxpm(string $filename)%新しい画像をファイルあるいは URL から作成する imagecreatetruecolor%resource imagecreatetruecolor(int $width, int $height)%TrueColor イメージを新規に作成する -imagecrop%resource imagecrop(resource $image, array $rect)%座標とサイズを指定して、画像をクロップする +imagecrop%resource imagecrop(resource $image, array $rect)%指定した矩形に画像をクロップする imagecropauto%resource imagecropauto(resource $image, [int $mode = -1], [float $threshold = .5], [int $color = -1])%利用可能なモードを指定して、画像を自動的にクロップする imagedashedline%bool imagedashedline(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%破線を描画する imagedestroy%bool imagedestroy(resource $image)%画像を破棄する @@ -1271,20 +1275,22 @@ imagefontwidth%int imagefontwidth(int $font)%フォントの幅を取得する imageftbbox%array imageftbbox(float $size, float $angle, string $fontfile, string $text, [array $extrainfo])%freetype2 によるフォントを用いたテキストを囲む箱を取得する imagefttext%array imagefttext(resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text, [array $extrainfo])%FreeType 2 によるフォントを用いてイメージにテキストを描画する imagegammacorrect%bool imagegammacorrect(resource $image, float $inputgamma, float $outputgamma)%GD イメージにガンマ補正を適用する -imagegd%bool imagegd(resource $image, [string $filename])%GD イメージをブラウザまたはファイルに出力する -imagegd2%bool imagegd2(resource $image, [string $filename], [int $chunk_size], [int $type = IMG_GD2_RAW])%GD2 イメージをブラウザまたはファイルに出力する -imagegif%bool imagegif(resource $image, [string $filename])%画像をブラウザあるいはファイルに出力する +imagegd%bool imagegd(resource $image, [mixed $to = NULL])%GD イメージをブラウザまたはファイルに出力する +imagegd2%bool imagegd2(resource $image, [mixed $to = NULL], [int $chunk_size = 128], [int $type = IMG_GD2_RAW])%GD2 イメージをブラウザまたはファイルに出力する +imagegetclip%array imagegetclip(resource $im)%Get the clipping rectangle +imagegif%bool imagegif(resource $image, [mixed $to])%画像をブラウザあるいはファイルに出力する imagegrabscreen%resource imagegrabscreen()%画面全体をキャプチャする imagegrabwindow%resource imagegrabwindow(int $window_handle, [int $client_area])%ウィンドウをキャプチャする imageinterlace%int imageinterlace(resource $image, [int $interlace])%インターレースを有効もしくは無効にする imageistruecolor%bool imageistruecolor(resource $image)%画像が truecolor かどうか調べる -imagejpeg%bool imagejpeg(resource $image, [string $filename], [int $quality])%画像をブラウザあるいはファイルに出力する -imagelayereffect%bool imagelayereffect(resource $image, int $effect)%アルファブレンディングフラグを設定し、 libgd にバンドルされているレイヤ効果を使用する +imagejpeg%bool imagejpeg(resource $image, [mixed $to], [int $quality])%画像をブラウザあるいはファイルに出力する +imagelayereffect%bool imagelayereffect(resource $image, int $effect)%アルファブレンディングフラグを設定し、レイヤ効果を使用する imageline%bool imageline(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%直線を描画する imageloadfont%int imageloadfont(string $file)%新しいフォントを読み込む +imageopenpolygon%bool imageopenpolygon(resource $image, array $points, int $num_points, int $color)%Draws an open polygon imagepalettecopy%void imagepalettecopy(resource $destination, resource $source)%あるイメージから他のイメージにパレットをコピーする imagepalettetotruecolor%bool imagepalettetotruecolor(resource $src)%パレット形式の画像を true color に変換する -imagepng%bool imagepng(resource $image, [string $filename], [int $quality], [int $filters])%PNG イメージをブラウザまたはファイルに出力する +imagepng%bool imagepng(resource $image, [mixed $to], [int $quality], [int $filters])%PNG イメージをブラウザまたはファイルに出力する imagepolygon%bool imagepolygon(resource $image, array $points, int $num_points, int $color)%多角形を描画する imagepsbbox%array imagepsbbox(string $text, resource $font, int $size, int $space, int $tightness, float $angle)%PostScript Type1 フォントを用いてテキスト矩形のバウンディングボックスを指定する imagepsencodefont%bool imagepsencodefont(resource $font_index, string $encodingfile)%フォントの文字エンコードベクトルを変更する @@ -1294,10 +1300,12 @@ imagepsloadfont%resource imagepsloadfont(string $filename)%ファイルから Po imagepsslantfont%bool imagepsslantfont(resource $font_index, float $slant)%フォントを傾ける imagepstext%array imagepstext(resource $image, string $text, resource $font_index, int $size, int $foreground, int $background, int $x, int $y, [int $space], [int $tightness], [float $angle = 0.0], [int $antialias_steps = 4])%PostScript Type1 フォントを用いて画像の上に文字列を描く imagerectangle%bool imagerectangle(resource $image, int $x1, int $y1, int $x2, int $y2, int $color)%矩形を描画する +imageresolution%mixed imageresolution(resource $image, [int $res_x], [int $res_y])%Get or set the resolution of the image imagerotate%resource imagerotate(resource $image, float $angle, int $bgd_color, [int $ignore_transparent])%指定された角度で画像を回転する imagesavealpha%bool imagesavealpha(resource $image, bool $saveflag)%PNG 画像を保存する際に(単一色の透過設定ではない)完全な アルファチャネル情報を保存するフラグを設定する imagescale%resource imagescale(resource $image, int $new_width, [int $new_height = -1], [int $mode = IMG_BILINEAR_FIXED])%幅と高さを指定して、画像の縮尺を変更する imagesetbrush%bool imagesetbrush(resource $image, resource $brush)%線の描画用にブラシイメージを設定する +imagesetclip%bool imagesetclip(resource $im, int $x1, int $y1, int $x2, int $y2)%Set the clipping rectangle imagesetinterpolation%bool imagesetinterpolation(resource $image, [int $method = IMG_BILINEAR_FIXED])%補間方法を設定する imagesetpixel%bool imagesetpixel(resource $image, int $x, int $y, int $color)%点を生成する imagesetstyle%bool imagesetstyle(resource $image, array $style)%線描画用のスタイルを設定する @@ -1311,8 +1319,8 @@ imagetruecolortopalette%bool imagetruecolortopalette(resource $image, bool $dith imagettfbbox%array imagettfbbox(float $size, float $angle, string $fontfile, string $text)%TypeType フォントを使用したテキストの bounding box を生成する imagettftext%array imagettftext(resource $image, float $size, float $angle, int $x, int $y, int $color, string $fontfile, string $text)%TrueType フォントを使用してテキストを画像に書き込む imagetypes%int imagetypes()%この PHP がサポートしている画像形式を返す -imagewbmp%bool imagewbmp(resource $image, [string $filename], [int $foreground])%画像をブラウザあるいはファイルに出力する -imagewebp%bool imagewebp(resource $image, string $filename)%WebP 画像をブラウザあるいはファイルに出力する +imagewbmp%bool imagewbmp(resource $image, [mixed $to], [int $foreground])%画像をブラウザあるいはファイルに出力する +imagewebp%bool imagewebp(resource $image, mixed $to, [int $quality = 80])%WebP 画像をブラウザあるいはファイルに出力する imagexbm%bool imagexbm(resource $image, string $filename, [int $foreground])%XBM 画像をブラウザあるいはファイルに出力する imap_8bit%string imap_8bit(string $string)%8 ビット文字列を quoted-printable 文字列に変換する imap_alerts%array imap_alerts()%発生した IMAP 警告メッセージを返す @@ -1394,6 +1402,8 @@ include%bool include(string $path)%Includes and evaluates the specified file include_once%bool include_once(string $path)%Includes and evaluates the specified file inet_ntop%string inet_ntop(string $in_addr)%パックされたインターネットアドレスを、人間が読める形式に変換する inet_pton%string inet_pton(string $address)%人間が読める形式の IP アドレスを、パックされた in_addr 形式に変換する +inflate_add%string inflate_add(resource $context, string $encoded_data, [int $flush_mode = ZLIB_SYNC_FLUSH])%Incrementally inflate encoded data +inflate_init%resource inflate_init(int $encoding, [array $options = array()])%Initialize an incremental inflate context ini_alter%void ini_alter()%ini_set のエイリアス ini_get%string ini_get(string $varname)%設定オプションの値を得る ini_get_all%array ini_get_all([string $extension], [bool $details = true])%すべての設定オプションを得る @@ -1475,7 +1485,7 @@ ldap_add%bool ldap_add(resource $link_identifier, string $dn, array $entry)%LDAP ldap_bind%bool ldap_bind(resource $link_identifier, [string $bind_rdn], [string $bind_password])%LDAP ディレクトリにバインドする ldap_close%void ldap_close()%ldap_unbind のエイリアス ldap_compare%mixed ldap_compare(resource $link_identifier, string $dn, string $attribute, string $value)%指定した DN のエントリで見付かった属性の値を比較する -ldap_connect%resource ldap_connect([string $hostname], [int $port = 389])%LDAP サーバーへ接続する +ldap_connect%resource ldap_connect([string $host], [int $port = 389])%LDAP サーバーへ接続する ldap_control_paged_result%bool ldap_control_paged_result(resource $link, int $pagesize, [bool $iscritical = false], [string $cookie = ""])%LDAP ページネーション制御情報を送信する ldap_control_paged_result_response%bool ldap_control_paged_result_response(resource $link, resource $result, [string $cookie], [int $estimated])%LDAP ページネーションクッキーを取得する ldap_count_entries%int ldap_count_entries(resource $link_identifier, resource $result_identifier)%検索結果のエントリ数を数える @@ -1513,7 +1523,7 @@ ldap_sasl_bind%bool ldap_sasl_bind(resource $link, [string $binddn], [string $pa ldap_search%resource ldap_search(resource $link_identifier, string $base_dn, string $filter, [array $attributes], [int $attrsonly], [int $sizelimit], [int $timelimit], [int $deref])%LDAP ツリーを探索する ldap_set_option%bool ldap_set_option(resource $link_identifier, int $option, mixed $newval)%指定したオプションの値を設定する ldap_set_rebind_proc%bool ldap_set_rebind_proc(resource $link, callable $callback)%参照先を再バインドするためのコールバック関数を設定する -ldap_sort%bool ldap_sort(resource $link, resource $result, string $sortfilter)%LDAP 結果エントリをソートする +ldap_sort%bool ldap_sort(resource $link, resource $result, string $sortfilter)%LDAP 結果エントリをクライアント側でソートする ldap_start_tls%bool ldap_start_tls(resource $link)%TLS を開始する ldap_t61_to_8859%string ldap_t61_to_8859(string $value)%t61 文字を 8859 文字に変換する ldap_unbind%bool ldap_unbind(resource $link_identifier)%LDAP ディレクトリへのバインドを解除する @@ -1574,7 +1584,7 @@ mb_decode_mimeheader%string mb_decode_mimeheader(string $str)%MIME ヘッダフ mb_decode_numericentity%string mb_decode_numericentity(string $str, array $convmap, [string $encoding = mb_internal_encoding()])%HTML 数値エンティティを文字にデコードする mb_detect_encoding%string mb_detect_encoding(string $str, [mixed $encoding_list = mb_detect_order()], [bool $strict = false])%文字エンコーディングを検出する mb_detect_order%mixed mb_detect_order([mixed $encoding_list = mb_detect_order()])%文字エンコーディング検出順序を設定あるいは取得する -mb_encode_mimeheader%string mb_encode_mimeheader(string $str, [string $charset = mb_internal_encoding()], [string $transfer_encoding = "B"], [string $linefeed = "\r\n"], [int $indent])%MIMEヘッダの文字列をエンコードする +mb_encode_mimeheader%string mb_encode_mimeheader(string $str, [string $charset = mb_language() によって決まる値], [string $transfer_encoding = "B"], [string $linefeed = "\r\n"], [int $indent])%MIMEヘッダの文字列をエンコードする mb_encode_numericentity%string mb_encode_numericentity(string $str, array $convmap, [string $encoding = mb_internal_encoding()], [bool $is_hex = FALSE])%文字を HTML 数値エンティティにエンコードする mb_encoding_aliases%array mb_encoding_aliases(string $encoding)%既知のエンコーディング・タイプのエイリアスを取得 mb_ereg%int mb_ereg(string $pattern, string $string, [array $regs])%マルチバイト文字列に正規表現マッチを行う @@ -1670,7 +1680,7 @@ mhash_get_block_size%int mhash_get_block_size(int $hash)%指定したハッシ mhash_get_hash_name%string mhash_get_hash_name(int $hash)%指定したハッシュの名前を得る mhash_keygen_s2k%string mhash_keygen_s2k(int $hash, string $password, string $salt, int $bytes)%キーを生成する microtime%mixed microtime([bool $get_as_float = false])%現在の Unix タイムスタンプをマイクロ秒まで返す -mime_content_type%string mime_content_type(string $filename)%ファイルの MIME Content-type を検出する (非推奨) +mime_content_type%string mime_content_type(string $filename)%ファイルの MIME Content-type を検出する min%string min(array $values, mixed $value1, mixed $value2, [mixed ...])%最小値を返す mkdir%bool mkdir(string $pathname, [int $mode = 0777], [bool $recursive = false], [resource $context])%ディレクトリを作る mktime%int mktime([int $hour = date("H")], [int $minute = date("i")], [int $second = date("s")], [int $month = date("n")], [int $day = date("j")], [int $year = date("Y")], [int $is_dst = -1])%日付を Unix のタイムスタンプとして取得する @@ -1870,7 +1880,7 @@ mysqli_stmt_reset%bool mysqli_stmt_reset(mysqli_stmt $stmt)%プリペアドス mysqli_stmt_result_metadata%mysqli_result mysqli_stmt_result_metadata(mysqli_stmt $stmt)%プリペアドステートメントから結果セットのメタデータを返す mysqli_stmt_send_long_data%bool mysqli_stmt_send_long_data(int $param_nr, string $data, mysqli_stmt $stmt)%データをブロックで送信する mysqli_stmt_store_result%bool mysqli_stmt_store_result(mysqli_stmt $stmt)%プリペアドステートメントから結果を転送する -mysqli_store_result%mysqli_result mysqli_store_result([int $option])%直近のクエリから結果セットを転送する +mysqli_store_result%mysqli_result mysqli_store_result([int $option], mysqli $link)%直近のクエリから結果セットを転送する mysqli_thread_safe%bool mysqli_thread_safe()%スレッドセーフであるかどうかを返す mysqli_use_result%mysqli_result mysqli_use_result(mysqli $link)%結果セットの取得を開始する mysqli_warning%object mysqli_warning()%コンストラクタ @@ -1932,10 +1942,8 @@ numfmt_set_pattern%bool numfmt_set_pattern(string $pattern, NumberFormatter $fmt numfmt_set_symbol%bool numfmt_set_symbol(int $attr, string $value, NumberFormatter $fmt)%記号の値を設定する numfmt_set_text_attribute%bool numfmt_set_text_attribute(int $attr, string $value, NumberFormatter $fmt)%テキスト属性を設定する ob_clean%void ob_clean()%出力バッファをクリア(消去)する -ob_deflatehandler%string ob_deflatehandler(string $data, int $mode)%圧縮出力ハンドラ ob_end_clean%bool ob_end_clean()%出力用バッファをクリア(消去)し、出力のバッファリングをオフにする ob_end_flush%bool ob_end_flush()%出力用バッファをフラッシュ(送信)し、出力のバッファリングをオフにする -ob_etaghandler%string ob_etaghandler(string $data, int $mode)%ETag 出力ハンドラ ob_flush%void ob_flush()%出力バッファをフラッシュ(送信)する ob_get_clean%string ob_get_clean()%現在のバッファの内容を取得し、出力バッファを削除する ob_get_contents%string ob_get_contents()%出力用バッファの内容を返す @@ -1946,7 +1954,6 @@ ob_get_status%array ob_get_status([bool $full_status = FALSE])%出力バッフ ob_gzhandler%string ob_gzhandler(string $buffer, int $mode)%出力バッファを gzip 圧縮するための ob_start コールバック関数 ob_iconv_handler%string ob_iconv_handler(string $contents, int $status)%出力バッファハンドラとして文字エンコーディングを変換する ob_implicit_flush%void ob_implicit_flush([int $flag = true])%自動フラッシュをオンまたはオフにする -ob_inflatehandler%string ob_inflatehandler(string $data, int $mode)%展開出力ハンドラ ob_list_handlers%array ob_list_handlers()%使用中の出力ハンドラの一覧を取得する ob_start%bool ob_start([callable $output_callback], [int $chunk_size], [int $flags])%出力のバッファリングを有効にする ob_tidyhandler%string ob_tidyhandler(string $input, [int $mode])%バッファを修正するための ob_start コールバック関数 @@ -2179,6 +2186,7 @@ pcntl_getpriority%int pcntl_getpriority([int $pid = getmypid()], [int $process_i pcntl_setpriority%bool pcntl_setpriority(int $priority, [int $pid = getmypid()], [int $process_identifier = PRIO_PROCESS])%プロセスの優先度を変更する pcntl_signal%bool pcntl_signal(int $signo, callable|int $handler, [bool $restart_syscalls = true])%シグナルハンドラを設定する pcntl_signal_dispatch%bool pcntl_signal_dispatch()%ペンディングシグナル用のハンドラをコールする +pcntl_signal_get_handler%int|string pcntl_signal_get_handler(int $signo)%Get the current handler for specified signal pcntl_sigprocmask%bool pcntl_sigprocmask(int $how, array $set, [array $oldset])%ブロックされたシグナルを設定あるいは取得する pcntl_sigtimedwait%int pcntl_sigtimedwait(array $set, [array $siginfo], [int $seconds], [int $nanoseconds])%タイムアウトつきでシグナルを待つ pcntl_sigwaitinfo%int pcntl_sigwaitinfo(array $set, [array $siginfo])%シグナルを待つ @@ -2325,7 +2333,7 @@ posix_setegid%bool posix_setegid(int $gid)%現在のプロセスの実効 GID posix_seteuid%bool posix_seteuid(int $uid)%現在のプロセスの実効 UID を設定する posix_setgid%bool posix_setgid(int $gid)%現在のプロセスの GID を設定する posix_setpgid%bool posix_setpgid(int $pid, int $pgid)%ジョブ制御のプロセスグループ ID を設定する -posix_setrlimit%bool posix_setrlimit(int $resource, int $softlimit, int $hardlimit)%Set system resource limits +posix_setrlimit%bool posix_setrlimit(int $resource, int $softlimit, int $hardlimit)%システムリソース制限を設定 posix_setsid%int posix_setsid()%現在のプロセスをセッションリーダーにする posix_setuid%bool posix_setuid(int $uid)%現在のプロセスの UID を設定する posix_strerror%string posix_strerror(int $errno)%指定したエラー番号に対応するシステムのエラーメッセージを取得する @@ -2341,7 +2349,7 @@ preg_match_all%int preg_match_all(string $pattern, string $subject, [array $matc preg_quote%string preg_quote(string $str, [string $delimiter])%正規表現文字をクオートする preg_replace%mixed preg_replace(mixed $pattern, mixed $replacement, mixed $subject, [int $limit = -1], [int $count])%正規表現検索および置換を行う preg_replace_callback%mixed preg_replace_callback(mixed $pattern, callable $callback, mixed $subject, [int $limit = -1], [int $count])%正規表現検索を行い、コールバック関数を使用して置換を行う -preg_replace_callback_array%mixed preg_replace_callback_array(array $patterns_and_callbacks, mixed $subject, [int $limit = -1], [int $count])%Perform a regular expression search and replace using callbacks +preg_replace_callback_array%mixed preg_replace_callback_array(array $patterns_and_callbacks, mixed $subject, [int $limit = -1], [int $count])%正規表現検索を行い、コールバック関数を使用して置換を行う preg_split%array preg_split(string $pattern, string $subject, [int $limit = -1], [int $flags])%正規表現で文字列を分割する prev%mixed prev(array $array)%内部の配列ポインタをひとつ前に戻す print%int print(string $arg)%文字列を出力する @@ -2401,7 +2409,7 @@ readline_read_history%bool readline_read_history([string $filename])%ヒスト readline_redisplay%void readline_redisplay()%画面を再描画する readline_write_history%bool readline_write_history([string $filename])%ヒストリを書きこむ readlink%string readlink(string $path)%シンボリックリンク先を返す -realpath%string realpath(string $path)%絶対パス名を返す +realpath%string realpath(string $path)%正規化された絶対パス名を返す realpath_cache_get%array realpath_cache_get()%realpath キャッシュ・エントリーを取得 realpath_cache_size%int realpath_cache_size()%realpath キャッシュサイズを取得 recode%void recode()%recode_string のエイリアス @@ -2452,9 +2460,11 @@ session_abort%void session_abort()%session 配列の変更を破棄してセッ session_cache_expire%int session_cache_expire([string $new_cache_expire])%現在のキャッシュの有効期限を返す session_cache_limiter%string session_cache_limiter([string $cache_limiter])%現在のキャッシュリミッタを取得または設定する session_commit%void session_commit()%session_write_close のエイリアス +session_create_id%string session_create_id([string $prefix])%Create new session id session_decode%bool session_decode(string $data)%セッションエンコードされた文字列からセッションデータをデコードする session_destroy%bool session_destroy()%セッションに登録されたデータを全て破棄する session_encode%string session_encode()%現在のセッションデータを、セッションエンコードされた文字列に変換する +session_gc%int session_gc()%Perform session data garbage collection session_get_cookie_params%array session_get_cookie_params()%セッションクッキーのパラメータを得る session_id%string session_id([string $id])%現在のセッション ID を取得または設定する session_is_registered%bool session_is_registered(string $name)%変数がセッションに登録されているかどうかを調べる @@ -2546,6 +2556,7 @@ socket_create_listen%resource socket_create_listen(int $port, [int $backlog = 12 socket_create_pair%bool socket_create_pair(int $domain, int $type, int $protocol, array $fd)%区別できないソケットの組を作成し、配列に保存する socket_get_option%mixed socket_get_option(resource $socket, int $level, int $optname)%ソケットのオプションを取得する socket_get_status%void socket_get_status()%stream_get_meta_data のエイリアス +socket_getopt%void socket_getopt()%のエイリアス socket_get_option socket_getpeername%bool socket_getpeername(resource $socket, string $address, [int $port])%指定したソケットのリモート側に問い合わせ、その型に応じてホスト/ポート、あるいは Unix ファイルシステムのパスを返す socket_getsockname%bool socket_getsockname(resource $socket, string $addr, [int $port])%指定したソケットのローカル側に問い合わせ、その型に応じてホスト/ポート、あるいは Unix ファイルシステムのパスを返す socket_import_stream%resource socket_import_stream(resource $stream)%ストリームをインポートする @@ -2564,6 +2575,7 @@ socket_set_blocking%void socket_set_blocking()%stream_set_blocking のエイリ socket_set_nonblock%bool socket_set_nonblock(resource $socket)%ソケットリソースを非ブロックモードに設定する socket_set_option%bool socket_set_option(resource $socket, int $level, int $optname, mixed $optval)%ソケットのオプションを設定する socket_set_timeout%void socket_set_timeout()%stream_set_timeout のエイリアス +socket_setopt%void socket_setopt()%のエイリアス socket_set_option socket_shutdown%bool socket_shutdown(resource $socket, [int $how = 2])%受信、送信、または送受信用のソケットをシャットダウンする socket_strerror%string socket_strerror(int $errno)%ソケットエラーの内容を文字列として返す socket_write%int socket_write(resource $socket, string $buffer, [int $length])%ソケットに書き込む @@ -2762,7 +2774,7 @@ stream_notification_callback%callable stream_notification_callback(int $notifica stream_register_wrapper%void stream_register_wrapper()%stream_wrapper_register のエイリアス stream_resolve_include_path%string stream_resolve_include_path(string $filename)%インクルードパスに対してファイル名を解決する stream_select%int stream_select(array $read, array $write, array $except, int $tv_sec, [int $tv_usec])%select() システムコールと同等の操作を、 ストリームの配列に対して tv_sec と tv_usec で指定されたタイムアウト時間をもって行う -stream_set_blocking%bool stream_set_blocking(resource $stream, int $mode)%ストリームのブロックモードを有効にする / 解除する +stream_set_blocking%bool stream_set_blocking(resource $stream, bool $mode)%ストリームのブロックモードを有効にする / 解除する stream_set_chunk_size%int stream_set_chunk_size(resource $fp, int $chunk_size)%ストリームのチャンクサイズを設定する stream_set_read_buffer%int stream_set_read_buffer(resource $stream, int $buffer)%指定したストリームのファイル読み込みバッファリングを有効にする stream_set_timeout%bool stream_set_timeout(resource $stream, int $seconds, [int $microseconds])%ストリームにタイムアウトを設定する @@ -2887,7 +2899,7 @@ timezone_open%void timezone_open()%DateTimeZone::__construct のエイリアス timezone_transitions_get%void timezone_transitions_get()%DateTimeZone::getTransitions のエイリアス timezone_version_get%string timezone_version_get()%timezonedb のバージョンを取得する tmpfile%resource tmpfile()%テンポラリファイルを作成する -token_get_all%array token_get_all(string $source)%指定したソースを PHP トークンに分割する +token_get_all%array token_get_all(string $source, [int $flags])%指定したソースを PHP トークンに分割する token_name%string token_name(int $token)%指定した PHP トークンのシンボル名を取得する touch%bool touch(string $filename, [int $time = time()], [int $atime])%ファイルの最終アクセス時刻および最終更新日をセットする trader_acos%array trader_acos(array $real)%Vector Trigonometric ACos @@ -3076,19 +3088,19 @@ unregister_tick_function%void unregister_tick_function(string $function_name)% unserialize%mixed unserialize(string $str, [array $options])%保存用表現から PHP の値を生成する unset%void unset(mixed $var, [mixed ...])%指定した変数の割当を解除する untaint%bool untaint(string $string, [string ...])%文字列の汚染を除去する -uopz_backup%void uopz_backup(string $class, string $function)%Backup a function -uopz_compose%void uopz_compose(string $name, array $classes, [array $methods], [array $properties], [int $flags])%Compose a class -uopz_copy%Closure uopz_copy(string $class, string $function)%Copy a function -uopz_delete%void uopz_delete(string $class, string $function)%Delete a function -uopz_extend%void uopz_extend(string $class, string $parent)%Extend a class at runtime -uopz_flags%int uopz_flags(string $class, string $function, int $flags)%Get or set flags on function or class -uopz_function%void uopz_function(string $class, string $function, Closure $handler, [int $modifiers])%Creates a function at runtime -uopz_implement%void uopz_implement(string $class, string $interface)%Implements an interface at runtime -uopz_overload%void uopz_overload(int $opcode, Callable $callable)%Overload a VM opcode -uopz_redefine%void uopz_redefine(string $class, string $constant, mixed $value)%Redefine a constant -uopz_rename%void uopz_rename(string $class, string $function, string $rename)%Rename a function at runtime -uopz_restore%void uopz_restore(string $class, string $function)%Restore a previously backed up function -uopz_undefine%void uopz_undefine(string $class, string $constant)%Undefine a constant +uopz_backup%void uopz_backup(string $class, string $function)%関数をバックアップ +uopz_compose%void uopz_compose(string $name, array $classes, [array $methods], [array $properties], [int $flags])%クラスを構成 +uopz_copy%Closure uopz_copy(string $class, string $function)%関数をコピー +uopz_delete%void uopz_delete(string $class, string $function)%関数を削除 +uopz_extend%void uopz_extend(string $class, string $parent)%実行時にクラスを拡張 +uopz_flags%int uopz_flags(string $class, string $function, int $flags)%関数またはクラスのフラグを取得または設定 +uopz_function%void uopz_function(string $class, string $function, Closure $handler, [int $modifiers])%実行時に関数を作成 +uopz_implement%void uopz_implement(string $class, string $interface)%実行時にインターフェイスを実装 +uopz_overload%void uopz_overload(int $opcode, Callable $callable)%VM のオペコードをオーバーロード +uopz_redefine%void uopz_redefine(string $class, string $constant, mixed $value)%定数を再定義 +uopz_rename%void uopz_rename(string $class, string $function, string $rename)%実行時に関数名を変更 +uopz_restore%void uopz_restore(string $class, string $function)%前にバックアップした関数をリストア +uopz_undefine%void uopz_undefine(string $class, string $constant)%定数を未定義化 urldecode%string urldecode(string $str)%URL エンコードされた文字列をデコードする urlencode%string urlencode(string $str)%文字列を URL エンコードする use_soap_error_handler%bool use_soap_error_handler([bool $handler = true])%SOAP エラーハンドラを使用するかどうかを設定する diff --git a/Support/functions.plist b/Support/functions.plist index df755cb..10666e3 100644 --- a/Support/functions.plist +++ b/Support/functions.plist @@ -1,12 +1,9 @@ ( {display = 'APCIterator'; insert = '(${1:string \\\$cache}, ${2:[mixed \\\$search = null]}, ${3:[int \\\$format = APC_ITER_ALL]}, ${4:[int \\\$chunk_size = 100]}, ${5:[int \\\$list = APC_LIST_ACTIVE]})';}, + {display = 'APCUIterator'; insert = '(${1:[mixed \\\$search = null]}, ${2:[int \\\$format = APCU_ITER_ALL]}, ${3:[int \\\$chunk_size = 100]}, ${4:[int \\\$list = APCU_LIST_ACTIVE]})';}, {display = 'AppendIterator'; insert = '()';}, {display = 'ArrayIterator'; insert = '(${1:[mixed \\\$array = array()]}, ${2:[int \\\$flags]})';}, {display = 'ArrayObject'; insert = '(${1:[mixed \\\$input = []]}, ${2:[int \\\$flags]}, ${3:[string \\\$iterator_class = \"ArrayIterator\"]})';}, - {display = 'BSON\\fromArray'; insert = '(${1:string \\\$array})';}, - {display = 'BSON\\fromJSON'; insert = '(${1:string \\\$json})';}, - {display = 'BSON\\toArray'; insert = '(${1:string \\\$bson})';}, - {display = 'BSON\\toJSON'; insert = '(${1:string \\\$bson})';}, {display = 'BadFunctionCallException'; insert = '(${1:[string \\\$message = ""], [int \\\$code = 0], [Exception \\\$previous = NULL]})';}, {display = 'BadMethodCallException'; insert = '(${1:[string \\\$message = ""], [int \\\$code = 0], [Exception \\\$previous = NULL]})';}, {display = 'CURLFile'; insert = '(${1:string \\\$filename}, ${2:[string \\\$mimetype]}, ${3:[string \\\$postname]})';}, @@ -30,6 +27,14 @@ {display = 'DateTimeZone'; insert = '(${1:string \\\$timezone})';}, {display = 'DirectoryIterator'; insert = '(${1:string \\\$path})';}, {display = 'DomainException'; insert = '(${1:[string \\\$message = ""], [int \\\$code = 0], [Exception \\\$previous = NULL]})';}, + {display = 'Ds\Deque'; insert = '(${1:[mixed \\\$values]})';}, + {display = 'Ds\Map'; insert = '(${1:[mixed \\\$...values]})';}, + {display = 'Ds\Pair'; insert = '(${1:[mixed \\\$key]}, ${2:[mixed \\\$value]})';}, + {display = 'Ds\PriorityQueue'; insert = '()';}, + {display = 'Ds\Queue'; insert = '(${1:[mixed \\\$values]})';}, + {display = 'Ds\Set'; insert = '(${1:[mixed \\\$...values]})';}, + {display = 'Ds\Stack'; insert = '(${1:[mixed \\\$values]})';}, + {display = 'Ds\Vector'; insert = '(${1:[mixed \\\$values]})';}, {display = 'ErrorException'; insert = '(${1:[string \\\$message = ""], [int \\\$code = 0], [Exception \\\$previous = NULL]})';}, {display = 'EvCheck'; insert = '(${1:callable \\\$callback}, ${2:[mixed \\\$data]}, ${3:[int \\\$priority]})';}, {display = 'EvChild'; insert = '(${1:int \\\$pid}, ${2:bool \\\$trace}, ${3:callable \\\$callback}, ${4:[mixed \\\$data]}, ${5:[int \\\$priority]})';}, @@ -60,17 +65,11 @@ {display = 'FANNConnection'; insert = '(${1:int \\\$from_neuron}, ${2:int \\\$to_neuron}, ${3:float \\\$weight})';}, {display = 'FilesystemIterator'; insert = '(${1:string \\\$path}, ${2:[int \\\$flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO | FilesystemIterator::SKIP_DOTS]})';}, {display = 'FilterIterator'; insert = '(${1:Iterator \\\$iterator})';}, - {display = 'Gender\\Gender'; insert = '(${1:[string \\\$dsn]})';}, + {display = 'Gender\Gender'; insert = '(${1:[string \\\$dsn]})';}, {display = 'GlobIterator'; insert = '(${1:string \\\$path}, ${2:[int \\\$flags = FilesystemIterator::KEY_AS_PATHNAME | FilesystemIterator::CURRENT_AS_FILEINFO]})';}, {display = 'Gmagick'; insert = '(${1:[string \\\$filename]})';}, {display = 'GmagickPixel'; insert = '(${1:[string \\\$color]})';}, {display = 'HaruDoc'; insert = '()';}, - {display = 'HttpDeflateStream'; insert = '(${1:[int \\\$flags]})';}, - {display = 'HttpInflateStream'; insert = '(${1:[int \\\$flags]})';}, - {display = 'HttpMessage'; insert = '(${1:[string \\\$message]})';}, - {display = 'HttpQueryString'; insert = '(${1:[bool \\\$global = true]}, ${2:[mixed \\\$add]})';}, - {display = 'HttpRequest'; insert = '(${1:[string \\\$url]}, ${2:[int \\\$request_method = HTTP_METH_GET]}, ${3:[array \\\$options]})';}, - {display = 'HttpRequestPool'; insert = '(${1:[HttpRequest \\\$request]}, ${2:[HttpRequest ...]})';}, {display = 'Imagick'; insert = '(${1:mixed \\\$files})';}, {display = 'ImagickDraw'; insert = '()';}, {display = 'ImagickPixel'; insert = '(${1:[string \\\$color]})';}, @@ -95,21 +94,29 @@ {display = 'MongoCommandCursor'; insert = '(${1:MongoClient \\\$connection}, ${2:string \\\$ns}, ${3:array \\\$command})';}, {display = 'MongoCursor'; insert = '(${1:MongoClient \\\$connection}, ${2:string \\\$ns}, ${3:[array \\\$query = array()]}, ${4:[array \\\$fields = array()]})';}, {display = 'MongoDB'; insert = '(${1:MongoClient \\\$conn}, ${2:string \\\$name})';}, - {display = 'MongoDB\\BSON\\Binary'; insert = '(${1:string \\\$data}, ${2:string \\\$subtype})';}, - {display = 'MongoDB\\BSON\\Javascript'; insert = '(${1:string \\\$javascript}, ${2:[string \\\$scope]})';}, - {display = 'MongoDB\\BSON\\ObjectID'; insert = '(${1:[string \\\$id]})';}, - {display = 'MongoDB\\BSON\\Regex'; insert = '(${1:string \\\$pattern}, ${2:string \\\$flags})';}, - {display = 'MongoDB\\BSON\\Timestamp'; insert = '(${1:string \\\$increment}, ${2:string \\\$timestamp})';}, - {display = 'MongoDB\\BSON\\UTCDatetime'; insert = '(${1:string \\\$milliseconds})';}, - {display = 'MongoDB\\Driver\\BulkWrite'; insert = '(${1:[boolean \\\$ordered = true]})';}, - {display = 'MongoDB\\Driver\\Command'; insert = '(${1:array|object \\\$document})';}, - {display = 'MongoDB\\Driver\\Cursor'; insert = '(${1:Server \\\$server}, ${2:string \\\$responseDocument})';}, - {display = 'MongoDB\\Driver\\CursorId'; insert = '(${1:string \\\$id})';}, - {display = 'MongoDB\\Driver\\Manager'; insert = '(${1:string \\\$uri}, ${2:[array \\\$options]}, ${3:[array \\\$driverOptions]})';}, - {display = 'MongoDB\\Driver\\Query'; insert = '(${1:array|object \\\$filter}, ${2:[array \\\$queryOptions]})';}, - {display = 'MongoDB\\Driver\\ReadPreference'; insert = '(${1:string \\\$readPreference}, ${2:[array \\\$tagSets]})';}, - {display = 'MongoDB\\Driver\\Server'; insert = '(${1:string \\\$host}, ${2:string \\\$port}, ${3:[array \\\$options]}, ${4:[array \\\$driverOptions]})';}, - {display = 'MongoDB\\Driver\\WriteConcern'; insert = '(${1:string \\\$wstring}, ${2:[integer \\\$wtimeout]}, ${3:[boolean \\\$journal]}, ${4:[boolean \\\$fsync]})';}, + {display = 'MongoDB\BSON\Binary'; insert = '(${1:string \\\$data}, ${2:integer \\\$type})';}, + {display = 'MongoDB\BSON\Decimal128'; insert = '(${1:[string \\\$value]})';}, + {display = 'MongoDB\BSON\Javascript'; insert = '(${1:string \\\$code}, ${2:[array|object \\\$scope]})';}, + {display = 'MongoDB\BSON\MaxKey'; insert = '()';}, + {display = 'MongoDB\BSON\MinKey'; insert = '()';}, + {display = 'MongoDB\BSON\ObjectID'; insert = '(${1:[string \\\$id]})';}, + {display = 'MongoDB\BSON\Regex'; insert = '(${1:string \\\$pattern}, ${2:[string \\\$flags = \"\"]})';}, + {display = 'MongoDB\BSON\Timestamp'; insert = '(${1:integer \\\$increment}, ${2:integer \\\$timestamp})';}, + {display = 'MongoDB\BSON\UTCDateTime'; insert = '(${1:[integer|float|string|DateTimeInterface \\\$milliseconds]})';}, + {display = 'MongoDB\BSON\fromJSON'; insert = '(${1:string \\\$json})';}, + {display = 'MongoDB\BSON\fromPHP'; insert = '(${1:array|object \\\$value})';}, + {display = 'MongoDB\BSON\toJSON'; insert = '(${1:string \\\$bson})';}, + {display = 'MongoDB\BSON\toPHP'; insert = '(${1:string \\\$bson}, ${2:[array \\\$typeMap = array()]})';}, + {display = 'MongoDB\Driver\BulkWrite'; insert = '(${1:[array \\\$options]})';}, + {display = 'MongoDB\Driver\Command'; insert = '(${1:array|object \\\$document})';}, + {display = 'MongoDB\Driver\Cursor'; insert = '()';}, + {display = 'MongoDB\Driver\CursorId'; insert = '()';}, + {display = 'MongoDB\Driver\Manager'; insert = '(${1:[string \\\$uri = \"mongodb://127.0.0.1/]}, ${2:[array \\\$uriOptions = []]}, ${3:[array \\\$driverOptions = []]})';}, + {display = 'MongoDB\Driver\Query'; insert = '(${1:array|object \\\$filter}, ${2:[array \\\$queryOptions]})';}, + {display = 'MongoDB\Driver\ReadConcern'; insert = '(${1:[string \\\$level]})';}, + {display = 'MongoDB\Driver\ReadPreference'; insert = '(${1:int \\\$mode}, ${2:[array \\\$tagSets]}, ${3:[array \\\$options = []]})';}, + {display = 'MongoDB\Driver\Server'; insert = '()';}, + {display = 'MongoDB\Driver\WriteConcern'; insert = '(${1:string|int \\\$w}, ${2:[integer \\\$wtimeout]}, ${3:[boolean \\\$journal]})';}, {display = 'MongoDate'; insert = '(${1:[int \\\$sec = time()]}, ${2:[int \\\$usec]})';}, {display = 'MongoDeleteBatch'; insert = '(${1:MongoCollection \\\$collection}, ${2:[array \\\$write_options]})';}, {display = 'MongoGridFS'; insert = '(${1:MongoDB \\\$db}, ${2:[string \\\$prefix = \"fs\"]}, ${3:[mixed \\\$chunks = \"fs\"]})';}, @@ -135,7 +142,7 @@ {display = 'Phar'; insert = '(${1:string \\\$fname}, ${2:[int \\\$flags]}, ${3:[string \\\$alias]})';}, {display = 'PharData'; insert = '(${1:string \\\$fname}, ${2:[int \\\$flags]}, ${3:[string \\\$alias]}, ${4:[int \\\$format]})';}, {display = 'PharFileInfo'; insert = '(${1:string \\\$entry})';}, - {display = 'Pool'; insert = '(${1:integer \\\$size}, ${2:string \\\$class}, ${3:[array \\\$ctor]})';}, + {display = 'Pool'; insert = '(${1:integer \\\$size}, ${2:[string \\\$class]}, ${3:[array \\\$ctor]})';}, {display = 'QuickHashIntHash'; insert = '(${1:int \\\$size}, ${2:[int \\\$options]})';}, {display = 'QuickHashIntSet'; insert = '(${1:int \\\$size}, ${2:[int \\\$options]})';}, {display = 'QuickHashIntStringHash'; insert = '(${1:int \\\$size}, ${2:[int \\\$options]})';}, @@ -167,7 +174,7 @@ {display = 'SDO_DAS_Relational'; insert = '(${1:array \\\$database_metadata}, ${2:[string \\\$application_root_type]}, ${3:[array \\\$SDO_containment_references_metadata]})';}, {display = 'SDO_Model_ReflectionDataObject'; insert = '(${1:SDO_DataObject \\\$data_object})';}, {display = 'SNMP'; insert = '(${1:int \\\$version}, ${2:string \\\$hostname}, ${3:string \\\$community}, ${4:[int \\\$timeout = 1000000]}, ${5:[int \\\$retries = 5]})';}, - {display = 'SQLite3'; insert = '(${1:string \\\$filename}, ${2:[int \\\$flags]}, ${3:[string \\\$encryption_key]})';}, + {display = 'SQLite3'; insert = '(${1:string \\\$filename}, ${2:[int \\\$flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE]}, ${3:[string \\\$encryption_key = null]})';}, {display = 'SVM'; insert = '()';}, {display = 'SVMModel'; insert = '(${1:[string \\\$filename]})';}, {display = 'SimpleXMLElement'; insert = '(${1:string \\\$data}, ${2:[int \\\$options]}, ${3:[bool \\\$data_is_url = false]}, ${4:[string \\\$ns = \"\"]}, ${5:[bool \\\$is_prefix = false]})';}, @@ -176,7 +183,7 @@ {display = 'SoapHeader'; insert = '(${1:string \\\$namespace}, ${2:string \\\$name}, ${3:[mixed \\\$data]}, ${4:[bool \\\$mustunderstand]}, ${5:[string \\\$actor]})';}, {display = 'SoapParam'; insert = '(${1:mixed \\\$data}, ${2:string \\\$name})';}, {display = 'SoapServer'; insert = '(${1:mixed \\\$wsdl}, ${2:[array \\\$options]})';}, - {display = 'SoapVar'; insert = '(${1:string \\\$data}, ${2:string \\\$encoding}, ${3:[string \\\$type_name]}, ${4:[string \\\$type_namespace]}, ${5:[string \\\$node_name]}, ${6:[string \\\$node_namespace]})';}, + {display = 'SoapVar'; insert = '(${1:mixed \\\$data}, ${2:string \\\$encoding}, ${3:[string \\\$type_name]}, ${4:[string \\\$type_namespace]}, ${5:[string \\\$node_name]}, ${6:[string \\\$node_namespace]})';}, {display = 'SphinxClient'; insert = '()';}, {display = 'SplDoublyLinkedList'; insert = '()';}, {display = 'SplFileInfo'; insert = '(${1:string \\\$file_name})';}, @@ -190,15 +197,44 @@ {display = 'SplType'; insert = '(${1:[mixed \\\$initial_value]}, ${2:[bool \\\$strict]})';}, {display = 'Spoofchecker'; insert = '()';}, {display = 'Swish'; insert = '(${1:string \\\$index_names})';}, - {display = 'SyncEvent'; insert = '(${1:[string \\\$name]}, ${2:[bool \\\$manual]})';}, + {display = 'SyncEvent'; insert = '(${1:[string \\\$name]}, ${2:[bool \\\$manual = false]}, ${3:[bool \\\$prefire = false]})';}, {display = 'SyncMutex'; insert = '(${1:[string \\\$name]})';}, - {display = 'SyncReaderWriter'; insert = '(${1:[string \\\$name]}, ${2:[bool \\\$autounlock]})';}, - {display = 'SyncSemaphore'; insert = '(${1:[string \\\$name]}, ${2:[integer \\\$initialval]}, ${3:[bool \\\$autounlock]})';}, + {display = 'SyncReaderWriter'; insert = '(${1:[string \\\$name]}, ${2:[bool \\\$autounlock = true]})';}, + {display = 'SyncSemaphore'; insert = '(${1:[string \\\$name]}, ${2:[integer \\\$initialval = 1]}, ${3:[bool \\\$autounlock = true]})';}, + {display = 'SyncSharedMemory'; insert = '(${1:string \\\$name}, ${2:integer \\\$size})';}, {display = 'TokyoTyrant'; insert = '(${1:[string \\\$host]}, ${2:[int \\\$port = TokyoTyrant::RDBDEF_PORT]}, ${3:[array \\\$options]})';}, {display = 'TokyoTyrantIterator'; insert = '(${1:mixed \\\$object})';}, {display = 'TokyoTyrantQuery'; insert = '(${1:TokyoTyrantTable \\\$table})';}, {display = 'Transliterator'; insert = '()';}, {display = 'UConverter'; insert = '(${1:[string \\\$destination_encoding]}, ${2:[string \\\$source_encoding]})';}, + {display = 'UI\Controls\Box'; insert = '(${1:[integer \\\$orientation = UI\\\\Controls\\\\Box::Horizontal]})';}, + {display = 'UI\Controls\Button'; insert = '(${1:string \\\$text})';}, + {display = 'UI\Controls\Check'; insert = '(${1:string \\\$text})';}, + {display = 'UI\Controls\Entry'; insert = '(${1:[integer \\\$type = UI\\\\Controls\\\\Entry::Normal]})';}, + {display = 'UI\Controls\Group'; insert = '(${1:string \\\$title})';}, + {display = 'UI\Controls\Label'; insert = '(${1:string \\\$text})';}, + {display = 'UI\Controls\MultilineEntry'; insert = '(${1:[integer \\\$type]})';}, + {display = 'UI\Controls\Picker'; insert = '(${1:[integer \\\$type = UI\\\\Controls\\\\Picker::Date]})';}, + {display = 'UI\Controls\Separator'; insert = '(${1:[integer \\\$type = UI\\\\Controls\\\\Separator::Horizontal]})';}, + {display = 'UI\Controls\Slider'; insert = '(${1:integer \\\$min}, ${2:integer \\\$max})';}, + {display = 'UI\Controls\Spin'; insert = '(${1:integer \\\$min}, ${2:integer \\\$max})';}, + {display = 'UI\Draw\Brush'; insert = '(${1:integer \\\$color})';}, + {display = 'UI\Draw\Brush\LinearGradient'; insert = '(${1:UI\\\\Point \\\$start}, ${2:UI\\\\Point \\\$end})';}, + {display = 'UI\Draw\Brush\RadialGradient'; insert = '(${1:UI\\\\Point \\\$start}, ${2:UI\\\\Point \\\$outer}, ${3:float \\\$radius})';}, + {display = 'UI\Draw\Color'; insert = '(${1:[integer \\\$color]})';}, + {display = 'UI\Draw\Path'; insert = '(${1:[integer \\\$mode = UI\\\\Draw\\\\Path::Winding]})';}, + {display = 'UI\Draw\Stroke'; insert = '(${1:[integer \\\$cap = UI\\\\Draw\\\\Line\\\\Cap::Flat]}, ${2:[integer \\\$join = UI\\\\Draw\\\\Line\\\\Join::Miter]}, ${3:[float \\\$thickness = 1]}, ${4:[float \\\$miterLimit = 10]})';}, + {display = 'UI\Draw\Text\Font'; insert = '(${1:UI\\\\Draw\\\\Text\\\\Font\\\\Descriptor \\\$descriptor})';}, + {display = 'UI\Draw\Text\Font\Descriptor'; insert = '(${1:string \\\$family}, ${2:float \\\$size}, ${3:[integer \\\$weight = UI\\\\Draw\\\\Text\\\\Font\\\\Weight::Normal]}, ${4:[integer \\\$italic = UI\\\\Draw\\\\Text\\\\Font\\\\Italic::Normal]}, ${5:[integer \\\$stretch = UI\\\\Draw\\\\Text\\\\Font\\\\Stretch::Normal]})';}, + {display = 'UI\Draw\Text\Font\fontFamilies'; insert = '()';}, + {display = 'UI\Draw\Text\Layout'; insert = '(${1:string \\\$text}, ${2:UI\\\\Draw\\\\Text\\\\Font \\\$font}, ${3:float \\\$width})';}, + {display = 'UI\Executor'; insert = '(${1:integer \\\$microseconds}, ${2:integer \\\$seconds})';}, + {display = 'UI\Menu'; insert = '(${1:string \\\$name})';}, + {display = 'UI\Point'; insert = '(${1:float \\\$x}, ${2:float \\\$y})';}, + {display = 'UI\Size'; insert = '(${1:float \\\$width}, ${2:float \\\$height})';}, + {display = 'UI\Window'; insert = '(${1:string \\\$title}, ${2:Size \\\$size}, ${3:[boolean \\\$menu = false]})';}, + {display = 'UI\quit'; insert = '()';}, + {display = 'UI\run'; insert = '(${1:[integer \\\$flags]})';}, {display = 'UnderflowException'; insert = '(${1:[string \\\$message = ""], [int \\\$code = 0], [Exception \\\$previous = NULL]})';}, {display = 'UnexpectedValueException'; insert = '(${1:[string \\\$message = ""], [int \\\$code = 0], [Exception \\\$previous = NULL]})';}, {display = 'V8Js'; insert = '(${1:[string \\\$object_name = \"PHP\"]}, ${2:[array \\\$variables = array()]}, ${3:[array \\\$extensions = array()]}, ${4:[bool \\\$report_uncaught_exceptions]})';}, @@ -207,7 +243,7 @@ {display = 'VarnishStat'; insert = '(${1:[array \\\$args]})';}, {display = 'WeakMap'; insert = '()';}, {display = 'Weakref'; insert = '(${1:object \\\$object})';}, - {display = 'XMLDiff\\Base'; insert = '(${1:string \\\$nsname})';}, + {display = 'XMLDiff\Base'; insert = '(${1:string \\\$nsname})';}, {display = 'XSLTProcessor'; insert = '()';}, {display = 'Yaf_Application'; insert = '(${1:mixed \\\$config}, ${2:[string \\\$envrion]})';}, {display = 'Yaf_Config_Ini'; insert = '(${1:string \\\$config_file}, ${2:[string \\\$section]})';}, @@ -217,8 +253,8 @@ {display = 'Yaf_Exception'; insert = '()';}, {display = 'Yaf_Loader'; insert = '()';}, {display = 'Yaf_Registry'; insert = '()';}, - {display = 'Yaf_Request_Http'; insert = '()';}, - {display = 'Yaf_Request_Simple'; insert = '()';}, + {display = 'Yaf_Request_Http'; insert = '(${1:[string \\\$request_uri]}, ${2:[string \\\$base_uri]})';}, + {display = 'Yaf_Request_Simple'; insert = '(${1:[string \\\$method]}, ${2:[string \\\$module]}, ${3:[string \\\$controller]}, ${4:[string \\\$action]}, ${5:[array \\\$params]})';}, {display = 'Yaf_Response_Abstract'; insert = '()';}, {display = 'Yaf_Route_Map'; insert = '(${1:[string \\\$controller_prefer = false]}, ${2:[string \\\$delimiter = \"\"]})';}, {display = 'Yaf_Route_Regex'; insert = '(${1:string \\\$match}, ${2:array \\\$route}, ${3:[array \\\$map]}, ${4:[array \\\$verify]}, ${5:[string \\\$reverse]})';}, @@ -234,6 +270,7 @@ {display = 'ZMQContext'; insert = '(${1:[integer \\\$io_threads = 1]}, ${2:[boolean \\\$is_persistent = true]})';}, {display = 'ZMQDevice'; insert = '(${1:ZMQSocket \\\$frontend}, ${2:ZMQSocket \\\$backend}, ${3:[ZMQSocket \\\$listener]})';}, {display = 'ZMQSocket'; insert = '(${1:ZMQContext \\\$context}, ${2:int \\\$type}, ${3:[string \\\$persistent_id = null]}, ${4:[callback \\\$on_new_socket = null]})';}, + {display = 'Zookeeper'; insert = '(${1:[string \\\$host = \'\']}, ${2:[callable \\\$watcher_cb = null]}, ${3:[int \\\$recv_timeout = 10000]})';}, {display = '__autoload'; insert = '(${1:string \\\$class})';}, {display = '__halt_compiler'; insert = '()';}, {display = 'abs'; insert = '(${1:mixed \\\$number})';}, @@ -270,10 +307,22 @@ {display = 'apc_load_constants'; insert = '(${1:string \\\$key}, ${2:[bool \\\$case_sensitive = true]})';}, {display = 'apc_sma_info'; insert = '(${1:[bool \\\$limited = false]})';}, {display = 'apc_store'; insert = '(${1:string \\\$key}, ${2:mixed \\\$var}, ${3:[int \\\$ttl]}, ${4:array \\\$values}, ${5:[mixed \\\$unused = NULL]})';}, + {display = 'apcu_add'; insert = '(${1:string \\\$key}, ${2:mixed \\\$var}, ${3:[int \\\$ttl]}, ${4:array \\\$values}, ${5:[mixed \\\$unused = NULL]})';}, + {display = 'apcu_cache_info'; insert = '(${1:[bool \\\$limited = false]})';}, + {display = 'apcu_cas'; insert = '(${1:string \\\$key}, ${2:int \\\$old}, ${3:int \\\$new})';}, + {display = 'apcu_clear_cache'; insert = '()';}, + {display = 'apcu_dec'; insert = '(${1:string \\\$key}, ${2:[int \\\$step = 1]}, ${3:[bool \\\$success]})';}, + {display = 'apcu_delete'; insert = '(${1:mixed \\\$key})';}, + {display = 'apcu_entry'; insert = '(${1:string \\\$key}, ${2:callable \\\$generator}, ${3:[int \\\$ttl]})';}, + {display = 'apcu_exists'; insert = '(${1:mixed \\\$keys})';}, + {display = 'apcu_fetch'; insert = '(${1:mixed \\\$key}, ${2:[bool \\\$success]})';}, + {display = 'apcu_inc'; insert = '(${1:string \\\$key}, ${2:[int \\\$step = 1]}, ${3:[bool \\\$success]})';}, + {display = 'apcu_sma_info'; insert = '(${1:[bool \\\$limited = false]})';}, + {display = 'apcu_store'; insert = '(${1:string \\\$key}, ${2:mixed \\\$var}, ${3:[int \\\$ttl]}, ${4:array \\\$values}, ${5:[mixed \\\$unused = NULL]})';}, {display = 'array'; insert = '(${1:[mixed ...]})';}, {display = 'array_change_key_case'; insert = '(${1:array \\\$array}, ${2:[int \\\$case = CASE_LOWER]})';}, {display = 'array_chunk'; insert = '(${1:array \\\$array}, ${2:int \\\$size}, ${3:[bool \\\$preserve_keys = false]})';}, - {display = 'array_column'; insert = '(${1:array \\\$array}, ${2:mixed \\\$column_key}, ${3:[mixed \\\$index_key = null]})';}, + {display = 'array_column'; insert = '(${1:array \\\$input}, ${2:mixed \\\$column_key}, ${3:[mixed \\\$index_key = null]})';}, {display = 'array_combine'; insert = '(${1:array \\\$keys}, ${2:array \\\$values})';}, {display = 'array_count_values'; insert = '(${1:array \\\$array})';}, {display = 'array_diff'; insert = '(${1:array \\\$array1}, ${2:array \\\$array2}, ${3:[array ...]})';}, @@ -291,7 +340,7 @@ {display = 'array_intersect_uassoc'; insert = '(${1:array \\\$array1}, ${2:array \\\$array2}, ${3:[array ...]}, ${4:callable \\\$key_compare_func})';}, {display = 'array_intersect_ukey'; insert = '(${1:array \\\$array1}, ${2:array \\\$array2}, ${3:[array ...]}, ${4:callable \\\$key_compare_func})';}, {display = 'array_key_exists'; insert = '(${1:mixed \\\$key}, ${2:array \\\$array})';}, - {display = 'array_keys'; insert = '(${1:array \\\$array}, ${2:[mixed \\\$search_value]}, ${3:[bool \\\$strict = false]})';}, + {display = 'array_keys'; insert = '(${1:array \\\$array}, ${2:[mixed \\\$search_value = null]}, ${3:[bool \\\$strict = false]})';}, {display = 'array_map'; insert = '(${1:callable \\\$callback}, ${2:array \\\$array1}, ${3:[array ...]})';}, {display = 'array_merge'; insert = '(${1:array \\\$array1}, ${2:[array ...]})';}, {display = 'array_merge_recursive'; insert = '(${1:array \\\$array1}, ${2:[array ...]})';}, @@ -308,7 +357,7 @@ {display = 'array_search'; insert = '(${1:mixed \\\$needle}, ${2:array \\\$haystack}, ${3:[bool \\\$strict = false]})';}, {display = 'array_shift'; insert = '(${1:array \\\$array})';}, {display = 'array_slice'; insert = '(${1:array \\\$array}, ${2:int \\\$offset}, ${3:[int \\\$length]}, ${4:[bool \\\$preserve_keys = false]})';}, - {display = 'array_splice'; insert = '(${1:array \\\$input}, ${2:int \\\$offset}, ${3:[int \\\$length]}, ${4:[mixed \\\$replacement = array()]})';}, + {display = 'array_splice'; insert = '(${1:array \\\$input}, ${2:int \\\$offset}, ${3:[int \\\$length = count(\\\$input)]}, ${4:[mixed \\\$replacement = array()]})';}, {display = 'array_sum'; insert = '(${1:array \\\$array})';}, {display = 'array_udiff'; insert = '(${1:array \\\$array1}, ${2:array \\\$array2}, ${3:[array ...]}, ${4:callable \\\$value_compare_func})';}, {display = 'array_udiff_assoc'; insert = '(${1:array \\\$array1}, ${2:array \\\$array2}, ${3:[array ...]}, ${4:callable \\\$value_compare_func})';}, @@ -335,15 +384,15 @@ {display = 'base_convert'; insert = '(${1:string \\\$number}, ${2:int \\\$frombase}, ${3:int \\\$tobase})';}, {display = 'basename'; insert = '(${1:string \\\$path}, ${2:[string \\\$suffix]})';}, {display = 'bcadd'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale]})';}, - {display = 'bccomp'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale = int]})';}, - {display = 'bcdiv'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale = int]})';}, + {display = 'bccomp'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale]})';}, + {display = 'bcdiv'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale]})';}, {display = 'bcmod'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$modulus})';}, - {display = 'bcmul'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale = int]})';}, + {display = 'bcmul'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale]})';}, {display = 'bcpow'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale]})';}, - {display = 'bcpowmod'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:string \\\$modulus}, ${4:[int \\\$scale = int]})';}, + {display = 'bcpowmod'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:string \\\$modulus}, ${4:[int \\\$scale]})';}, {display = 'bcscale'; insert = '(${1:int \\\$scale})';}, {display = 'bcsqrt'; insert = '(${1:string \\\$operand}, ${2:[int \\\$scale]})';}, - {display = 'bcsub'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale = int]})';}, + {display = 'bcsub'; insert = '(${1:string \\\$left_operand}, ${2:string \\\$right_operand}, ${3:[int \\\$scale]})';}, {display = 'bin2hex'; insert = '(${1:string \\\$str})';}, {display = 'bind_textdomain_codeset'; insert = '(${1:string \\\$domain}, ${2:string \\\$codeset})';}, {display = 'bindec'; insert = '(${1:string \\\$binary_string})';}, @@ -549,6 +598,8 @@ {display = 'define'; insert = '(${1:string \\\$name}, ${2:mixed \\\$value}, ${3:[bool \\\$case_insensitive = false]})';}, {display = 'define_syslog_variables'; insert = '()';}, {display = 'defined'; insert = '(${1:string \\\$name})';}, + {display = 'deflate_add'; insert = '(${1:resource \\\$context}, ${2:string \\\$data}, ${3:[int \\\$flush_mode = ZLIB_SYNC_FLUSH]})';}, + {display = 'deflate_init'; insert = '(${1:int \\\$encoding}, ${2:[array \\\$options = array()]})';}, {display = 'deg2rad'; insert = '(${1:float \\\$number})';}, {display = 'delete'; insert = '()';}, {display = 'dgettext'; insert = '(${1:string \\\$domain}, ${2:string \\\$message})';}, @@ -669,7 +720,7 @@ {display = 'exif_thumbnail'; insert = '(${1:string \\\$filename}, ${2:[int \\\$width]}, ${3:[int \\\$height]}, ${4:[int \\\$imagetype]})';}, {display = 'exit'; insert = '(${1:int \\\$status})';}, {display = 'exp'; insert = '(${1:float \\\$arg})';}, - {display = 'explode'; insert = '(${1:string \\\$delimiter}, ${2:string \\\$string}, ${3:[int \\\$limit]})';}, + {display = 'explode'; insert = '(${1:string \\\$delimiter}, ${2:string \\\$string}, ${3:[int \\\$limit = PHP_INT_MAX]})';}, {display = 'expm1'; insert = '(${1:float \\\$arg})';}, {display = 'extension_loaded'; insert = '(${1:string \\\$name})';}, {display = 'extract'; insert = '(${1:array \\\$array}, ${2:[int \\\$flags = EXTR_OVERWRITE]}, ${3:[string \\\$prefix]})';}, @@ -825,7 +876,7 @@ {display = 'fgetss'; insert = '(${1:resource \\\$handle}, ${2:[int \\\$length]}, ${3:[string \\\$allowable_tags]})';}, {display = 'file'; insert = '(${1:string \\\$filename}, ${2:[int \\\$flags]}, ${3:[resource \\\$context]})';}, {display = 'file_exists'; insert = '(${1:string \\\$filename})';}, - {display = 'file_get_contents'; insert = '(${1:string \\\$filename}, ${2:[bool \\\$use_include_path = false]}, ${3:[resource \\\$context]}, ${4:[int \\\$offset = -1]}, ${5:[int \\\$maxlen]})';}, + {display = 'file_get_contents'; insert = '(${1:string \\\$filename}, ${2:[bool \\\$use_include_path = false]}, ${3:[resource \\\$context]}, ${4:[int \\\$offset]}, ${5:[int \\\$maxlen]})';}, {display = 'file_put_contents'; insert = '(${1:string \\\$filename}, ${2:mixed \\\$data}, ${3:[int \\\$flags]}, ${4:[resource \\\$context]})';}, {display = 'fileatime'; insert = '(${1:string \\\$filename})';}, {display = 'filectime'; insert = '(${1:string \\\$filename})';}, @@ -927,7 +978,7 @@ {display = 'get_declared_interfaces'; insert = '()';}, {display = 'get_declared_traits'; insert = '()';}, {display = 'get_defined_constants'; insert = '(${1:[bool \\\$categorize = false]})';}, - {display = 'get_defined_functions'; insert = '()';}, + {display = 'get_defined_functions'; insert = '(${1:[bool \\\$exclude_disabled]})';}, {display = 'get_defined_vars'; insert = '()';}, {display = 'get_extension_funcs'; insert = '(${1:string \\\$module_name})';}, {display = 'get_headers'; insert = '(${1:string \\\$url}, ${2:[int \\\$format]})';}, @@ -959,7 +1010,7 @@ {display = 'getmyinode'; insert = '()';}, {display = 'getmypid'; insert = '()';}, {display = 'getmyuid'; insert = '()';}, - {display = 'getopt'; insert = '(${1:string \\\$options}, ${2:[array \\\$longopts]})';}, + {display = 'getopt'; insert = '(${1:string \\\$options}, ${2:[array \\\$longopts]}, ${3:[int \\\$optind]})';}, {display = 'getprotobyname'; insert = '(${1:string \\\$name})';}, {display = 'getprotobynumber'; insert = '(${1:int \\\$number})';}, {display = 'getrandmax'; insert = '()';}, @@ -1079,56 +1130,8 @@ {display = 'htmlentities'; insert = '(${1:string \\\$string}, ${2:[int \\\$flags = ENT_COMPAT | ENT_HTML401]}, ${3:[string \\\$encoding = ini_get(\"default_charset\")]}, ${4:[bool \\\$double_encode = true]})';}, {display = 'htmlspecialchars'; insert = '(${1:string \\\$string}, ${2:[int \\\$flags = ENT_COMPAT | ENT_HTML401]}, ${3:[string \\\$encoding = ini_get(\"default_charset\")]}, ${4:[bool \\\$double_encode = true]})';}, {display = 'htmlspecialchars_decode'; insert = '(${1:string \\\$string}, ${2:[int \\\$flags = ENT_COMPAT | ENT_HTML401]})';}, - {display = 'http_build_cookie'; insert = '(${1:array \\\$cookie})';}, {display = 'http_build_query'; insert = '(${1:mixed \\\$query_data}, ${2:[string \\\$numeric_prefix]}, ${3:[string \\\$arg_separator]}, ${4:[int \\\$enc_type]})';}, - {display = 'http_build_str'; insert = '(${1:array \\\$query}, ${2:[string \\\$prefix]}, ${3:[string \\\$arg_separator = ini_get(\"arg_separator.output\")]})';}, - {display = 'http_build_url'; insert = '(${1:[mixed \\\$url]}, ${2:[mixed \\\$parts]}, ${3:[int \\\$flags = HTTP_URL_REPLACE]}, ${4:[array \\\$new_url]})';}, - {display = 'http_cache_etag'; insert = '(${1:[string \\\$etag]})';}, - {display = 'http_cache_last_modified'; insert = '(${1:[int \\\$timestamp_or_expires]})';}, - {display = 'http_chunked_decode'; insert = '(${1:string \\\$encoded})';}, - {display = 'http_date'; insert = '(${1:[int \\\$timestamp]})';}, - {display = 'http_deflate'; insert = '(${1:string \\\$data}, ${2:[int \\\$flags]})';}, - {display = 'http_get'; insert = '(${1:string \\\$url}, ${2:[array \\\$options]}, ${3:[array \\\$info]})';}, - {display = 'http_get_request_body'; insert = '()';}, - {display = 'http_get_request_body_stream'; insert = '()';}, - {display = 'http_get_request_headers'; insert = '()';}, - {display = 'http_head'; insert = '(${1:string \\\$url}, ${2:[array \\\$options]}, ${3:[array \\\$info]})';}, - {display = 'http_inflate'; insert = '(${1:string \\\$data})';}, - {display = 'http_match_etag'; insert = '(${1:string \\\$etag}, ${2:[bool \\\$for_range = false]})';}, - {display = 'http_match_modified'; insert = '(${1:[int \\\$timestamp = -1]}, ${2:[bool \\\$for_range = false]})';}, - {display = 'http_match_request_header'; insert = '(${1:string \\\$header}, ${2:string \\\$value}, ${3:[bool \\\$match_case = false]})';}, - {display = 'http_negotiate_charset'; insert = '(${1:array \\\$supported}, ${2:[array \\\$result]})';}, - {display = 'http_negotiate_content_type'; insert = '(${1:array \\\$supported}, ${2:[array \\\$result]})';}, - {display = 'http_negotiate_language'; insert = '(${1:array \\\$supported}, ${2:[array \\\$result]})';}, - {display = 'http_parse_cookie'; insert = '(${1:string \\\$cookie}, ${2:[int \\\$flags]}, ${3:[array \\\$allowed_extras]})';}, - {display = 'http_parse_headers'; insert = '(${1:string \\\$header})';}, - {display = 'http_parse_message'; insert = '(${1:string \\\$message})';}, - {display = 'http_parse_params'; insert = '(${1:string \\\$param}, ${2:[int \\\$flags = HTTP_PARAMS_DEFAULT]})';}, - {display = 'http_persistent_handles_clean'; insert = '(${1:[string \\\$ident]})';}, - {display = 'http_persistent_handles_count'; insert = '()';}, - {display = 'http_persistent_handles_ident'; insert = '(${1:[string \\\$ident]})';}, - {display = 'http_post_data'; insert = '(${1:string \\\$url}, ${2:string \\\$data}, ${3:[array \\\$options]}, ${4:[array \\\$info]})';}, - {display = 'http_post_fields'; insert = '(${1:string \\\$url}, ${2:array \\\$data}, ${3:[array \\\$files]}, ${4:[array \\\$options]}, ${5:[array \\\$info]})';}, - {display = 'http_put_data'; insert = '(${1:string \\\$url}, ${2:string \\\$data}, ${3:[array \\\$options]}, ${4:[array \\\$info]})';}, - {display = 'http_put_file'; insert = '(${1:string \\\$url}, ${2:string \\\$file}, ${3:[array \\\$options]}, ${4:[array \\\$info]})';}, - {display = 'http_put_stream'; insert = '(${1:string \\\$url}, ${2:resource \\\$stream}, ${3:[array \\\$options]}, ${4:[array \\\$info]})';}, - {display = 'http_redirect'; insert = '(${1:[string \\\$url]}, ${2:[array \\\$params]}, ${3:[bool \\\$session = false]}, ${4:[int \\\$status]})';}, - {display = 'http_request'; insert = '(${1:int \\\$method}, ${2:string \\\$url}, ${3:[string \\\$body]}, ${4:[array \\\$options]}, ${5:[array \\\$info]})';}, - {display = 'http_request_body_encode'; insert = '(${1:array \\\$fields}, ${2:array \\\$files})';}, - {display = 'http_request_method_exists'; insert = '(${1:mixed \\\$method})';}, - {display = 'http_request_method_name'; insert = '(${1:int \\\$method})';}, - {display = 'http_request_method_register'; insert = '(${1:string \\\$method})';}, - {display = 'http_request_method_unregister'; insert = '(${1:mixed \\\$method})';}, {display = 'http_response_code'; insert = '(${1:[int \\\$response_code]})';}, - {display = 'http_send_content_disposition'; insert = '(${1:string \\\$filename}, ${2:[bool \\\$inline = false]})';}, - {display = 'http_send_content_type'; insert = '(${1:[string \\\$content_type = \"application/x-octetstream\"]})';}, - {display = 'http_send_data'; insert = '(${1:string \\\$data})';}, - {display = 'http_send_file'; insert = '(${1:string \\\$file})';}, - {display = 'http_send_last_modified'; insert = '(${1:[int \\\$timestamp = time()]})';}, - {display = 'http_send_status'; insert = '(${1:int \\\$status})';}, - {display = 'http_send_stream'; insert = '(${1:resource \\\$stream})';}, - {display = 'http_support'; insert = '(${1:[int \\\$feature]})';}, - {display = 'http_throttle'; insert = '(${1:float \\\$sec}, ${2:[int \\\$bytes = 40960]})';}, {display = 'hypot'; insert = '(${1:float \\\$x}, ${2:float \\\$y})';}, {display = 'ibase_add_user'; insert = '(${1:resource \\\$service_handle}, ${2:string \\\$user_name}, ${3:string \\\$password}, ${4:[string \\\$first_name]}, ${5:[string \\\$middle_name]}, ${6:[string \\\$last_name]})';}, {display = 'ibase_affected_rows'; insert = '(${1:[resource \\\$link_identifier]})';}, @@ -1190,9 +1193,8 @@ {display = 'iconv_substr'; insert = '(${1:string \\\$str}, ${2:int \\\$offset}, ${3:[int \\\$length = iconv_strlen(\\\$str, \\\$charset)]}, ${4:[string \\\$charset = ini_get(\"iconv.internal_encoding\")]})';}, {display = 'idate'; insert = '(${1:string \\\$format}, ${2:[int \\\$timestamp = time()]})';}, {display = 'idn_to_ascii'; insert = '(${1:string \\\$domain}, ${2:[int \\\$options]}, ${3:[int \\\$variant = INTL_IDNA_VARIANT_2003]}, ${4:[array \\\$idna_info]})';}, - {display = 'idn_to_unicode'; insert = '()';}, {display = 'idn_to_utf8'; insert = '(${1:string \\\$domain}, ${2:[int \\\$options]}, ${3:[int \\\$variant = INTL_IDNA_VARIANT_2003]}, ${4:[array \\\$idna_info]})';}, - {display = 'ignore_user_abort'; insert = '(${1:[string \\\$value]})';}, + {display = 'ignore_user_abort'; insert = '(${1:[bool \\\$value]})';}, {display = 'iis_add_server'; insert = '(${1:string \\\$path}, ${2:string \\\$comment}, ${3:string \\\$server_ip}, ${4:int \\\$port}, ${5:string \\\$host_name}, ${6:int \\\$rights}, ${7:int \\\$start_server})';}, {display = 'iis_get_dir_security'; insert = '(${1:int \\\$server_instance}, ${2:string \\\$virtual_path})';}, {display = 'iis_get_script_map'; insert = '(${1:int \\\$server_instance}, ${2:string \\\$virtual_path}, ${3:string \\\$script_extension})';}, @@ -1214,10 +1216,11 @@ {display = 'image_type_to_mime_type'; insert = '(${1:int \\\$imagetype})';}, {display = 'imageaffine'; insert = '(${1:resource \\\$image}, ${2:array \\\$affine}, ${3:[array \\\$clip]})';}, {display = 'imageaffinematrixconcat'; insert = '(${1:array \\\$m1}, ${2:array \\\$m2})';}, - {display = 'imageaffinematrixget'; insert = '(${1:int \\\$type}, ${2:[mixed \\\$options]})';}, + {display = 'imageaffinematrixget'; insert = '(${1:int \\\$type}, ${2:mixed \\\$options})';}, {display = 'imagealphablending'; insert = '(${1:resource \\\$image}, ${2:bool \\\$blendmode})';}, {display = 'imageantialias'; insert = '(${1:resource \\\$image}, ${2:bool \\\$enabled})';}, {display = 'imagearc'; insert = '(${1:resource \\\$image}, ${2:int \\\$cx}, ${3:int \\\$cy}, ${4:int \\\$width}, ${5:int \\\$height}, ${6:int \\\$start}, ${7:int \\\$end}, ${8:int \\\$color})';}, + {display = 'imagebmp'; insert = '(${1:resource \\\$image}, ${2:mixed \\\$to}, ${3:[bool \\\$compressed]})';}, {display = 'imagechar'; insert = '(${1:resource \\\$image}, ${2:int \\\$font}, ${3:int \\\$x}, ${4:int \\\$y}, ${5:string \\\$c}, ${6:int \\\$color})';}, {display = 'imagecharup'; insert = '(${1:resource \\\$image}, ${2:int \\\$font}, ${3:int \\\$x}, ${4:int \\\$y}, ${5:string \\\$c}, ${6:int \\\$color})';}, {display = 'imagecolorallocate'; insert = '(${1:resource \\\$image}, ${2:int \\\$red}, ${3:int \\\$green}, ${4:int \\\$blue})';}, @@ -1243,6 +1246,7 @@ {display = 'imagecopyresampled'; insert = '(${1:resource \\\$dst_image}, ${2:resource \\\$src_image}, ${3:int \\\$dst_x}, ${4:int \\\$dst_y}, ${5:int \\\$src_x}, ${6:int \\\$src_y}, ${7:int \\\$dst_w}, ${8:int \\\$dst_h}, ${9:int \\\$src_w}, ${10:int \\\$src_h})';}, {display = 'imagecopyresized'; insert = '(${1:resource \\\$dst_image}, ${2:resource \\\$src_image}, ${3:int \\\$dst_x}, ${4:int \\\$dst_y}, ${5:int \\\$src_x}, ${6:int \\\$src_y}, ${7:int \\\$dst_w}, ${8:int \\\$dst_h}, ${9:int \\\$src_w}, ${10:int \\\$src_h})';}, {display = 'imagecreate'; insert = '(${1:int \\\$width}, ${2:int \\\$height})';}, + {display = 'imagecreatefrombmp'; insert = '(${1:string \\\$filename})';}, {display = 'imagecreatefromgd'; insert = '(${1:string \\\$filename})';}, {display = 'imagecreatefromgd2'; insert = '(${1:string \\\$filename})';}, {display = 'imagecreatefromgd2part'; insert = '(${1:string \\\$filename}, ${2:int \\\$srcX}, ${3:int \\\$srcY}, ${4:int \\\$width}, ${5:int \\\$height})';}, @@ -1273,20 +1277,22 @@ {display = 'imageftbbox'; insert = '(${1:float \\\$size}, ${2:float \\\$angle}, ${3:string \\\$fontfile}, ${4:string \\\$text}, ${5:[array \\\$extrainfo]})';}, {display = 'imagefttext'; insert = '(${1:resource \\\$image}, ${2:float \\\$size}, ${3:float \\\$angle}, ${4:int \\\$x}, ${5:int \\\$y}, ${6:int \\\$color}, ${7:string \\\$fontfile}, ${8:string \\\$text}, ${9:[array \\\$extrainfo]})';}, {display = 'imagegammacorrect'; insert = '(${1:resource \\\$image}, ${2:float \\\$inputgamma}, ${3:float \\\$outputgamma})';}, - {display = 'imagegd'; insert = '(${1:resource \\\$image}, ${2:[string \\\$filename]})';}, - {display = 'imagegd2'; insert = '(${1:resource \\\$image}, ${2:[string \\\$filename]}, ${3:[int \\\$chunk_size]}, ${4:[int \\\$type = IMG_GD2_RAW]})';}, - {display = 'imagegif'; insert = '(${1:resource \\\$image}, ${2:[string \\\$filename]})';}, + {display = 'imagegd'; insert = '(${1:resource \\\$image}, ${2:[mixed \\\$to = NULL]})';}, + {display = 'imagegd2'; insert = '(${1:resource \\\$image}, ${2:[mixed \\\$to = NULL]}, ${3:[int \\\$chunk_size = 128]}, ${4:[int \\\$type = IMG_GD2_RAW]})';}, + {display = 'imagegetclip'; insert = '(${1:resource \\\$im})';}, + {display = 'imagegif'; insert = '(${1:resource \\\$image}, ${2:[mixed \\\$to]})';}, {display = 'imagegrabscreen'; insert = '()';}, {display = 'imagegrabwindow'; insert = '(${1:int \\\$window_handle}, ${2:[int \\\$client_area]})';}, {display = 'imageinterlace'; insert = '(${1:resource \\\$image}, ${2:[int \\\$interlace]})';}, {display = 'imageistruecolor'; insert = '(${1:resource \\\$image})';}, - {display = 'imagejpeg'; insert = '(${1:resource \\\$image}, ${2:[string \\\$filename]}, ${3:[int \\\$quality]})';}, + {display = 'imagejpeg'; insert = '(${1:resource \\\$image}, ${2:[mixed \\\$to]}, ${3:[int \\\$quality]})';}, {display = 'imagelayereffect'; insert = '(${1:resource \\\$image}, ${2:int \\\$effect})';}, {display = 'imageline'; insert = '(${1:resource \\\$image}, ${2:int \\\$x1}, ${3:int \\\$y1}, ${4:int \\\$x2}, ${5:int \\\$y2}, ${6:int \\\$color})';}, {display = 'imageloadfont'; insert = '(${1:string \\\$file})';}, + {display = 'imageopenpolygon'; insert = '(${1:resource \\\$image}, ${2:array \\\$points}, ${3:int \\\$num_points}, ${4:int \\\$color})';}, {display = 'imagepalettecopy'; insert = '(${1:resource \\\$destination}, ${2:resource \\\$source})';}, {display = 'imagepalettetotruecolor'; insert = '(${1:resource \\\$src})';}, - {display = 'imagepng'; insert = '(${1:resource \\\$image}, ${2:[string \\\$filename]}, ${3:[int \\\$quality]}, ${4:[int \\\$filters]})';}, + {display = 'imagepng'; insert = '(${1:resource \\\$image}, ${2:[mixed \\\$to]}, ${3:[int \\\$quality]}, ${4:[int \\\$filters]})';}, {display = 'imagepolygon'; insert = '(${1:resource \\\$image}, ${2:array \\\$points}, ${3:int \\\$num_points}, ${4:int \\\$color})';}, {display = 'imagepsbbox'; insert = '(${1:string \\\$text}, ${2:resource \\\$font}, ${3:int \\\$size}, ${4:int \\\$space}, ${5:int \\\$tightness}, ${6:float \\\$angle})';}, {display = 'imagepsencodefont'; insert = '(${1:resource \\\$font_index}, ${2:string \\\$encodingfile})';}, @@ -1296,10 +1302,12 @@ {display = 'imagepsslantfont'; insert = '(${1:resource \\\$font_index}, ${2:float \\\$slant})';}, {display = 'imagepstext'; insert = '(${1:resource \\\$image}, ${2:string \\\$text}, ${3:resource \\\$font_index}, ${4:int \\\$size}, ${5:int \\\$foreground}, ${6:int \\\$background}, ${7:int \\\$x}, ${8:int \\\$y}, ${9:[int \\\$space]}, ${10:[int \\\$tightness]}, ${11:[float \\\$angle = 0.0]}, ${12:[int \\\$antialias_steps = 4]})';}, {display = 'imagerectangle'; insert = '(${1:resource \\\$image}, ${2:int \\\$x1}, ${3:int \\\$y1}, ${4:int \\\$x2}, ${5:int \\\$y2}, ${6:int \\\$color})';}, + {display = 'imageresolution'; insert = '(${1:resource \\\$image}, ${2:[int \\\$res_x]}, ${3:[int \\\$res_y]})';}, {display = 'imagerotate'; insert = '(${1:resource \\\$image}, ${2:float \\\$angle}, ${3:int \\\$bgd_color}, ${4:[int \\\$ignore_transparent]})';}, {display = 'imagesavealpha'; insert = '(${1:resource \\\$image}, ${2:bool \\\$saveflag})';}, {display = 'imagescale'; insert = '(${1:resource \\\$image}, ${2:int \\\$new_width}, ${3:[int \\\$new_height = -1]}, ${4:[int \\\$mode = IMG_BILINEAR_FIXED]})';}, {display = 'imagesetbrush'; insert = '(${1:resource \\\$image}, ${2:resource \\\$brush})';}, + {display = 'imagesetclip'; insert = '(${1:resource \\\$im}, ${2:int \\\$x1}, ${3:int \\\$y1}, ${4:int \\\$x2}, ${5:int \\\$y2})';}, {display = 'imagesetinterpolation'; insert = '(${1:resource \\\$image}, ${2:[int \\\$method = IMG_BILINEAR_FIXED]})';}, {display = 'imagesetpixel'; insert = '(${1:resource \\\$image}, ${2:int \\\$x}, ${3:int \\\$y}, ${4:int \\\$color})';}, {display = 'imagesetstyle'; insert = '(${1:resource \\\$image}, ${2:array \\\$style})';}, @@ -1313,8 +1321,8 @@ {display = 'imagettfbbox'; insert = '(${1:float \\\$size}, ${2:float \\\$angle}, ${3:string \\\$fontfile}, ${4:string \\\$text})';}, {display = 'imagettftext'; insert = '(${1:resource \\\$image}, ${2:float \\\$size}, ${3:float \\\$angle}, ${4:int \\\$x}, ${5:int \\\$y}, ${6:int \\\$color}, ${7:string \\\$fontfile}, ${8:string \\\$text})';}, {display = 'imagetypes'; insert = '()';}, - {display = 'imagewbmp'; insert = '(${1:resource \\\$image}, ${2:[string \\\$filename]}, ${3:[int \\\$foreground]})';}, - {display = 'imagewebp'; insert = '(${1:resource \\\$image}, ${2:string \\\$filename})';}, + {display = 'imagewbmp'; insert = '(${1:resource \\\$image}, ${2:[mixed \\\$to]}, ${3:[int \\\$foreground]})';}, + {display = 'imagewebp'; insert = '(${1:resource \\\$image}, ${2:mixed \\\$to}, ${3:[int \\\$quality = 80]})';}, {display = 'imagexbm'; insert = '(${1:resource \\\$image}, ${2:string \\\$filename}, ${3:[int \\\$foreground]})';}, {display = 'imap_8bit'; insert = '(${1:string \\\$string})';}, {display = 'imap_alerts'; insert = '()';}, @@ -1396,6 +1404,8 @@ {display = 'include_once'; insert = '(${1:string \\\$path})';}, {display = 'inet_ntop'; insert = '(${1:string \\\$in_addr})';}, {display = 'inet_pton'; insert = '(${1:string \\\$address})';}, + {display = 'inflate_add'; insert = '(${1:resource \\\$context}, ${2:string \\\$encoded_data}, ${3:[int \\\$flush_mode = ZLIB_SYNC_FLUSH]})';}, + {display = 'inflate_init'; insert = '(${1:int \\\$encoding}, ${2:[array \\\$options = array()]})';}, {display = 'ini_alter'; insert = '()';}, {display = 'ini_get'; insert = '(${1:string \\\$varname})';}, {display = 'ini_get_all'; insert = '(${1:[string \\\$extension]}, ${2:[bool \\\$details = true]})';}, @@ -1477,7 +1487,7 @@ {display = 'ldap_bind'; insert = '(${1:resource \\\$link_identifier}, ${2:[string \\\$bind_rdn]}, ${3:[string \\\$bind_password]})';}, {display = 'ldap_close'; insert = '()';}, {display = 'ldap_compare'; insert = '(${1:resource \\\$link_identifier}, ${2:string \\\$dn}, ${3:string \\\$attribute}, ${4:string \\\$value})';}, - {display = 'ldap_connect'; insert = '(${1:[string \\\$hostname]}, ${2:[int \\\$port = 389]})';}, + {display = 'ldap_connect'; insert = '(${1:[string \\\$host]}, ${2:[int \\\$port = 389]})';}, {display = 'ldap_control_paged_result'; insert = '(${1:resource \\\$link}, ${2:int \\\$pagesize}, ${3:[bool \\\$iscritical = false]}, ${4:[string \\\$cookie = \"\"]})';}, {display = 'ldap_control_paged_result_response'; insert = '(${1:resource \\\$link}, ${2:resource \\\$result}, ${3:[string \\\$cookie]}, ${4:[int \\\$estimated]})';}, {display = 'ldap_count_entries'; insert = '(${1:resource \\\$link_identifier}, ${2:resource \\\$result_identifier})';}, @@ -1576,7 +1586,7 @@ {display = 'mb_decode_numericentity'; insert = '(${1:string \\\$str}, ${2:array \\\$convmap}, ${3:[string \\\$encoding = mb_internal_encoding()]})';}, {display = 'mb_detect_encoding'; insert = '(${1:string \\\$str}, ${2:[mixed \\\$encoding_list = mb_detect_order()]}, ${3:[bool \\\$strict = false]})';}, {display = 'mb_detect_order'; insert = '(${1:[mixed \\\$encoding_list = mb_detect_order()]})';}, - {display = 'mb_encode_mimeheader'; insert = '(${1:string \\\$str}, ${2:[string \\\$charset = mb_internal_encoding()]}, ${3:[string \\\$transfer_encoding = \"B\"]}, ${4:[string \\\$linefeed = \"\\\\r\\\\n\"]}, ${5:[int \\\$indent]})';}, + {display = 'mb_encode_mimeheader'; insert = '(${1:string \\\$str}, ${2:[string \\\$charset = determined by mb_language()]}, ${3:[string \\\$transfer_encoding = \"B\"]}, ${4:[string \\\$linefeed = \"\\\\r\\\\n\"]}, ${5:[int \\\$indent]})';}, {display = 'mb_encode_numericentity'; insert = '(${1:string \\\$str}, ${2:array \\\$convmap}, ${3:[string \\\$encoding = mb_internal_encoding()]}, ${4:[bool \\\$is_hex = FALSE]})';}, {display = 'mb_encoding_aliases'; insert = '(${1:string \\\$encoding})';}, {display = 'mb_ereg'; insert = '(${1:string \\\$pattern}, ${2:string \\\$string}, ${3:[array \\\$regs]})';}, @@ -1727,7 +1737,7 @@ {display = 'mssql_select_db'; insert = '(${1:string \\\$database_name}, ${2:[resource \\\$link_identifier]})';}, {display = 'mt_getrandmax'; insert = '()';}, {display = 'mt_rand'; insert = '(${1:int \\\$min}, ${2:int \\\$max})';}, - {display = 'mt_srand'; insert = '(${1:[int \\\$seed]})';}, + {display = 'mt_srand'; insert = '(${1:[int \\\$seed]}, ${2:[int \\\$mode = MT_RAND_MT19937]})';}, {display = 'mysql_affected_rows'; insert = '(${1:[resource \\\$link_identifier = NULL]})';}, {display = 'mysql_client_encoding'; insert = '(${1:[resource \\\$link_identifier = NULL]})';}, {display = 'mysql_close'; insert = '(${1:[resource \\\$link_identifier = NULL]})';}, @@ -1872,7 +1882,7 @@ {display = 'mysqli_stmt_result_metadata'; insert = '(${1:mysqli_stmt \\\$stmt})';}, {display = 'mysqli_stmt_send_long_data'; insert = '(${1:int \\\$param_nr}, ${2:string \\\$data}, ${3:mysqli_stmt \\\$stmt})';}, {display = 'mysqli_stmt_store_result'; insert = '(${1:mysqli_stmt \\\$stmt})';}, - {display = 'mysqli_store_result'; insert = '(${1:[int \\\$option]})';}, + {display = 'mysqli_store_result'; insert = '(${1:[int \\\$option]}, ${2:mysqli \\\$link})';}, {display = 'mysqli_thread_safe'; insert = '()';}, {display = 'mysqli_use_result'; insert = '(${1:mysqli \\\$link})';}, {display = 'mysqli_warning'; insert = '()';}, @@ -1934,10 +1944,8 @@ {display = 'numfmt_set_symbol'; insert = '(${1:int \\\$attr}, ${2:string \\\$value}, ${3:NumberFormatter \\\$fmt})';}, {display = 'numfmt_set_text_attribute'; insert = '(${1:int \\\$attr}, ${2:string \\\$value}, ${3:NumberFormatter \\\$fmt})';}, {display = 'ob_clean'; insert = '()';}, - {display = 'ob_deflatehandler'; insert = '(${1:string \\\$data}, ${2:int \\\$mode})';}, {display = 'ob_end_clean'; insert = '()';}, {display = 'ob_end_flush'; insert = '()';}, - {display = 'ob_etaghandler'; insert = '(${1:string \\\$data}, ${2:int \\\$mode})';}, {display = 'ob_flush'; insert = '()';}, {display = 'ob_get_clean'; insert = '()';}, {display = 'ob_get_contents'; insert = '()';}, @@ -1948,7 +1956,6 @@ {display = 'ob_gzhandler'; insert = '(${1:string \\\$buffer}, ${2:int \\\$mode})';}, {display = 'ob_iconv_handler'; insert = '(${1:string \\\$contents}, ${2:int \\\$status})';}, {display = 'ob_implicit_flush'; insert = '(${1:[int \\\$flag = true]})';}, - {display = 'ob_inflatehandler'; insert = '(${1:string \\\$data}, ${2:int \\\$mode})';}, {display = 'ob_list_handlers'; insert = '()';}, {display = 'ob_start'; insert = '(${1:[callable \\\$output_callback]}, ${2:[int \\\$chunk_size]}, ${3:[int \\\$flags]})';}, {display = 'ob_tidyhandler'; insert = '(${1:string \\\$input}, ${2:[int \\\$mode]})';}, @@ -2110,10 +2117,10 @@ {display = 'openssl_csr_get_subject'; insert = '(${1:mixed \\\$csr}, ${2:[bool \\\$use_shortnames = true]})';}, {display = 'openssl_csr_new'; insert = '(${1:array \\\$dn}, ${2:resource \\\$privkey}, ${3:[array \\\$configargs]}, ${4:[array \\\$extraattribs]})';}, {display = 'openssl_csr_sign'; insert = '(${1:mixed \\\$csr}, ${2:mixed \\\$cacert}, ${3:mixed \\\$priv_key}, ${4:int \\\$days}, ${5:[array \\\$configargs]}, ${6:[int \\\$serial]})';}, - {display = 'openssl_decrypt'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:string \\\$password}, ${4:[int \\\$options]}, ${5:[string \\\$iv = \"\"]})';}, + {display = 'openssl_decrypt'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:string \\\$password}, ${4:[int \\\$options]}, ${5:[string \\\$iv = \"\"]}, ${6:[string \\\$tag = \"\"]}, ${7:[string \\\$aad = \"\"]})';}, {display = 'openssl_dh_compute_key'; insert = '(${1:string \\\$pub_key}, ${2:resource \\\$dh_key})';}, {display = 'openssl_digest'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:[bool \\\$raw_output = false]})';}, - {display = 'openssl_encrypt'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:string \\\$password}, ${4:[int \\\$options]}, ${5:[string \\\$iv = \"\"]})';}, + {display = 'openssl_encrypt'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:string \\\$password}, ${4:[int \\\$options]}, ${5:[string \\\$iv = \"\"]}, ${6:[string \\\$tag = NULL]}, ${7:[string \\\$aad = \"\"]}, ${8:[int \\\$tag_length = 16]})';}, {display = 'openssl_error_string'; insert = '()';}, {display = 'openssl_free_key'; insert = '(${1:resource \\\$key_identifier})';}, {display = 'openssl_get_cert_locations'; insert = '()';}, @@ -2163,7 +2170,7 @@ {display = 'pack'; insert = '(${1:string \\\$format}, ${2:[mixed \\\$args]}, ${3:[mixed ...]})';}, {display = 'parse_ini_file'; insert = '(${1:string \\\$filename}, ${2:[bool \\\$process_sections = false]}, ${3:[int \\\$scanner_mode = INI_SCANNER_NORMAL]})';}, {display = 'parse_ini_string'; insert = '(${1:string \\\$ini}, ${2:[bool \\\$process_sections = false]}, ${3:[int \\\$scanner_mode = INI_SCANNER_NORMAL]})';}, - {display = 'parse_str'; insert = '(${1:string \\\$str}, ${2:[array \\\$arr]})';}, + {display = 'parse_str'; insert = '(${1:string \\\$encoded_string}, ${2:[array \\\$result]})';}, {display = 'parse_url'; insert = '(${1:string \\\$url}, ${2:[int \\\$component = -1]})';}, {display = 'passthru'; insert = '(${1:string \\\$command}, ${2:[int \\\$return_var]})';}, {display = 'password_get_info'; insert = '(${1:string \\\$hash})';}, @@ -2181,6 +2188,7 @@ {display = 'pcntl_setpriority'; insert = '(${1:int \\\$priority}, ${2:[int \\\$pid = getmypid()]}, ${3:[int \\\$process_identifier = PRIO_PROCESS]})';}, {display = 'pcntl_signal'; insert = '(${1:int \\\$signo}, ${2:callable|int \\\$handler}, ${3:[bool \\\$restart_syscalls = true]})';}, {display = 'pcntl_signal_dispatch'; insert = '()';}, + {display = 'pcntl_signal_get_handler'; insert = '(${1:int \\\$signo})';}, {display = 'pcntl_sigprocmask'; insert = '(${1:int \\\$how}, ${2:array \\\$set}, ${3:[array \\\$oldset]})';}, {display = 'pcntl_sigtimedwait'; insert = '(${1:array \\\$set}, ${2:[array \\\$siginfo]}, ${3:[int \\\$seconds]}, ${4:[int \\\$nanoseconds]})';}, {display = 'pcntl_sigwaitinfo'; insert = '(${1:array \\\$set}, ${2:[array \\\$siginfo]})';}, @@ -2454,9 +2462,11 @@ {display = 'session_cache_expire'; insert = '(${1:[string \\\$new_cache_expire]})';}, {display = 'session_cache_limiter'; insert = '(${1:[string \\\$cache_limiter]})';}, {display = 'session_commit'; insert = '()';}, + {display = 'session_create_id'; insert = '(${1:[string \\\$prefix]})';}, {display = 'session_decode'; insert = '(${1:string \\\$data})';}, {display = 'session_destroy'; insert = '()';}, {display = 'session_encode'; insert = '()';}, + {display = 'session_gc'; insert = '()';}, {display = 'session_get_cookie_params'; insert = '()';}, {display = 'session_id'; insert = '(${1:[string \\\$id]})';}, {display = 'session_is_registered'; insert = '(${1:string \\\$name})';}, @@ -2468,7 +2478,7 @@ {display = 'session_reset'; insert = '()';}, {display = 'session_save_path'; insert = '(${1:[string \\\$path]})';}, {display = 'session_set_cookie_params'; insert = '(${1:int \\\$lifetime}, ${2:[string \\\$path]}, ${3:[string \\\$domain]}, ${4:[bool \\\$secure = false]}, ${5:[bool \\\$httponly = false]})';}, - {display = 'session_set_save_handler'; insert = '(${1:callable \\\$open}, ${2:callable \\\$close}, ${3:callable \\\$read}, ${4:callable \\\$write}, ${5:callable \\\$destroy}, ${6:callable \\\$gc}, ${7:[callable \\\$create_sid]}, ${8:SessionHandlerInterface \\\$sessionhandler}, ${9:[bool \\\$register_shutdown = true]})';}, + {display = 'session_set_save_handler'; insert = '(${1:callable \\\$open}, ${2:callable \\\$close}, ${3:callable \\\$read}, ${4:callable \\\$write}, ${5:callable \\\$destroy}, ${6:callable \\\$gc}, ${7:[callable \\\$create_sid]}, ${8:[callable \\\$validate_sid]}, ${9:[callable \\\$update_timestamp]}, ${10:SessionHandlerInterface \\\$sessionhandler}, ${11:[bool \\\$register_shutdown = true]})';}, {display = 'session_start'; insert = '(${1:[array \\\$options = []]})';}, {display = 'session_status'; insert = '()';}, {display = 'session_unregister'; insert = '(${1:string \\\$name})';}, @@ -2497,12 +2507,12 @@ {display = 'shm_put_var'; insert = '(${1:resource \\\$shm_identifier}, ${2:int \\\$variable_key}, ${3:mixed \\\$variable})';}, {display = 'shm_remove'; insert = '(${1:resource \\\$shm_identifier})';}, {display = 'shm_remove_var'; insert = '(${1:resource \\\$shm_identifier}, ${2:int \\\$variable_key})';}, - {display = 'shmop_close'; insert = '(${1:int \\\$shmid})';}, - {display = 'shmop_delete'; insert = '(${1:int \\\$shmid})';}, + {display = 'shmop_close'; insert = '(${1:resource \\\$shmid})';}, + {display = 'shmop_delete'; insert = '(${1:resource \\\$shmid})';}, {display = 'shmop_open'; insert = '(${1:int \\\$key}, ${2:string \\\$flags}, ${3:int \\\$mode}, ${4:int \\\$size})';}, - {display = 'shmop_read'; insert = '(${1:int \\\$shmid}, ${2:int \\\$start}, ${3:int \\\$count})';}, - {display = 'shmop_size'; insert = '(${1:int \\\$shmid})';}, - {display = 'shmop_write'; insert = '(${1:int \\\$shmid}, ${2:string \\\$data}, ${3:int \\\$offset})';}, + {display = 'shmop_read'; insert = '(${1:resource \\\$shmid}, ${2:int \\\$start}, ${3:int \\\$count})';}, + {display = 'shmop_size'; insert = '(${1:resource \\\$shmid})';}, + {display = 'shmop_write'; insert = '(${1:resource \\\$shmid}, ${2:string \\\$data}, ${3:int \\\$offset})';}, {display = 'show_source'; insert = '()';}, {display = 'shuffle'; insert = '(${1:array \\\$array})';}, {display = 'similar_text'; insert = '(${1:string \\\$first}, ${2:string \\\$second}, ${3:[float \\\$percent]})';}, @@ -2548,6 +2558,7 @@ {display = 'socket_create_pair'; insert = '(${1:int \\\$domain}, ${2:int \\\$type}, ${3:int \\\$protocol}, ${4:array \\\$fd})';}, {display = 'socket_get_option'; insert = '(${1:resource \\\$socket}, ${2:int \\\$level}, ${3:int \\\$optname})';}, {display = 'socket_get_status'; insert = '()';}, + {display = 'socket_getopt'; insert = '()';}, {display = 'socket_getpeername'; insert = '(${1:resource \\\$socket}, ${2:string \\\$address}, ${3:[int \\\$port]})';}, {display = 'socket_getsockname'; insert = '(${1:resource \\\$socket}, ${2:string \\\$addr}, ${3:[int \\\$port]})';}, {display = 'socket_import_stream'; insert = '(${1:resource \\\$stream})';}, @@ -2566,6 +2577,7 @@ {display = 'socket_set_nonblock'; insert = '(${1:resource \\\$socket})';}, {display = 'socket_set_option'; insert = '(${1:resource \\\$socket}, ${2:int \\\$level}, ${3:int \\\$optname}, ${4:mixed \\\$optval})';}, {display = 'socket_set_timeout'; insert = '()';}, + {display = 'socket_setopt'; insert = '()';}, {display = 'socket_shutdown'; insert = '(${1:resource \\\$socket}, ${2:[int \\\$how = 2]})';}, {display = 'socket_strerror'; insert = '(${1:int \\\$errno})';}, {display = 'socket_write'; insert = '(${1:resource \\\$socket}, ${2:string \\\$buffer}, ${3:[int \\\$length]})';}, @@ -2764,7 +2776,7 @@ {display = 'stream_register_wrapper'; insert = '()';}, {display = 'stream_resolve_include_path'; insert = '(${1:string \\\$filename})';}, {display = 'stream_select'; insert = '(${1:array \\\$read}, ${2:array \\\$write}, ${3:array \\\$except}, ${4:int \\\$tv_sec}, ${5:[int \\\$tv_usec]})';}, - {display = 'stream_set_blocking'; insert = '(${1:resource \\\$stream}, ${2:int \\\$mode})';}, + {display = 'stream_set_blocking'; insert = '(${1:resource \\\$stream}, ${2:bool \\\$mode})';}, {display = 'stream_set_chunk_size'; insert = '(${1:resource \\\$fp}, ${2:int \\\$chunk_size})';}, {display = 'stream_set_read_buffer'; insert = '(${1:resource \\\$stream}, ${2:int \\\$buffer})';}, {display = 'stream_set_timeout'; insert = '(${1:resource \\\$stream}, ${2:int \\\$seconds}, ${3:[int \\\$microseconds]})';}, @@ -2889,7 +2901,7 @@ {display = 'timezone_transitions_get'; insert = '()';}, {display = 'timezone_version_get'; insert = '()';}, {display = 'tmpfile'; insert = '()';}, - {display = 'token_get_all'; insert = '(${1:string \\\$source})';}, + {display = 'token_get_all'; insert = '(${1:string \\\$source}, ${2:[int \\\$flags]})';}, {display = 'token_name'; insert = '(${1:int \\\$token})';}, {display = 'touch'; insert = '(${1:string \\\$filename}, ${2:[int \\\$time = time()]}, ${3:[int \\\$atime]})';}, {display = 'trader_acos'; insert = '(${1:array \\\$real})';}, diff --git a/Syntaxes/PHP.plist b/Syntaxes/PHP.plist index e31bdc9..73cda65 100644 --- a/Syntaxes/PHP.plist +++ b/Syntaxes/PHP.plist @@ -239,7 +239,7 @@ match - (?i)(\\)?\b(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Generator|Method|Class|Type|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Diff\\(Memory|Base|DOM|File)|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection|mmandCursor)|ursor(Interface|Exception)?|lient)|Timestamp|I(n(sertBatch|t(32|64))|d)|D(B(Ref|\\(BSON\\(Regex|Binary|Serializable|Timestamp|ObjectID|U(nserializable|TCDatetime)|Javascript)|Driver\\(ReadPreference|Manager|BulkWrite|Server|C(ommand|ursor(Id)?)|Query|Write(Result|Concern(Error)?|E(rror|xception)))))?|eleteBatch|ate)|UpdateBatch|Pool|Write(Batch|ConcernException)|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(ync(ReaderWriter|Mutex|Semaphore|Event)|impleXML(Iterator|Element)|oap(Server|Header|Client|Param|Var|Fault)|NMP|CA(_(SoapProxy|LocalProxy))?|p(hinxClient|oofchecker|l(M(inHeap|axHeap)|S(tack|ubject)|Heap|T(ype|empFileObject)|Ob(server|jectStorage)|DoublyLinkedList|PriorityQueue|Enum|Queue|Fi(le(Info|Object)|xedArray)))|e(ssionHandler(Interface)?|ekableIterator|rializable)|DO_(Model_(ReflectionDataObject|Type|Property)|Sequence|D(ata(Object|Factory)|AS_(Relational|XML(_Document)?|Setting|ChangeSummary|Data(Object|Factory)))|Exception|List)|wish(Result(s)?|Search)?|VM(Model)?|QLite(Result|3(Result|Stmt)?|Database|Unbuffered)|AM(Message|Connection))|H(RTime\\(StopWatch|PerformanceCounter)|ttp(Re(sponse|quest(Pool)?)|Message|InflateStream|DeflateStream|QueryString)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))|Ya(f_(R(oute(_(Re(write|gex)|Map|S(tatic|imple|upervar)|Interface)|r)|e(sponse_Abstract|quest_(Simple|Http|Abstract)|gistry))|Session|Con(troller_Abstract|fig_(Simple|Ini|Abstract))|Dispatcher|Plugin_Abstract|Exception|View_(Simple|Interface)|Loader|A(ction_Abstract|pplication))|r_(Server(_Exception)?|C(oncurrent_Client|lient(_Exception)?)))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|ll(ectable|ator))|URLFile|a(chingIterator|llbackFilterIterator))|T(hread(ed)?|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tl(RuleBasedBreakIterator|BreakIterator|C(har|odePointBreakIterator|alendar)|TimeZone|Iterator|DateFormatter|PartsIterator)|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?|Kernel)?)|php_user_filter|Z(MQ(Socket|Context|Device|Poll)?|ipArchive)|O(CI-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(I(nterface|mmutable)|Zone)?|Interval|Period))|U(n(derflowException|expectedValueException)|Converter)|JsonSerializable|finfo|P(har(Data|FileInfo)?|ool|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|ent(B(uffer(Event)?|ase)|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?|P(eriodic|repare)|Embed|Fork|Watcher|Loop)?|rrorException|xception|mptyIterator)|V(8Js(Exception)?|arnish(Stat|Log|Admin))|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|Frame|AttachedPictureFrame))|QuickHash(StringIntHash|Int(S(tringHash|et)|Hash))|F(il(terIterator|esystemIterator)|ANNConnection)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(ppendIterator|PCIterator|rray(Iterator|Object|Access)))\b + (?i)(\\)?\b(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Generator|Method|Class|Type|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Diff\\(Memory|Base|DOM|File)|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection|mmandCursor)|ursor(Interface|Exception)?|lient)|Timestamp|I(n(sertBatch|t(32|64))|d)|D(B(Ref|\\(BSON\\(Regex|M(inKey|axKey)|Binary|Serializable|Timestamp|ObjectID|Decimal128|U(nserializable|TCDateTime)|Javascript)|Driver\\(Read(Concern|Preference)|Manager|BulkWrite|Server|C(ommand|ursor(Id)?)|Exception\\WriteException|Query|Write(Result|Concern(Error)?|Error))))?|eleteBatch|ate)|UpdateBatch|Pool|Write(Batch|ConcernException)|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(ync(ReaderWriter|Mutex|S(haredMemory|emaphore)|Event)|impleXML(Iterator|Element)|oap(Server|Header|Client|Param|Var|Fault)|NMP|CA(_(SoapProxy|LocalProxy))?|p(hinxClient|oofchecker|l(M(inHeap|axHeap)|S(tack|ubject)|Heap|T(ype|empFileObject)|Ob(server|jectStorage)|DoublyLinkedList|PriorityQueue|Enum|Queue|Fi(le(Info|Object)|xedArray)))|e(ssionHandler(Interface)?|ekableIterator|rializable)|DO_(Model_(ReflectionDataObject|Type|Property)|Sequence|D(ata(Object|Factory)|AS_(Relational|XML(_Document)?|Setting|ChangeSummary|Data(Object|Factory)))|Exception|List)|wish(Result(s)?|Search)?|VM(Model)?|QLite(Result|3(Result|Stmt)?|Database|Unbuffered)|AM(Message|Connection))|H(RTime\\(StopWatch|PerformanceCounter)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))|Ya(f_(R(oute(_(Re(write|gex)|Map|S(tatic|imple|upervar)|Interface)|r)|e(sponse_Abstract|quest_(Simple|Http|Abstract)|gistry))|Session|Con(troller_Abstract|fig_(Simple|Ini|Abstract))|Dispatcher|Plugin_Abstract|Exception|View_(Simple|Interface)|Loader|A(ction_Abstract|pplication))|r_(Server(_Exception)?|C(oncurrent_Client|lient(_Exception)?)))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|ll(ectable|ator))|URLFile|a(chingIterator|llbackFilterIterator))|T(hread(ed)?|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tl(RuleBasedBreakIterator|BreakIterator|C(har|odePointBreakIterator|alendar)|TimeZone|Iterator|DateFormatter|PartsIterator)|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?|Kernel)?)|php_user_filter|Z(MQ(Socket|Context|Device|Poll)?|ipArchive|ookeeper)|O(CI-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(s\\(Map|S(tack|e(t|quence))|Hashable|Collection|Deque|P(air|riorityQueue)|Vector|Queue)|irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(I(nterface|mmutable)|Zone)?|Interval|Period))|U(n(derflowException|expectedValueException)|Converter|I\\(Menu(Item)?|Size|Control(s\\(Radio|Gr(id|oup)|MultilineEntry|B(ox|utton)|S(pin|eparator|lider)|C(heck|o(lorButton|mbo))|Tab|P(icker|rogress)|E(ntry|ditableCombo)|Form|Label))?|Draw\\(Matrix|Brush(\\(RadialGradient|Gradient|LinearGradient))?|Stroke|Color|Text\\(Font(\\Descriptor)?|Layout)|P(en|ath))|Point|Executor|Window|Area))|JsonSerializable|finfo|P(har(Data|FileInfo)?|ool|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|ent(B(uffer(Event)?|ase)|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?|P(eriodic|repare)|Embed|Fork|Watcher|Loop)?|rrorException|xception|mptyIterator)|V(8Js(Exception)?|arnish(Stat|Log|Admin))|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|Frame|AttachedPictureFrame))|QuickHash(StringIntHash|Int(S(tringHash|et)|Hash))|F(il(terIterator|esystemIterator)|ANNConnection)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(ppendIterator|PC(Iterator|UIterator)|rray(Iterator|Object|Access)))\b name support.class.builtin.php @@ -3264,6 +3264,12 @@ name support.function.apc.php + + match + (?i)\bapcu_(s(tore|ma_info)|c(lear_cache|a(s|che_info))|inc|de(c|lete)|e(ntry|xists)|fetch|add)\b + name + support.function.apcu.php + match (?i)\b(s(huffle|izeof|ort)|n(ext|at(sort|casesort))|c(o(unt|mpact)|urrent)|in_array|u(sort|ksort|asort)|p(os|rev)|e(nd|ach|xtract)|k(sort|ey(_exists)?|rsort)|list|a(sort|r(sort|ray(_(s(hift|um|plice|earch|lice)|c(h(unk|ange_key_case)|o(unt_values|lumn|mbine))|intersect(_(u(key|assoc)|key|assoc))?|diff(_(u(key|assoc)|key|assoc))?|u(n(shift|ique)|intersect(_(uassoc|assoc))?|diff(_(uassoc|assoc))?)|p(op|ush|ad|roduct)|values|key(s|_exists)|f(il(ter|l(_keys)?)|lip)|walk(_recursive)?|r(e(duce|place(_recursive)?|verse)|and)|m(ultisort|erge(_recursive)?|ap)))?))|r(sort|eset|ange))\b @@ -3290,7 +3296,7 @@ match - (?i)\bBSON\\(to(JSON|Array)|from(JSON|Array))\b + (?i)\bMongoDB\BSON\(to(JSON|PHP)|from(JSON|PHP))\b name support.function.bson.php @@ -3450,12 +3456,6 @@ name support.function.hash.php - - match - (?i)\b(http_(s(upport|end_(st(atus|ream)|content_(type|disposition)|data|file|last_modified))|head|negotiate_(c(harset|ontent_type)|language)|c(hunked_decode|ache_(etag|last_modified))|throttle|inflate|d(eflate|ate)|p(ost_(data|fields)|ut_(stream|data|file)|ersistent_handles_(c(ount|lean)|ident)|arse_(headers|cookie|params|message))|re(direct|quest(_(method_(name|unregister|exists|register)|body_encode))?)|get(_request_(headers|body(_stream)?))?|match_(etag|request_header|modified)|build_(str|cookie|url))|ob_(inflatehandler|deflatehandler|etaghandler))\b - name - support.function.http.php - match (?i)\b(iconv(_(s(tr(pos|len|rpos)|ubstr|et_encoding)|get_encoding|mime_(decode(_headers)?|encode)))?|ob_iconv_handler)\b @@ -3470,7 +3470,7 @@ match - (?i)\b(i(ptc(parse|embed)|mage(s(y|cale|tring(up)?|et(style|t(hickness|ile)|interpolation|pixel|brush)|avealpha|x)|c(har(up)?|o(nvolution|py(res(ized|ampled)|merge(gray)?)?|lor(s(total|et|forindex)|closest(hwb|alpha)?|transparent|deallocate|exact(alpha)?|a(t|llocate(alpha)?)|resolve(alpha)?|match))|r(op(auto)?|eate(truecolor|from(string|jpeg|png|w(ebp|bmp)|g(if|d(2(part)?)?)|x(pm|bm)))?))|t(ypes|tf(text|bbox)|ruecolortopalette)|i(struecolor|nterlace)|2wbmp|d(estroy|ashedline)|jpeg|_type_to_(extension|mime_type)|p(s(slantfont|text|e(ncodefont|xtendfont)|freefont|loadfont|bbox)|ng|olygon|alette(copy|totruecolor))|ellipse|f(t(text|bbox)|il(ter|l(toborder|ed(polygon|ellipse|arc|rectangle))?)|ont(height|width)|lip)|w(ebp|bmp)|l(ine|oadfont|ayereffect)|a(ntialias|ffine(matrix(concat|get))?|lphablending|rc)|r(otate|ectangle)|g(if|d(2)?|ammacorrect|rab(screen|window))|xbm))|jpeg2wbmp|png2wbmp|g(d_info|etimagesize(fromstring)?))\b + (?i)\b(i(ptc(parse|embed)|mage(s(y|cale|tring(up)?|et(style|clip|t(hickness|ile)|interpolation|pixel|brush)|avealpha|x)|c(har(up)?|o(nvolution|py(res(ized|ampled)|merge(gray)?)?|lor(s(total|et|forindex)|closest(hwb|alpha)?|transparent|deallocate|exact(alpha)?|a(t|llocate(alpha)?)|resolve(alpha)?|match))|r(op(auto)?|eate(truecolor|from(string|jpeg|png|w(ebp|bmp)|g(if|d(2(part)?)?)|x(pm|bm)|bmp))?))|t(ypes|tf(text|bbox)|ruecolortopalette)|i(struecolor|nterlace)|2wbmp|openpolygon|d(estroy|ashedline)|jpeg|_type_to_(extension|mime_type)|p(s(slantfont|text|e(ncodefont|xtendfont)|freefont|loadfont|bbox)|ng|olygon|alette(copy|totruecolor))|ellipse|f(t(text|bbox)|il(ter|l(toborder|ed(polygon|ellipse|arc|rectangle))?)|ont(height|width)|lip)|w(ebp|bmp)|l(ine|oadfont|ayereffect)|a(ntialias|ffine(matrix(concat|get))?|lphablending|rc)|r(otate|e(solution|ctangle))|g(if|d(2)?|etclip|ammacorrect|rab(screen|window))|xbm|bmp))|jpeg2wbmp|png2wbmp|g(d_info|etimagesize(fromstring)?))\b name support.function.image.php @@ -3488,7 +3488,7 @@ match - (?i)\b(n(ormalizer_(normalize|is_normalized)|umfmt_(set_(symbol|text_attribute|pattern|attribute)|create|parse(_currency)?|format(_currency)?|get_(symbol|text_attribute|pattern|error_(code|message)|locale|attribute)))|collator_(s(ort(_with_sort_keys)?|et_(strength|attribute))|c(ompare|reate)|asort|get_(s(trength|ort_key)|error_(code|message)|locale|attribute))|transliterator_(create(_(inverse|from_rules))?|transliterate|list_ids|get_error_(code|message))|i(ntl(cal_get_error_(code|message)|tz_get_error_(code|message)|_(is_failure|error_name|get_error_(code|message)))|dn_to_(u(nicode|tf8)|ascii))|datefmt_(set_(calendar|timezone(_id)?|pattern|lenient)|create|is_lenient|parse|format(_object)?|localtime|get_(calendar(_object)?|time(type|zone(_id)?)|datetype|pattern|error_(code|message)|locale))|locale_(set_default|c(ompose|anonicalize)|parse|filter_matches|lookup|accept_from_http|get_(script|d(isplay_(script|name|variant|language|region)|efault)|primary_language|keywords|all_variants|region))|resourcebundle_(c(ount|reate)|locales|get(_error_(code|message))?)|grapheme_(s(tr(str|i(str|pos)|pos|len|r(ipos|pos))|ubstr)|extract)|msgfmt_(set_pattern|create|parse(_message)?|format(_message)?|get_(pattern|error_(code|message)|locale)))\b + (?i)\b(n(ormalizer_(normalize|is_normalized)|umfmt_(set_(symbol|text_attribute|pattern|attribute)|create|parse(_currency)?|format(_currency)?|get_(symbol|text_attribute|pattern|error_(code|message)|locale|attribute)))|collator_(s(ort(_with_sort_keys)?|et_(strength|attribute))|c(ompare|reate)|asort|get_(s(trength|ort_key)|error_(code|message)|locale|attribute))|transliterator_(create(_(inverse|from_rules))?|transliterate|list_ids|get_error_(code|message))|i(ntl(cal_get_error_(code|message)|tz_get_error_(code|message)|_(is_failure|error_name|get_error_(code|message)))|dn_to_(utf8|ascii))|datefmt_(set_(calendar|timezone(_id)?|pattern|lenient)|create|is_lenient|parse|format(_object)?|localtime|get_(calendar(_object)?|time(type|zone(_id)?)|datetype|pattern|error_(code|message)|locale))|locale_(set_default|c(ompose|anonicalize)|parse|filter_matches|lookup|accept_from_http|get_(script|d(isplay_(script|name|variant|language|region)|efault)|primary_language|keywords|all_variants|region))|resourcebundle_(c(ount|reate)|locales|get(_error_(code|message))?)|grapheme_(s(tr(str|i(str|pos)|pos|len|r(ipos|pos))|ubstr)|extract)|msgfmt_(set_pattern|create|parse(_message)?|format(_message)?|get_(pattern|error_(code|message)|locale)))\b name support.function.intl.php @@ -3632,7 +3632,7 @@ match - (?i)\bpcntl_(s(trerror|ig(nal(_dispatch)?|timedwait|procmask|waitinfo)|etpriority)|e(rrno|xec)|fork|w(stopsig|termsig|if(s(topped|ignaled)|exited)|exitstatus|ait(pid)?)|alarm|get(_last_error|priority))\b + (?i)\bpcntl_(s(trerror|ig(nal(_(dispatch|get_handler))?|timedwait|procmask|waitinfo)|etpriority)|e(rrno|xec)|fork|w(stopsig|termsig|if(s(topped|ignaled)|exited)|exitstatus|ait(pid)?)|alarm|get(_last_error|priority))\b name support.function.pcntl.php @@ -3740,7 +3740,7 @@ match - (?i)\bsession_(s(ta(tus|rt)|et_(save_handler|cookie_params)|ave_path)|name|c(ommit|ache_(expire|limiter))|i(s_registered|d)|de(stroy|code)|un(set|register)|encode|write_close|abort|re(set|g(ister(_shutdown)?|enerate_id))|get_cookie_params|module_name)\b + (?i)\bsession_(s(ta(tus|rt)|et_(save_handler|cookie_params)|ave_path)|name|c(ommit|ache_(expire|limiter)|reate_id)|i(s_registered|d)|de(stroy|code)|un(set|register)|encode|write_close|abort|re(set|g(ister(_shutdown)?|enerate_id))|g(c|et_cookie_params)|module_name)\b name support.function.session.php @@ -3770,7 +3770,7 @@ match - (?i)\bsocket_(s(hutdown|trerror|e(nd(to|msg)?|t_(nonblock|option|block)|lect))|c(onnect|l(ose|ear_error)|reate(_(pair|listen))?|msg_space)|import_stream|write|l(isten|ast_error)|accept|re(cv(from|msg)?|ad)|get(sockname|_option|peername)|bind)\b + (?i)\bsocket_(s(hutdown|trerror|e(nd(to|msg)?|t(opt|_(nonblock|option|block))|lect))|c(onnect|l(ose|ear_error)|reate(_(pair|listen))?|msg_space)|import_stream|write|l(isten|ast_error)|accept|re(cv(from|msg)?|ad)|get(sockname|opt|_option|peername)|bind)\b name support.function.sockets.php @@ -3834,6 +3834,12 @@ name support.function.trader.php + + match + (?i)\bUI\(Draw\Text\Font\fontFamilies|quit|run)\b + name + support.function.ui.php + match (?i)\buopz_(co(py|mpose)|implement|overload|delete|undefine|extend|f(unction|lags)|re(store|name|define)|backup)\b @@ -3884,7 +3890,7 @@ match - (?i)\b(zlib_(decode|encode|get_coding_type)|readgzfile|gz(seek|c(ompress|lose)|tell|inflate|open|de(code|flate)|uncompress|p(uts|assthru)|e(ncode|of)|file|write|re(wind|ad)|get(s(s)?|c)))\b + (?i)\b(inflate_(init|add)|zlib_(decode|encode|get_coding_type)|deflate_(init|add)|readgzfile|gz(seek|c(ompress|lose)|tell|inflate|open|de(code|flate)|uncompress|p(uts|assthru)|e(ncode|of)|file|write|re(wind|ad)|get(s(s)?|c)))\b name support.function.zlib.php From 1d91862a3d118827aa4c0fb57672625a704410c0 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Sat, 1 Apr 2017 15:53:07 -0500 Subject: [PATCH 04/12] Inject into the new source.js scopes --- Syntaxes/PHP.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/PHP.plist b/Syntaxes/PHP.plist index 73cda65..8cf9425 100644 --- a/Syntaxes/PHP.plist +++ b/Syntaxes/PHP.plist @@ -25,7 +25,7 @@ (\*/|^\s*\}|^HTML;) injections - ^text.html - (meta.embedded | meta.tag), L:^text.html meta.tag, L:source.js.embedded.html + ^text.html - (meta.embedded | meta.tag), L:^text.html meta.tag, L:text.html.php source.js patterns From ded6a6bb30acfef05ccac893af0e8e70052f70a3 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Sat, 1 Apr 2017 15:56:37 -0500 Subject: [PATCH 05/12] Ensure word boundaries in indentation rules --- Preferences/Indentation Rules.tmPreferences | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Preferences/Indentation Rules.tmPreferences b/Preferences/Indentation Rules.tmPreferences index 817d844..5e63245 100644 --- a/Preferences/Indentation Rules.tmPreferences +++ b/Preferences/Indentation Rules.tmPreferences @@ -15,16 +15,16 @@ (\}) | (\)+[;,]) | (\][;,]) | - (else:) | - ((end(if|for(each)?|while|switch));) + \b (else:) | + \b ((end(if|for(each)?|while|switch));) ) increaseIndentPattern (?x) ( \{ (?! .+ \} ) .* - | array\( + | \b array\( | (\[) - | ((else)?if|else|for(each)?|while|switch) .* : + | \b ((else)?if|else|for(each)?|while|switch) .* : ) \s* (/[/*] .*)? $ indentNextLinePattern (?x)^ From 83298a02001b594c7a401d8f172d79fba3579ab5 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Sun, 16 Jul 2017 17:32:37 -0500 Subject: [PATCH 06/12] Escape strings before passing through regex generator This is needed due to `\` being used in some PHP identifiers. --- Support/generate/generate.rb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Support/generate/generate.rb b/Support/generate/generate.rb index 7664819..e7cd996 100755 --- a/Support/generate/generate.rb +++ b/Support/generate/generate.rb @@ -13,8 +13,15 @@ require '~/Library/Application Support/TextMate/Bundles/bundle-support.tmbundle/Support/shared/lib/osx/plist' data = JSON.parse(File.read(ARGV[0])) -classes = data['classes'] -sections = data['sections'] + +# Escape strings before passing though to regex building + +classes = data['classes'].map! { |name| Regexp.escape(name) } + +sections = { } +data['sections'].each { |section, values| + sections[section] = values.map! { |name| Regexp.escape(name) } +} # ================== # = Syntax writing = From 4c7ff9ab605e8c5e6e2ff74d79a7c2e5eb9b1c1e Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Sun, 16 Jul 2017 17:34:25 -0500 Subject: [PATCH 07/12] Update grammar, completions, etc. to PHP 7.1.7 This also fixes some escaping issues with the last generation pass mentioned in #78. --- Preferences/Completions.tmPreferences | 4 ++ Support/function-docs/de.txt | 16 ++++--- Support/function-docs/en.txt | 24 ++++++----- Support/function-docs/es.txt | 52 +++++++++++----------- Support/function-docs/fr.txt | 21 +++++---- Support/function-docs/ja.txt | 62 ++++++++++++++------------- Support/functions.plist | 20 +++++---- Syntaxes/PHP.plist | 12 +++--- 8 files changed, 120 insertions(+), 91 deletions(-) diff --git a/Preferences/Completions.tmPreferences b/Preferences/Completions.tmPreferences index 34b70a3..bc201dc 100644 --- a/Preferences/Completions.tmPreferences +++ b/Preferences/Completions.tmPreferences @@ -1266,6 +1266,7 @@ hash_equals hash_file hash_final + hash_hkdf hash_hmac hash_hmac_file hash_init @@ -1596,6 +1597,7 @@ is_infinite is_int is_integer + is_iterable is_link is_long is_nan @@ -2127,6 +2129,7 @@ oci_commit oci_connect oci_define_by_name + oci_disable_taf_callback oci_error oci_execute oci_fetch @@ -2157,6 +2160,7 @@ oci_parse oci_password_change oci_pconnect + oci_register_taf_callback oci_result oci_rollback oci_server_version diff --git a/Support/function-docs/de.txt b/Support/function-docs/de.txt index 6600252..d8ddea2 100644 --- a/Support/function-docs/de.txt +++ b/Support/function-docs/de.txt @@ -1,5 +1,5 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Constructs an APCIterator iterator object -APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%Constructs an AppendIterator ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%Construct an ArrayIterator ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%Construct a new array object @@ -105,7 +105,7 @@ MongoDB\BSON\UTCDateTime%object MongoDB\BSON\UTCDateTime([integer|float|string|D MongoDB\BSON\fromJSON%string MongoDB\BSON\fromJSON(string $json)%Returns the BSON representation of a JSON value MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value MongoDB\BSON\toJSON%string MongoDB\BSON\toJSON(string $bson)%Returns the JSON representation of a BSON value -MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = []])%Returns the PHP representation of a BSON value MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Create a new Command MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor()%Create a new Cursor (not used) @@ -996,7 +996,7 @@ get_resources%resource get_resources([string $type])%Returns active resources getallheaders%array getallheaders()%Liefert alle HTTP-Request-Header getcwd%string getcwd()%Ermittelt das aktuelle Arbeitsverzeichnis getdate%array getdate([int $timestamp = time()])%Gibt Datums- und Zeitinformationen zurück -getenv%string getenv(string $varname)%Liefert den Wert einer Umgebungsvariable +getenv%string getenv(string $varname, [bool $local_only = false])%Liefert den Wert einer Umgebungsvariable gethostbyaddr%string gethostbyaddr(string $ip_address)%Ermittelt den zur angegebenen IP-Adresse passenden Internet-Hostnamen gethostbyname%string gethostbyname(string $hostname)%Ermittelt die zum angegebenen Internet-Hostnamen passende IPv4-Adresse gethostbynamel%array gethostbynamel(string $hostname)%Ermittelt eine Liste von IPv4-Adressen passend zum angegebenen Internet-Hostnamen @@ -1079,7 +1079,7 @@ grapheme_strpos%int grapheme_strpos(string $haystack, string $needle, [int $offs grapheme_strripos%int grapheme_strripos(string $haystack, string $needle, [int $offset])%Find position (in grapheme units) of last occurrence of a case-insensitive string grapheme_strrpos%int grapheme_strrpos(string $haystack, string $needle, [int $offset])%Find position (in grapheme units) of last occurrence of a string grapheme_strstr%string grapheme_strstr(string $haystack, string $needle, [bool $before_needle = false])%Returns part of haystack string from the first occurrence of needle to the end of haystack. -grapheme_substr%int grapheme_substr(string $string, int $start, [int $length])%Return part of a string +grapheme_substr%string grapheme_substr(string $string, int $start, [int $length])%Return part of a string gregoriantojd%int gregoriantojd(int $month, int $day, int $year)%Konvertierung vom Gregorianischen Kalender zum Julianischen Datum gzclose%bool gzclose(resource $zp)%Schließt eine geöffnete gz-Datei gzcompress%string gzcompress(string $data, [int $level = -1], [int $encoding = ZLIB_ENCODING_DEFLATE])%Komprimiert einen String @@ -1107,6 +1107,7 @@ hash_copy%resource hash_copy(resource $context)%Dupliziert einen Hash-Kontext hash_equals%bool hash_equals(string $known_string, string $user_string)%Timing attack safe string comparison hash_file%string hash_file(string $algo, string $filename, [bool $raw_output = false])%Berechnet den Hash des Inhalts einer Datei hash_final%string hash_final(resource $context, [bool $raw_output = false])%Schließt einen schrittweisen Hashing-Vorgang ab und gibt sein Ergebnis zurück +hash_hkdf%string hash_hkdf(string $algo, string $ikm, [int $length], [string $info = ''], [string $salt = ''])%Generate a HKDF key derivation of a supplied key input hash_hmac%string hash_hmac(string $algo, string $data, string $key, [bool $raw_output = false])%Berechnet einen Hash mit Schlüssel unter Verwendung von HMAC hash_hmac_file%string hash_hmac_file(string $algo, string $filename, string $key, [bool $raw_output = false])%Berechnet einen Hash einer Datei mit Schlüssel unter Verwendung von HMAC hash_init%resource hash_init(string $algo, [int $options], [string $key])%Initialisiert einen schrittweisen Hashing-Kontext @@ -1437,6 +1438,7 @@ is_float%bool is_float(mixed $var)%Prüft, ob eine Variable vom Typ float ist is_infinite%float is_infinite(float $val)%Prüft ob ein Wert unendlich ist is_int%bool is_int(mixed $var)%Prüft, ob eine Variable vom Typ int ist is_integer%void is_integer()%Alias von is_int +is_iterable%array is_iterable(mixed $var)%Verify that the contents of a variable is an iterable value is_link%bool is_link(string $filename)%Prüft, ob der Dateiname ein symbolischer Link ist is_long%void is_long()%Alias von is_int is_nan%bool is_nan(float $val)%Prüft ob ein Wert keine Zahl ist @@ -1966,6 +1968,7 @@ oci_close%bool oci_close(resource $connection)%Schließt eine Oracle-Verbindung oci_commit%bool oci_commit(resource $connection)%Commits the outstanding database transaction oci_connect%resource oci_connect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Connect to an Oracle database oci_define_by_name%bool oci_define_by_name(resource $statement, string $column_name, mixed $variable, [int $type = SQLT_CHR])%Associates a PHP variable with a column for query fetches +oci_disable_taf_callback%bool oci_disable_taf_callback(resource $connection)%Disable a user-defined callback function for Oracle Database TAF oci_error%array oci_error([resource $source])%Liefert den letzten Fehler oci_execute%bool oci_execute(resource $statement, [int $mode = OCI_COMMIT_ON_SUCCESS])%Executes a statement oci_fetch%bool oci_fetch(resource $statement)%Holt die nächste Reihe in den Ergebnispuffer @@ -1996,6 +1999,7 @@ oci_num_rows%int oci_num_rows(resource $statement)%Returns number of rows affect oci_parse%resource oci_parse(resource $connection, string $sql_text)%Prepares an Oracle statement for execution oci_password_change%resource oci_password_change(resource $connection, string $username, string $old_password, string $new_password, string $dbname)%Changes password of Oracle's user oci_pconnect%resource oci_pconnect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Connect to an Oracle database using a persistent connection +oci_register_taf_callback%bool oci_register_taf_callback(resource $connection, mix $callbackFn)%Register a user-defined callback function for Oracle Database TAF oci_result%mixed oci_result(resource $statement, mixed $field)%Returns field's value from the fetched row oci_rollback%bool oci_rollback(resource $connection)%Rolls back the outstanding database transaction oci_server_version%string oci_server_version(resource $connection)%Returns the Oracle Database version @@ -2116,7 +2120,7 @@ openssl_csr_get_public_key%resource openssl_csr_get_public_key(mixed $csr, [bool openssl_csr_get_subject%array openssl_csr_get_subject(mixed $csr, [bool $use_shortnames])%Gibt das Subject eines CERT zurück openssl_csr_new%mixed openssl_csr_new(array $dn, resource $privkey, [array $configargs], [array $extraattribs])%Erzeugt einen CSR openssl_csr_sign%resource openssl_csr_sign(mixed $csr, mixed $cacert, mixed $priv_key, int $days, [array $configargs], [int $serial])%Signiert einen CSR mit einem anderen Zertifikat (oder sich selbst) und generiert ein Zertifikat -openssl_decrypt%string openssl_decrypt(string $data, string $method, string $password, [int $options], [string $iv = ""], [string $tag = ""], [string $aad = ""])%Decrypts data +openssl_decrypt%string openssl_decrypt(string $data, string $method, string $key, [int $options], [string $iv = ""], [string $tag = ""], [string $aad = ""])%Decrypts data openssl_dh_compute_key%string openssl_dh_compute_key(string $pub_key, resource $dh_key)%Computes shared secret for public value of remote DH key and local DH key openssl_digest%string openssl_digest(string $data, string $method, [bool $raw_output = false])%Computes a digest openssl_encrypt%string openssl_encrypt(string $data, string $method, string $password, [int $options], [string $iv = ""])%Verschlüsselt Daten @@ -2424,7 +2428,7 @@ require_once%bool require_once(string $path)%Includes and evaluates the specifie reset%mixed reset(array $array)%Setzt den internen Zeiger eines Arrays auf sein erstes Element resourcebundle_count%int resourcebundle_count(ResourceBundle $r)%Get number of elements in the bundle resourcebundle_create%ResourceBundle resourcebundle_create(string $locale, string $bundlename, [bool $fallback])%Create a resource bundle -resourcebundle_get%mixed resourcebundle_get(string|int $index, ResourceBundle $r)%Get data from the bundle +resourcebundle_get%mixed resourcebundle_get(string|int $index, [bool $fallback], ResourceBundle $r)%Get data from the bundle resourcebundle_get_error_code%int resourcebundle_get_error_code(ResourceBundle $r)%Get bundle's last error code. resourcebundle_get_error_message%string resourcebundle_get_error_message(ResourceBundle $r)%Get bundle's last error message. resourcebundle_locales%array resourcebundle_locales(string $bundlename)%Get supported locales diff --git a/Support/function-docs/en.txt b/Support/function-docs/en.txt index 10e1621..51234bf 100644 --- a/Support/function-docs/en.txt +++ b/Support/function-docs/en.txt @@ -1,5 +1,5 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Constructs an APCIterator iterator object -APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%Constructs an AppendIterator ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%Construct an ArrayIterator ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%Construct a new array object @@ -105,7 +105,7 @@ MongoDB\BSON\UTCDateTime%object MongoDB\BSON\UTCDateTime([integer|float|string|D MongoDB\BSON\fromJSON%string MongoDB\BSON\fromJSON(string $json)%Returns the BSON representation of a JSON value MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value MongoDB\BSON\toJSON%string MongoDB\BSON\toJSON(string $bson)%Returns the JSON representation of a BSON value -MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = []])%Returns the PHP representation of a BSON value MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Create a new Command MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor()%Create a new Cursor (not used) @@ -714,9 +714,9 @@ escapeshellcmd%string escapeshellcmd(string $command)%Escape shell metacharacter eval%mixed eval(string $code)%Evaluate a string as PHP code exec%string exec(string $command, [array $output], [int $return_var])%Execute an external program exif_imagetype%int exif_imagetype(string $filename)%Determine the type of an image -exif_read_data%array exif_read_data(string $filename, [string $sections], [bool $arrays = false], [bool $thumbnail = false])%Reads the EXIF headers from JPEG or TIFF +exif_read_data%array exif_read_data(mixed $stream, [string $sections], [bool $arrays = false], [bool $thumbnail = false])%Reads the EXIF headers from an image file exif_tagname%string exif_tagname(int $index)%Get the header name for an index -exif_thumbnail%string exif_thumbnail(string $filename, [int $width], [int $height], [int $imagetype])%Retrieve the embedded thumbnail of a TIFF or JPEG image +exif_thumbnail%string exif_thumbnail(mixed $stream, [int $width], [int $height], [int $imagetype])%Retrieve the embedded thumbnail of an image exit%void exit(int $status)%Output a message and terminate the current script exp%float exp(float $arg)%Calculates the exponent of e explode%array explode(string $delimiter, string $string, [int $limit = PHP_INT_MAX])%Split a string by string @@ -996,7 +996,7 @@ get_resources%resource get_resources([string $type])%Returns active resources getallheaders%array getallheaders()%Fetch all HTTP request headers getcwd%string getcwd()%Gets the current working directory getdate%array getdate([int $timestamp = time()])%Get date/time information -getenv%string getenv(string $varname)%Gets the value of an environment variable +getenv%string getenv(string $varname, [bool $local_only = false])%Gets the value of an environment variable gethostbyaddr%string gethostbyaddr(string $ip_address)%Get the Internet host name corresponding to a given IP address gethostbyname%string gethostbyname(string $hostname)%Get the IPv4 address corresponding to a given Internet host name gethostbynamel%array gethostbynamel(string $hostname)%Get a list of IPv4 addresses corresponding to a given Internet host name @@ -1079,7 +1079,7 @@ grapheme_strpos%int grapheme_strpos(string $haystack, string $needle, [int $offs grapheme_strripos%int grapheme_strripos(string $haystack, string $needle, [int $offset])%Find position (in grapheme units) of last occurrence of a case-insensitive string grapheme_strrpos%int grapheme_strrpos(string $haystack, string $needle, [int $offset])%Find position (in grapheme units) of last occurrence of a string grapheme_strstr%string grapheme_strstr(string $haystack, string $needle, [bool $before_needle = false])%Returns part of haystack string from the first occurrence of needle to the end of haystack. -grapheme_substr%int grapheme_substr(string $string, int $start, [int $length])%Return part of a string +grapheme_substr%string grapheme_substr(string $string, int $start, [int $length])%Return part of a string gregoriantojd%int gregoriantojd(int $month, int $day, int $year)%Converts a Gregorian date to Julian Day Count gzclose%bool gzclose(resource $zp)%Close an open gz-file pointer gzcompress%string gzcompress(string $data, [int $level = -1], [int $encoding = ZLIB_ENCODING_DEFLATE])%Compress a string @@ -1107,6 +1107,7 @@ hash_copy%resource hash_copy(resource $context)%Copy hashing context hash_equals%bool hash_equals(string $known_string, string $user_string)%Timing attack safe string comparison hash_file%string hash_file(string $algo, string $filename, [bool $raw_output = false])%Generate a hash value using the contents of a given file hash_final%string hash_final(resource $context, [bool $raw_output = false])%Finalize an incremental hash and return resulting digest +hash_hkdf%string hash_hkdf(string $algo, string $ikm, [int $length], [string $info = ''], [string $salt = ''])%Generate a HKDF key derivation of a supplied key input hash_hmac%string hash_hmac(string $algo, string $data, string $key, [bool $raw_output = false])%Generate a keyed hash value using the HMAC method hash_hmac_file%string hash_hmac_file(string $algo, string $filename, string $key, [bool $raw_output = false])%Generate a keyed hash value using the HMAC method and the contents of a given file hash_init%resource hash_init(string $algo, [int $options], [string $key])%Initialize an incremental hashing context @@ -1437,6 +1438,7 @@ is_float%bool is_float(mixed $var)%Finds whether the type of a variable is float is_infinite%bool is_infinite(float $val)%Finds whether a value is infinite is_int%bool is_int(mixed $var)%Find whether the type of a variable is integer is_integer%void is_integer()%Alias of is_int +is_iterable%array is_iterable(mixed $var)%Verify that the contents of a variable is an iterable value is_link%bool is_link(string $filename)%Tells whether the filename is a symbolic link is_long%void is_long()%Alias of is_int is_nan%bool is_nan(float $val)%Finds whether a value is not a number @@ -1916,7 +1918,7 @@ mysqlnd_uh_set_connection_proxy%bool mysqlnd_uh_set_connection_proxy(MysqlndUhCo mysqlnd_uh_set_statement_proxy%bool mysqlnd_uh_set_statement_proxy(MysqlndUhStatement $statement_proxy)%Installs a proxy for mysqlnd statements natcasesort%bool natcasesort(array $array)%Sort an array using a case insensitive "natural order" algorithm natsort%bool natsort(array $array)%Sort an array using a "natural order" algorithm -next%mixed next(array $array)%Advance the internal array pointer of an array +next%mixed next(array $array)%Advance the internal pointer of an array ngettext%string ngettext(string $msgid1, string $msgid2, int $n)%Plural version of gettext nl2br%string nl2br(string $string, [bool $is_xhtml = true])%Inserts HTML line breaks before all newlines in a string nl_langinfo%string nl_langinfo(int $item)%Query language and locale information @@ -1966,6 +1968,7 @@ oci_close%bool oci_close(resource $connection)%Closes an Oracle connection oci_commit%bool oci_commit(resource $connection)%Commits the outstanding database transaction oci_connect%resource oci_connect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Connect to an Oracle database oci_define_by_name%bool oci_define_by_name(resource $statement, string $column_name, mixed $variable, [int $type = SQLT_CHR])%Associates a PHP variable with a column for query fetches +oci_disable_taf_callback%bool oci_disable_taf_callback(resource $connection)%Disable a user-defined callback function for Oracle Database TAF oci_error%array oci_error([resource $resource])%Returns the last error found oci_execute%bool oci_execute(resource $statement, [int $mode = OCI_COMMIT_ON_SUCCESS])%Executes a statement oci_fetch%bool oci_fetch(resource $statement)%Fetches the next row from a query into internal buffers @@ -1996,6 +1999,7 @@ oci_num_rows%int oci_num_rows(resource $statement)%Returns number of rows affect oci_parse%resource oci_parse(resource $connection, string $sql_text)%Prepares an Oracle statement for execution oci_password_change%resource oci_password_change(resource $connection, string $username, string $old_password, string $new_password, string $dbname)%Changes password of Oracle's user oci_pconnect%resource oci_pconnect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Connect to an Oracle database using a persistent connection +oci_register_taf_callback%bool oci_register_taf_callback(resource $connection, mix $callbackFn)%Register a user-defined callback function for Oracle Database TAF oci_result%mixed oci_result(resource $statement, mixed $field)%Returns field's value from the fetched row oci_rollback%bool oci_rollback(resource $connection)%Rolls back the outstanding database transaction oci_server_version%string oci_server_version(resource $connection)%Returns the Oracle Database version @@ -2116,10 +2120,10 @@ openssl_csr_get_public_key%resource openssl_csr_get_public_key(mixed $csr, [bool openssl_csr_get_subject%array openssl_csr_get_subject(mixed $csr, [bool $use_shortnames = true])%Returns the subject of a CERT openssl_csr_new%mixed openssl_csr_new(array $dn, resource $privkey, [array $configargs], [array $extraattribs])%Generates a CSR openssl_csr_sign%resource openssl_csr_sign(mixed $csr, mixed $cacert, mixed $priv_key, int $days, [array $configargs], [int $serial])%Sign a CSR with another certificate (or itself) and generate a certificate -openssl_decrypt%string openssl_decrypt(string $data, string $method, string $password, [int $options], [string $iv = ""], [string $tag = ""], [string $aad = ""])%Decrypts data +openssl_decrypt%string openssl_decrypt(string $data, string $method, string $key, [int $options], [string $iv = ""], [string $tag = ""], [string $aad = ""])%Decrypts data openssl_dh_compute_key%string openssl_dh_compute_key(string $pub_key, resource $dh_key)%Computes shared secret for public value of remote DH key and local DH key openssl_digest%string openssl_digest(string $data, string $method, [bool $raw_output = false])%Computes a digest -openssl_encrypt%string openssl_encrypt(string $data, string $method, string $password, [int $options], [string $iv = ""], [string $tag = NULL], [string $aad = ""], [int $tag_length = 16])%Encrypts data +openssl_encrypt%string openssl_encrypt(string $data, string $method, string $key, [int $options], [string $iv = ""], [string $tag = NULL], [string $aad = ""], [int $tag_length = 16])%Encrypts data openssl_error_string%string openssl_error_string()%Return openSSL error message openssl_free_key%void openssl_free_key(resource $key_identifier)%Free key resource openssl_get_cert_locations%array openssl_get_cert_locations()%Retrieve the available certificate locations @@ -2424,7 +2428,7 @@ require_once%bool require_once(string $path)%Includes and evaluates the specifie reset%mixed reset(array $array)%Set the internal pointer of an array to its first element resourcebundle_count%int resourcebundle_count(ResourceBundle $r)%Get number of elements in the bundle resourcebundle_create%ResourceBundle resourcebundle_create(string $locale, string $bundlename, [bool $fallback])%Create a resource bundle -resourcebundle_get%mixed resourcebundle_get(string|int $index, ResourceBundle $r)%Get data from the bundle +resourcebundle_get%mixed resourcebundle_get(string|int $index, [bool $fallback], ResourceBundle $r)%Get data from the bundle resourcebundle_get_error_code%int resourcebundle_get_error_code(ResourceBundle $r)%Get bundle's last error code. resourcebundle_get_error_message%string resourcebundle_get_error_message(ResourceBundle $r)%Get bundle's last error message. resourcebundle_locales%array resourcebundle_locales(string $bundlename)%Get supported locales diff --git a/Support/function-docs/es.txt b/Support/function-docs/es.txt index fcfa027..ebfee21 100644 --- a/Support/function-docs/es.txt +++ b/Support/function-docs/es.txt @@ -1,5 +1,5 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Construye un objeto iterador APCIterator -APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%Construye un AppendIterator ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%Construye un ArrayIterator ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%Construir un nuevo objeto Array @@ -106,7 +106,7 @@ MongoDB\BSON\UTCDateTime%object MongoDB\BSON\UTCDateTime([integer|float|string|D MongoDB\BSON\fromJSON%string MongoDB\BSON\fromJSON(string $json)%Returns the BSON representation of a JSON value MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value MongoDB\BSON\toJSON%string MongoDB\BSON\toJSON(string $bson)%Returns the JSON representation of a BSON value -MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = []])%Returns the PHP representation of a BSON value MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Create a new Command MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor()%Create a new Cursor (not used) @@ -226,7 +226,7 @@ UI\Draw\Path%object UI\Draw\Path([integer $mode = UI\Draw\Path::Winding])%Constr UI\Draw\Stroke%object UI\Draw\Stroke([integer $cap = UI\Draw\Line\Cap::Flat], [integer $join = UI\Draw\Line\Join::Miter], [float $thickness = 1], [float $miterLimit = 10])%Construct a new Stroke UI\Draw\Text\Font%object UI\Draw\Text\Font(UI\Draw\Text\Font\Descriptor $descriptor)%Construct a new Font UI\Draw\Text\Font\Descriptor%object UI\Draw\Text\Font\Descriptor(string $family, float $size, [integer $weight = UI\Draw\Text\Font\Weight::Normal], [integer $italic = UI\Draw\Text\Font\Italic::Normal], [integer $stretch = UI\Draw\Text\Font\Stretch::Normal])%Construct a new Font Descriptor -UI\Draw\Text\Font\fontFamilies%array UI\Draw\Text\Font\fontFamilies()%Retrieve Font Families +UI\Draw\Text\Font\fontFamilies%array UI\Draw\Text\Font\fontFamilies()%Recuperar las familias de fuentes UI\Draw\Text\Layout%object UI\Draw\Text\Layout(string $text, UI\Draw\Text\Font $font, float $width)%Construct a new Text Layout UI\Executor%object UI\Executor(integer $microseconds, integer $seconds)%Construct a new Executor UI\Menu%object UI\Menu(string $name)%Construct a new Menu @@ -312,7 +312,7 @@ apcu_cache_info%array apcu_cache_info([bool $limited = false])%Retrieves cached apcu_cas%bool apcu_cas(string $key, int $old, int $new)%Updates an old value with a new value apcu_clear_cache%bool apcu_clear_cache()%Clears the APCu cache apcu_dec%int apcu_dec(string $key, [int $step = 1], [bool $success])%Decrease a stored number -apcu_delete%bool apcu_delete(mixed $key)%Removes a stored variable from the cache +apcu_delete%bool apcu_delete(mixed $key)%Elimina una variable almacenada en caché apcu_entry%mixed apcu_entry(string $key, callable $generator, [int $ttl])%Atomically fetch or generate a cache entry apcu_exists%mixed apcu_exists(mixed $keys)%Checks if entry exists apcu_fetch%mixed apcu_fetch(mixed $key, [bool $success])%Fetch a stored variable from the cache @@ -970,14 +970,14 @@ get_browser%mixed get_browser([string $user_agent], [bool $return_array = false] get_called_class%string get_called_class()%El nombre de la clase "Vinculante Static Última" get_cfg_var%string get_cfg_var(string $option)%Obtiene el valor de una opción de configuración de PHP get_class%string get_class([object $object])%Devuelve el nombre de la clase de un objeto -get_class_methods%array get_class_methods(mixed $class_name)%Obtiene los nombres de los métdos de una clase +get_class_methods%array get_class_methods(mixed $class_name)%Obtiene los nombres de los métodos de una clase get_class_vars%array get_class_vars(string $class_name)%Obtener las propiedades predeterminadas de una clase get_current_user%string get_current_user()%Obtiene el nombre del propietario del script PHP actual get_declared_classes%array get_declared_classes()%Devuelve una matriz con los nombres de las clases definidas get_declared_interfaces%array get_declared_interfaces()%Devuelve un array con todas las interfaces declaradas get_declared_traits%array get_declared_traits()%Devuelve un array de todos los traits declarados get_defined_constants%array get_defined_constants([bool $categorize = false])%Devuelve un array asociativo con los nombres de todas las constantes y sus valores -get_defined_functions%array get_defined_functions()%Devuelve una matriz de todas las funciones definidas +get_defined_functions%array get_defined_functions([bool $exclude_disabled])%Devuelve un array de todas las funciones definidas get_defined_vars%array get_defined_vars()%Devuelve una matriz con todas las variables definidas get_extension_funcs%array get_extension_funcs(string $module_name)%Devuelve una matriz con los nombres de funciones de un módulo get_headers%array get_headers(string $url, [int $format])%Recupera todas las cabeceras enviadas por el servidor en respuesta a una petición HTTP @@ -1004,7 +1004,7 @@ gethostname%string gethostname()%Obtiene el nombre de host getimagesize%array getimagesize(string $filename, [array $imageinfo])%Obtener el tamaño de una imagen getimagesizefromstring%array getimagesizefromstring(string $imagedata, [array $imageinfo])%Obtener el tamaño de una imagen desde una cadena getlastmod%int getlastmod()%Obtiene la hora de la última modificación de la página -getmxrr%bool getmxrr(string $hostname, array $mxhosts, [array $weight])%Obtener lod registros MX correspondientes a un nombre de host de Internet +getmxrr%bool getmxrr(string $hostname, array $mxhosts, [array $weight])%Obtener los registros MX correspondientes a un nombre de host de Internet getmygid%int getmygid()%Obtener el GID del dueño del script PHP getmyinode%int getmyinode()%Obtiene el inode del script actual getmypid%int getmypid()%Obtiene el ID del proceso PHP @@ -1107,6 +1107,7 @@ hash_copy%resource hash_copy(resource $context)%Copia un recurso de contexto de hash_equals%bool hash_equals(string $known_string, string $user_string)%Comparación de strings segura contra ataques de temporización hash_file%string hash_file(string $algo, string $filename, [bool $raw_output = false])%Genera un valor cifrado usando el contenido de un fichero dado hash_final%string hash_final(resource $context, [bool $raw_output = false])%Finaliza un contexto incremental y devuelve el resultado cifrado +hash_hkdf%string hash_hkdf(string $algo, string $ikm, [int $length], [string $info = ''], [string $salt = ''])%Generate a HKDF key derivation of a supplied key input hash_hmac%string hash_hmac(string $algo, string $data, string $key, [bool $raw_output = false])%Genera un valor cifrado mediante una clave especificada usando el método HMAC hash_hmac_file%string hash_hmac_file(string $algo, string $filename, string $key, [bool $raw_output = false])%Genera un valor cifrado mediante una clave especificada usando el método HMAC y el contenido de un fichero dado hash_init%resource hash_init(string $algo, [int $options], [string $key])%Inicializa un contexto incremental para cifrar @@ -1437,6 +1438,7 @@ is_float%bool is_float(mixed $var)%Comprueba si el tipo de una variable es float is_infinite%bool is_infinite(float $val)%Encuentra si un valor es infinito is_int%bool is_int(mixed $var)%Comprueba si el tipo de una variable es integer is_integer%void is_integer()%Alias de is_int +is_iterable%array is_iterable(mixed $var)%Verify that the contents of a variable is an iterable value is_link%bool is_link(string $filename)%Indica si el nombre de archivo es un enlace simbólico is_long%void is_long()%Alias de is_int is_nan%bool is_nan(float $val)%Encuentra si un valor no es un número @@ -1667,7 +1669,7 @@ mcrypt_module_is_block_mode%bool mcrypt_module_is_block_mode(string $mode, [stri mcrypt_module_open%resource mcrypt_module_open(string $algorithm, string $algorithm_directory, string $mode, string $mode_directory)%Abre el módulo del algoritmo y el modo a ser utilizados mcrypt_module_self_test%bool mcrypt_module_self_test(string $algorithm, [string $lib_dir])%Esta función ejecuta una prueba automática sobre el módulo especificado mcrypt_ofb%string mcrypt_ofb(string $cipher, string $key, string $data, int $mode, [string $iv])%Encripta/desencripta datos en modo OFB -md5%string md5(string $str, [bool $raw_output = false])%Calcula el hash md5 de un string +md5%string md5(string $str, [bool $raw_output = false])%Calcula el 'hash' md5 de un string md5_file%string md5_file(string $filename, [bool $raw_output = false])%Calcula el resumen criptográfico md5 de un archivo dado mdecrypt_generic%string mdecrypt_generic(resource $td, string $data)%Desencripta datos memcache_debug%bool memcache_debug(bool $on_off)%Activa/desactiva debug output @@ -1966,6 +1968,7 @@ oci_close%bool oci_close(resource $connection)%Cierra una conexión a Oracle oci_commit%bool oci_commit(resource $connection)%Consigna la transacción pendiente de la base de datos oci_connect%resource oci_connect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Conecta a una base de datos de Oracle oci_define_by_name%bool oci_define_by_name(resource $statement, string $column_name, mixed $variable, [int $type = SQLT_CHR])%Asocia una variable de PHP con una columna para la obtención de consultas +oci_disable_taf_callback%bool oci_disable_taf_callback(resource $connection)%Inhabilitar una función de retrollamada definida por el usuario para TAF de Oracle Database oci_error%array oci_error([resource $resource])%Devuelve el último error encontrado oci_execute%bool oci_execute(resource $statement, [int $mode = OCI_COMMIT_ON_SUCCESS])%Ejecuta una sentencia oci_fetch%bool oci_fetch(resource $statement)%Coloca la siguiente fila de una consulta en los búferes internos @@ -1990,12 +1993,13 @@ oci_lob_is_equal%bool oci_lob_is_equal(OCI-Lob $lob1, OCI-Lob $lob2)%Compara dos oci_new_collection%OCI-Collection oci_new_collection(resource $connection, string $tdo, [string $schema])%Asigna un nuevo objeto colección oci_new_connect%resource oci_new_connect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Conectar al servidor de Oracle usando una conexión única oci_new_cursor%resource oci_new_cursor(resource $connection)%Asigna y devuelve un nuevo cursor (gestor de sentencia) -oci_new_descriptor%OCI-Lob oci_new_descriptor(resource $connection, [int $type = OCI_DTYPE_LOB])%Inicializa un nuevo descriptor vacío LOB o FILE +oci_new_descriptor%OCI-Lob oci_new_descriptor(resource $connection, [int $type = OCI_DTYPE_LOB])%Inicializa un nuevo descriptor LOB o FILE vacío oci_num_fields%int oci_num_fields(resource $statement)%Devuelve el número de columnas del resultado de una sentencia oci_num_rows%int oci_num_rows(resource $statement)%Devuelve el número de filas afectadas durante la ejecución de una sentencia oci_parse%resource oci_parse(resource $connection, string $sql_text)%Prepara una sentencia de Oracle para su ejecución oci_password_change%resource oci_password_change(resource $connection, string $username, string $old_password, string $new_password, string $dbname)%Cambia la contraseña de un usuario de Oracle oci_pconnect%resource oci_pconnect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Conectar a una base de datos de Oracle usando una conexión persistente +oci_register_taf_callback%bool oci_register_taf_callback(resource $connection, mix $callbackFn)%Registrar una función de retrollamada definida por el usuario para TAF de Oracle Database oci_result%mixed oci_result(resource $statement, mixed $field)%Devuelve el valor de un campo de la fila obtenida oci_rollback%bool oci_rollback(resource $connection)%Revierte la transacción pendiente de la base de datos oci_server_version%string oci_server_version(resource $connection)%Devuelve la versión de Oracle Database @@ -2205,8 +2209,8 @@ pg_affected_rows%int pg_affected_rows(resource $result)%Devuelve el número de r pg_cancel_query%bool pg_cancel_query(resource $connection)%Cancelar una consulta asíncrona pg_client_encoding%string pg_client_encoding([resource $connection])%Obtiene la codificación del cliente pg_close%bool pg_close([resource $connection])%Cierra una conexión PostgreSQL -pg_connect%resource pg_connect(string $connection_string, [int $connect_type])%Abrir una conexión a PostgreSQL -pg_connect_poll%int pg_connect_poll([resource $connection])%Poll the status of an in-progress asynchronous PostgreSQL connection attempt. +pg_connect%resource pg_connect(string $connection_string, [int $connect_type])%Abre una conexión a PostgreSQL +pg_connect_poll%int pg_connect_poll([resource $connection])%Verifica el estado de un intento de conexión asíncrono en curso de PostgreSQL pg_connection_busy%bool pg_connection_busy(resource $connection)%Permite saber si la conexión esta ocupada o no pg_connection_reset%bool pg_connection_reset(resource $connection)%Restablece conexión (reconectar) pg_connection_status%int pg_connection_status(resource $connection)%Obtener estado de la conexión @@ -2222,7 +2226,7 @@ pg_escape_identifier%string pg_escape_identifier([resource $connection], string pg_escape_literal%string pg_escape_literal([resource $connection], string $data)%Escape a literal for insertion into a text field pg_escape_string%string pg_escape_string([resource $connection], string $data)%Escape a string for query pg_execute%resource pg_execute([resource $connection], string $stmtname, array $params)%Envía una solicitud para ejecutar una setencia preparada con parámetros dados, y espera el resultado -pg_fetch_all%array pg_fetch_all(resource $result)%Fetches all rows from a result as an array +pg_fetch_all%array pg_fetch_all(resource $result)%Obtiene todas las filas de un resultado como un array pg_fetch_all_columns%array pg_fetch_all_columns(resource $result, [int $column])%Fetches all rows in a particular result column as an array pg_fetch_array%array pg_fetch_array(resource $result, [int $row], [int $result_type = PGSQL_BOTH])%Fetch a row as an array pg_fetch_assoc%array pg_fetch_assoc(resource $result, [int $row])%Fetch a row as an associative array @@ -2235,17 +2239,17 @@ pg_field_num%int pg_field_num(resource $result, string $field_name)%Returns the pg_field_prtlen%integer pg_field_prtlen(resource $result, int $row_number, mixed $field_name_or_number)%Returns the printed length pg_field_size%int pg_field_size(resource $result, int $field_number)%Returns the internal storage size of the named field pg_field_table%mixed pg_field_table(resource $result, int $field_number, [bool $oid_only = false])%Returns the name or oid of the tables field -pg_field_type%string pg_field_type(resource $result, int $field_number)%Returns the type name for the corresponding field number +pg_field_type%string pg_field_type(resource $result, int $field_number)%Devuelve el nombre de tipo para el número de campo correspondiente pg_field_type_oid%int pg_field_type_oid(resource $result, int $field_number)%Returns the type ID (OID) for the corresponding field number pg_flush%mixed pg_flush(resource $connection)%Flush outbound query data on the connection pg_free_result%resource pg_free_result(resource $result)%Free result memory pg_get_notify%array pg_get_notify(resource $connection, [int $result_type])%Gets SQL NOTIFY message pg_get_pid%int pg_get_pid(resource $connection)%Gets the backend's process ID pg_get_result%resource pg_get_result([resource $connection])%Get asynchronous query result -pg_host%string pg_host([resource $connection])%Returns the host name associated with the connection +pg_host%string pg_host([resource $connection])%Devuelve el nombre de host asociado a la conexión pg_insert%mixed pg_insert(resource $connection, string $table_name, array $assoc_array, [int $options = PGSQL_DML_EXEC])%Insert array into table -pg_last_error%string pg_last_error([resource $connection])%Get the last error message string of a connection -pg_last_notice%string pg_last_notice(resource $connection)%Returns the last notice message from PostgreSQL server +pg_last_error%string pg_last_error([resource $connection])%Obtiene una cadena con el último mensaje de error de la conexión +pg_last_notice%string pg_last_notice(resource $connection)%Devuelve el último aviso del servidor PostgreSQL pg_last_oid%string pg_last_oid(resource $result)%Returns the last row's OID pg_lo_close%bool pg_lo_close(resource $large_object)%Close a large object pg_lo_create%int pg_lo_create([resource $connection], mixed $object_id)%Create a large object @@ -2262,9 +2266,9 @@ pg_lo_write%int pg_lo_write(resource $large_object, string $data, [int $len])%Wr pg_meta_data%array pg_meta_data(resource $connection, string $table_name, [bool $extended])%Get meta data for table pg_num_fields%int pg_num_fields(resource $result)%Returns the number of fields in a result pg_num_rows%int pg_num_rows(resource $result)%Returns the number of rows in a result -pg_options%string pg_options([resource $connection])%Get the options associated with the connection +pg_options%string pg_options([resource $connection])%Obtener las opciones asociadas con la conexión pg_parameter_status%string pg_parameter_status([resource $connection], string $param_name)%Looks up a current parameter setting of the server. -pg_pconnect%resource pg_pconnect(string $connection_string, [int $connect_type])%Open a persistent PostgreSQL connection +pg_pconnect%resource pg_pconnect(string $connection_string, [int $connect_type])%Abre una conexión persistente a PostgreSQL pg_ping%bool pg_ping([resource $connection])%Ping a conexión de base de datos pg_port%int pg_port([resource $connection])%Devuelve el número de puerto asociado con la conexión pg_prepare%resource pg_prepare([resource $connection], string $stmtname, string $query)%Submits a request to create a prepared statement with the given parameters, and waits for completion. @@ -2282,13 +2286,13 @@ pg_send_query%bool pg_send_query(resource $connection, string $query)%Sends asyn pg_send_query_params%bool pg_send_query_params(resource $connection, string $query, array $params)%Submits a command and separate parameters to the server without waiting for the result(s). pg_set_client_encoding%int pg_set_client_encoding([resource $connection], string $encoding)%Set the client encoding pg_set_error_verbosity%int pg_set_error_verbosity([resource $connection], int $verbosity)%Determines the verbosity of messages returned by pg_last_error and pg_result_error. -pg_socket%resource pg_socket(resource $connection)%Get a read only handle to the socket underlying a PostgreSQL connection +pg_socket%resource pg_socket(resource $connection)%Obtener un identificador de sólo lectura en el socket subyacente a una conexión de PostgreSQL pg_trace%bool pg_trace(string $pathname, [string $mode = "w"], [resource $connection])%Enable tracing a PostgreSQL connection -pg_transaction_status%int pg_transaction_status(resource $connection)%Returns the current in-transaction status of the server. -pg_tty%string pg_tty([resource $connection])%Return the TTY name associated with the connection +pg_transaction_status%int pg_transaction_status(resource $connection)%Devuelve el estado actual de la transaccion del servidor +pg_tty%string pg_tty([resource $connection])%Devolver el nombre TTY asociado con la conexión pg_unescape_bytea%string pg_unescape_bytea(string $data)%Unescape binary for bytea type -pg_untrace%bool pg_untrace([resource $connection])%Disable tracing of a PostgreSQL connection -pg_update%mixed pg_update(resource $connection, string $table_name, array $data, array $condition, [int $options = PGSQL_DML_EXEC])%Update table +pg_untrace%bool pg_untrace([resource $connection])%Desactivar el rastreo de una conexión de PostgreSQL +pg_update%mixed pg_update(resource $connection, string $table_name, array $data, array $condition, [int $options = PGSQL_DML_EXEC])%Actualizar tabla pg_version%array pg_version([resource $connection])%Devuelve un array con el cliente, protocolo y versión del servidor (si está disponible) php_check_syntax%bool php_check_syntax(string $filename, [string $error_message])%Verifica la sintaxis PHP del archivo especificado (y lo ejecuta) php_ini_loaded_file%string php_ini_loaded_file()%Recupera la ruta de acceso al archivo php.ini cargado @@ -2496,7 +2500,7 @@ setproctitle%void setproctitle(string $title)%Establecer el título de proceso setrawcookie%bool setrawcookie(string $name, [string $value], [int $expire], [string $path], [string $domain], [bool $secure = false], [bool $httponly = false])%Enviar una cookie sin codificar su valor setthreadtitle%bool setthreadtitle(string $title)%Set the thread title settype%bool settype(mixed $var, string $type)%Establece el tipo de una variable -sha1%string sha1(string $str, [bool $raw_output = false])%Calcula el hash sha1 de un string +sha1%string sha1(string $str, [bool $raw_output = false])%Calcula el 'hash' sha1 de un string sha1_file%string sha1_file(string $filename, [bool $raw_output = false])%Calcula el hash sha1 de un archivo shell_exec%string shell_exec(string $cmd)%Ejecutar un comando mediante el intérprete de comandos y devolver la salida completa como una cadena shm_attach%resource shm_attach(int $key, [int $memsize], [int $perm = 0666])%Crea o abre un segmento de memoria compartida diff --git a/Support/function-docs/fr.txt b/Support/function-docs/fr.txt index 5c82091..a310c6e 100644 --- a/Support/function-docs/fr.txt +++ b/Support/function-docs/fr.txt @@ -1,5 +1,5 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Construit un objet d'itération APCIterator -APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%Construit un objet AppendIterator ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%Construit un ArrayIterator ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%Construit un nouvel objet tableau @@ -105,7 +105,7 @@ MongoDB\BSON\MinKey%object MongoDB\BSON\MinKey()%Construct a new MinKey MongoDB\BSON\ObjectID%object MongoDB\BSON\ObjectID([string $id])%Construit un nouvel ObjectID MongoDB\BSON\Regex%object MongoDB\BSON\Regex(string $pattern, string $flags)%Construit une nouvelle REGEX MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value -MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = []])%Returns the PHP representation of a BSON value MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Crée une nouvelle commande MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor(Server $server, string $responseDocument)%Description @@ -182,7 +182,7 @@ SoapFault%object SoapFault(string $faultcode, string $faultstring, [string $faul SoapHeader%object SoapHeader(string $namespace, string $name, [mixed $data], [bool $mustunderstand], [string $actor])%Constructeur SoapHeader SoapParam%object SoapParam(mixed $data, string $name)%Constructeur SoapParam SoapServer%object SoapServer(mixed $wsdl, [array $options])%Constructeur SoapServer -SoapVar%object SoapVar(string $data, string $encoding, [string $type_name], [string $type_namespace], [string $node_name], [string $node_namespace])%Constructeur SoapVar +SoapVar%object SoapVar(mixed $data, string $encoding, [string $type_name], [string $type_namespace], [string $node_name], [string $node_namespace])%Constructeur SoapVar SphinxClient%object SphinxClient()%Crée un nouvel objet SphinxClient SplDoublyLinkedList%object SplDoublyLinkedList()%Construit une nouvelle liste SplFileInfo%object SplFileInfo(string $file_name)%Construit un nouvel objet SplFileInfo @@ -196,10 +196,11 @@ SplTempFileObject%object SplTempFileObject([int $max_memory])%Construit un nouve SplType%object SplType([mixed $initial_value], [bool $strict])%Crée une nouvelle valeur d'un certain type Spoofchecker%object Spoofchecker()%Constructeur Swish%object Swish(string $index_names)%Construit un objet Swish -SyncEvent%object SyncEvent([string $name], [bool $manual])%Construit un nouvel objet SyncEvent +SyncEvent%object SyncEvent([string $name], [bool $manual = false], [bool $prefire = false])%Construit un nouvel objet SyncEvent SyncMutex%object SyncMutex([string $name])%Construit un nouvel objet SyncMutex SyncReaderWriter%object SyncReaderWriter([string $name], [bool $autounlock = true])%Construit un nouvel objet SyncReaderWriter SyncSemaphore%object SyncSemaphore([string $name], [integer $initialval = 1], [bool $autounlock = true])%Construit un nouvel objet SyncSemaphore +SyncSharedMemory%object SyncSharedMemory(string $name, integer $size)%Constructs a new SyncSharedMemory object TokyoTyrant%object TokyoTyrant([string $host], [int $port = TokyoTyrant::RDBDEF_PORT], [array $options])%Construit un nouvel objet TokyoTyrant TokyoTyrantIterator%object TokyoTyrantIterator(mixed $object)%Construit un itérateur TokyoTyrantQuery%object TokyoTyrantQuery(TokyoTyrantTable $table)%Construit une nouvelle requête @@ -587,7 +588,7 @@ dbx_query%mixed dbx_query(object $link_identifier, string $sql_statement, [int $ dbx_sort%bool dbx_sort(object $result, string $user_compare_function)%Trie un résultat avec une fonction utilisateur dcgettext%string dcgettext(string $domain, string $message, int $category)%Remplace le domaine lors d'une recherche dcngettext%string dcngettext(string $domain, string $msgid1, string $msgid2, int $n, int $category)%Version plurielle de dcgettext -debug_backtrace%array debug_backtrace([int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT], [int $limit])%Génère le contexte de déboguage +debug_backtrace%array debug_backtrace([int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT], [int $limit])%Génère le contexte de débogage debug_print_backtrace%void debug_print_backtrace([int $options], [int $limit])%Affiche la pile d'exécution PHP debug_zval_dump%void debug_zval_dump(mixed $variable, [mixed ...])%Extrait une représentation sous forme de chaîne d'une valeur interne à Zend pour affichage decbin%string decbin(int $number)%Convertit de décimal en binaire @@ -1106,6 +1107,7 @@ hash_copy%resource hash_copy(resource $context)%Copie un contexte de hashage hash_equals%bool hash_equals(string $known_string, string $user_string)%Comparaison de chaînes résistante aux attaques temporelles hash_file%string hash_file(string $algo, string $filename, [bool $raw_output = false])%Génère une valeur de hachage en utilisant le contenu d'un fichier donné hash_final%string hash_final(resource $context, [bool $raw_output = false])%Finalise un hachage incrémental et retourne le résultat de l'empreinte numérique +hash_hkdf%string hash_hkdf(string $algo, string $ikm, [int $length], [string $info = ''], [string $salt = ''])%Generate a HKDF key derivation of a supplied key input hash_hmac%string hash_hmac(string $algo, string $data, string $key, [bool $raw_output = false])%Génère une valeur de clé de hachage en utilisant la méthode HMAC hash_hmac_file%string hash_hmac_file(string $algo, string $filename, string $key, [bool $raw_output = false])%Génère une valeur de clé de hachage en utilisant la méthode HMAC et le contenu d'un fichier donné hash_init%resource hash_init(string $algo, [int $options], [string $key])%Initialise un contexte de hachage incrémental @@ -1190,7 +1192,7 @@ iconv_strpos%int iconv_strpos(string $haystack, string $needle, [int $offset], [ iconv_strrpos%int iconv_strrpos(string $haystack, string $needle, [string $charset = ini_get("iconv.internal_encoding")])%Trouve la position de la dernière occurrence d'un élément dans une chaîne iconv_substr%string iconv_substr(string $str, int $offset, [int $length = iconv_strlen($str, $charset)], [string $charset = ini_get("iconv.internal_encoding")])%Coupe une partie de chaîne idate%int idate(string $format, [int $timestamp = time()])%Formate une date/heure locale en tant qu'entier -idn_to_ascii%string idn_to_ascii(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convertie un nom de domaine au format IDNA ASCII +idn_to_ascii%string idn_to_ascii(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convertit un nom de domaine au format IDNA ASCII idn_to_utf8%string idn_to_utf8(string $domain, [int $options], [int $variant = INTL_IDNA_VARIANT_2003], [array $idna_info])%Convertit le nom de domaine IDNA ASCII en Unicode ignore_user_abort%int ignore_user_abort([string $value])%Active l'interruption de script sur déconnexion du visiteur iis_add_server%int iis_add_server(string $path, string $comment, string $server_ip, int $port, string $host_name, int $rights, int $start_server)%Crée un nouveau serveur web virtuel @@ -1212,7 +1214,7 @@ iis_stop_service%int iis_stop_service(string $service_id)%Stoppe le service IIS image2wbmp%bool image2wbmp(resource $image, [string $filename], [int $threshold])%Affichage de l'image vers le navigateur ou dans un fichier image_type_to_extension%string image_type_to_extension(int $imagetype, [bool $include_dot])%Retourne l'extension du fichier pour le type d'image image_type_to_mime_type%string image_type_to_mime_type(int $imagetype)%Lit le Mime-Type d'un type d'image -imageaffine%resource imageaffine(resource $image, array $affine, [array $clip])%Retourne une image contenant l'image source transformé, en utilisant optionnellement une zone de découpe +imageaffine%resource imageaffine(resource $image, array $affine, [array $clip])%Retourne une image contenant l'image source transformée, en utilisant optionnellement une zone de découpe imageaffinematrixconcat%array imageaffinematrixconcat(array $m1, array $m2)%Concatène deux matrices imageaffinematrixget%array imageaffinematrixget(int $type, [mixed $options])%Retourne une image contenant l'image source transformée, en utilisant optionnellement une zone de découpe imagealphablending%bool imagealphablending(resource $image, bool $blendmode)%Modifie le mode de blending d'une image @@ -1436,6 +1438,7 @@ is_float%bool is_float(mixed $var)%Détermine si une variable est de type nombre is_infinite%bool is_infinite(float $val)%Indique si un nombre est infini is_int%bool is_int(mixed $var)%Détermine si une variable est de type nombre entier is_integer%void is_integer()%Alias de is_int +is_iterable%array is_iterable(mixed $var)%Verify that the contents of a variable is an iterable value is_link%bool is_link(string $filename)%Indique si le fichier est un lien symbolique is_long%void is_long()%Alias de is_int is_nan%bool is_nan(float $val)%Indique si une valeur n'est pas un nombre @@ -1898,7 +1901,7 @@ mysqlnd_ms_set_qos%bool mysqlnd_ms_set_qos(mixed $connection, int $service_level mysqlnd_ms_set_user_pick_server%bool mysqlnd_ms_set_user_pick_server(string $function)%Définit une fonction de rappel utilisateur pour la séparation lecture/écriture mysqlnd_ms_xa_begin%int mysqlnd_ms_xa_begin(mixed $connection, string $gtrid, [int $timeout])%Démarre une transaction distribuée/XA sur les serveurs MySQL particpants mysqlnd_ms_xa_commit%int mysqlnd_ms_xa_commit(mixed $connection, string $gtrid)%Valide une transaction distribuée/XA sur les serveurs MySQL participants -mysqlnd_ms_xa_gc%int mysqlnd_ms_xa_gc(mixed $connection, [string $gtrid], [boolean $ignore_max_retries])%Collecte les données incorrectes issues des transactions XA non terminées en raison d'erreurs sébères +mysqlnd_ms_xa_gc%int mysqlnd_ms_xa_gc(mixed $connection, [string $gtrid], [boolean $ignore_max_retries])%Collecte les données incorrectes issues des transactions XA non terminées en raison d'erreurs sévères mysqlnd_ms_xa_rollback%int mysqlnd_ms_xa_rollback(mixed $connection, string $gtrid)%Annule une transaction distribuée/XA sur les serveurs MySQL mysqlnd_qc_clear_cache%bool mysqlnd_qc_clear_cache()%Force l'affichage complet du contenu du cache mysqlnd_qc_get_available_handlers%array mysqlnd_qc_get_available_handlers()%Retourne la liste des gestionnaires de stockage disponibles @@ -1965,6 +1968,7 @@ oci_close%bool oci_close(resource $connection)%Ferme une connexion Oracle oci_commit%bool oci_commit(resource $connection)%Valide les transactions Oracle en cours oci_connect%resource oci_connect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Établit une connexion avec un serveur Oracle oci_define_by_name%bool oci_define_by_name(resource $statement, string $column_name, mixed $variable, [int $type = SQLT_CHR])%Associe une variable PHP avec une colonne pour une requête de récupération de données +oci_disable_taf_callback%bool oci_disable_taf_callback(resource $connection)%Disable a user-defined callback function for Oracle Database TAF oci_error%array oci_error([resource $resource])%Retourne la dernière erreur Oracle oci_execute%bool oci_execute(resource $statement, [int $mode = OCI_COMMIT_ON_SUCCESS])%Exécute une commande SQL Oracle oci_fetch%bool oci_fetch(resource $statement)%Lit la prochaine ligne d'un résultat Oracle dans un buffer interne @@ -1995,6 +1999,7 @@ oci_num_rows%int oci_num_rows(resource $statement)%Retourne le nombre de lignes oci_parse%resource oci_parse(resource $connection, string $sql_text)%Prépare une requête SQL avec Oracle oci_password_change%resource oci_password_change(resource $connection, string $username, string $old_password, string $new_password, string $dbname)%Modifie le mot de passe d'un utilisateur Oracle oci_pconnect%resource oci_pconnect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Ouvre une connexion persistante à un serveur Oracle +oci_register_taf_callback%bool oci_register_taf_callback(resource $connection, mix $callbackFn)%Register a user-defined callback function for Oracle Database TAF oci_result%mixed oci_result(resource $statement, mixed $field)%Retourne la valeur d'une colonne dans un résultat Oracle oci_rollback%bool oci_rollback(resource $connection)%Annule les transactions Oracle en cours oci_server_version%string oci_server_version(resource $connection)%Retourne la version du serveur Oracle diff --git a/Support/function-docs/ja.txt b/Support/function-docs/ja.txt index 73a3ca0..0003975 100644 --- a/Support/function-docs/ja.txt +++ b/Support/function-docs/ja.txt @@ -1,5 +1,5 @@ APCIterator%object APCIterator(string $cache, [mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%APCIterator イテレータオブジェクトを作成する -APCUIterator%object APCUIterator([mixed $search = null], [int $format = APCU_ITER_ALL], [int $chunk_size = 100], [int $list = APCU_LIST_ACTIVE])%Constructs an APCUIterator iterator object +APCUIterator%object APCUIterator([mixed $search = null], [int $format = APC_ITER_ALL], [int $chunk_size = 100], [int $list = APC_LIST_ACTIVE])%Constructs an APCUIterator iterator object AppendIterator%object AppendIterator()%AppendIterator を作成する ArrayIterator%object ArrayIterator([mixed $array = array()], [int $flags])%ArrayIterator を作成する ArrayObject%object ArrayObject([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"])%新規配列オブジェクトを生成する @@ -104,7 +104,7 @@ MongoDB\BSON\UTCDateTime%object MongoDB\BSON\UTCDateTime([integer|float|string|D MongoDB\BSON\fromJSON%string MongoDB\BSON\fromJSON(string $json)%Returns the BSON representation of a JSON value MongoDB\BSON\fromPHP%string MongoDB\BSON\fromPHP(array|object $value)%Returns the BSON representation of a PHP value MongoDB\BSON\toJSON%string MongoDB\BSON\toJSON(string $bson)%Returns the JSON representation of a BSON value -MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = array()])%Returns the PHP representation of a BSON value +MongoDB\BSON\toPHP%array|object MongoDB\BSON\toPHP(string $bson, [array $typeMap = []])%Returns the PHP representation of a BSON value MongoDB\Driver\BulkWrite%object MongoDB\Driver\BulkWrite([array $options])%Create a new BulkWrite MongoDB\Driver\Command%object MongoDB\Driver\Command(array|object $document)%Create a new Command MongoDB\Driver\Cursor%object MongoDB\Driver\Cursor()%Create a new Cursor (not used) @@ -193,7 +193,7 @@ SplQueue%object SplQueue()%双方向リンクリストを使用して実装し SplStack%object SplStack()%双方向リンクリストを使用して実装した新しい空のスタックを作成する SplTempFileObject%object SplTempFileObject([int $max_memory])%新しい一時ファイルオブジェクトを作成する SplType%object SplType([mixed $initial_value], [bool $strict])%何らかの型の新しい値を作成する -Spoofchecker%object Spoofchecker()%コンストラクタ +Spoofchecker%object Spoofchecker()%Constructor Swish%object Swish(string $index_names)%Swish オブジェクトを作成する SyncEvent%object SyncEvent([string $name], [bool $manual = false], [bool $prefire = false])%Constructs a new SyncEvent object SyncMutex%object SyncMutex([string $name])%Constructs a new SyncMutex object @@ -976,7 +976,7 @@ get_declared_classes%array get_declared_classes()%定義済のクラスの名前 get_declared_interfaces%array get_declared_interfaces()%宣言されている全てのインターフェイスの配列を返す get_declared_traits%array get_declared_traits()%宣言されているすべてのトレイトの配列を返す get_defined_constants%array get_defined_constants([bool $categorize = false])%すべての定数の名前とその値を連想配列として返す -get_defined_functions%array get_defined_functions()%定義済みの全ての関数を配列で返す +get_defined_functions%array get_defined_functions([bool $exclude_disabled])%定義済みの全ての関数を配列で返す get_defined_vars%array get_defined_vars()%全ての定義済の変数を配列で返す get_extension_funcs%array get_extension_funcs(string $module_name)%あるモジュールの関数名を配列として返す get_headers%array get_headers(string $url, [int $format])%HTTP リクエストに対するレスポンス内で サーバーによって送出された全てのヘッダを取得する @@ -995,7 +995,7 @@ get_resources%リソース get_resources([string $type])%アクティブなリ getallheaders%array getallheaders()%全てのHTTPリクエストヘッダを取得する getcwd%string getcwd()%カレントのワーキングディレクトリを取得する getdate%array getdate([int $timestamp = time()])%日付/時刻情報を取得する -getenv%string getenv(string $varname)%環境変数の値を取得する +getenv%string getenv(string $varname, [bool $local_only = false])%環境変数の値を取得する gethostbyaddr%string gethostbyaddr(string $ip_address)%指定した IP アドレスに対応するインターネットホスト名を取得する gethostbyname%string gethostbyname(string $hostname)%インターネットホスト名に対応するIPv4アドレスを取得する gethostbynamel%array gethostbynamel(string $hostname)%指定したインターネットホスト名に対応するIPv4アドレスのリストを取得する @@ -1008,7 +1008,7 @@ getmygid%int getmygid()%PHP スクリプトの所有者の GID を得る getmyinode%int getmyinode()%現在のスクリプトの inode を取得する getmypid%int getmypid()%PHP のプロセス ID を取得する getmyuid%int getmyuid()%PHP スクリプト所有者のユーザー ID を取得する -getopt%array getopt(string $options, [array $longopts])%コマンドライン引数のリストからオプションを取得する +getopt%array getopt(string $options, [array $longopts], [int $optind])%コマンドライン引数のリストからオプションを取得する getprotobyname%int getprotobyname(string $name)%プロトコル名のプロトコル番号を得る getprotobynumber%string getprotobynumber(int $number)%プロトコル番号が指すプロトコル名を取得する getrandmax%int getrandmax()%乱数の最大値を取得する @@ -1078,7 +1078,7 @@ grapheme_strpos%int grapheme_strpos(string $haystack, string $needle, [int $offs grapheme_strripos%int grapheme_strripos(string $haystack, string $needle, [int $offset])%大文字小文字を区別せず、文字列内で最後にあらわれる場所の (書記素単位の) 位置を見つける grapheme_strrpos%int grapheme_strrpos(string $haystack, string $needle, [int $offset])%文字列内で最後にあらわれる場所の (書記素単位の) 位置を見つける grapheme_strstr%string grapheme_strstr(string $haystack, string $needle, [bool $before_needle = false])%haystack 文字列の中で、needle が最初に登場した場所以降の部分文字列を返す -grapheme_substr%int grapheme_substr(string $string, int $start, [int $length])%部分文字列を返す +grapheme_substr%string grapheme_substr(string $string, int $start, [int $length])%部分文字列を返す gregoriantojd%int gregoriantojd(int $month, int $day, int $year)%グレゴリウス日をユリウス積算日に変換する gzclose%bool gzclose(resource $zp)%開かれたgzファイルへのポインタを閉じる gzcompress%string gzcompress(string $data, [int $level = -1], [int $encoding = ZLIB_ENCODING_DEFLATE])%文字列を圧縮する @@ -1106,6 +1106,7 @@ hash_copy%resource hash_copy(resource $context)%ハッシュコンテキスト hash_equals%bool hash_equals(string $known_string, string $user_string)%Timing attack safe string comparison hash_file%string hash_file(string $algo, string $filename, [bool $raw_output = false])%ファイルの内容から、ハッシュ値を生成する hash_final%string hash_final(resource $context, [bool $raw_output = false])%段階的なハッシュ処理を終了し、出来上がったダイジェストを返す +hash_hkdf%string hash_hkdf(string $algo, string $ikm, [int $length], [string $info = ''], [string $salt = ''])%Generate a HKDF key derivation of a supplied key input hash_hmac%string hash_hmac(string $algo, string $data, string $key, [bool $raw_output = false])%HMAC 方式を使用してハッシュ値を生成する hash_hmac_file%string hash_hmac_file(string $algo, string $filename, string $key, [bool $raw_output = false])%HMAC 方式を使用して、指定されたファイルの内容からハッシュ値を生成する hash_init%resource hash_init(string $algo, [int $options], [string $key])%段階的なハッシュコンテキストを初期化する @@ -1168,7 +1169,7 @@ ibase_num_fields%int ibase_num_fields(resource $result_id)%結果セットにお ibase_num_params%int ibase_num_params(resource $query)%プリペアドクエリのパラメータ数を返す ibase_param_info%array ibase_param_info(resource $query, int $param_number)%プリペアドクエリのパラメータに関する情報を返す ibase_pconnect%resource ibase_pconnect([string $database], [string $username], [string $password], [string $charset], [int $buffers], [int $dialect], [string $role], [int $sync])%InterBase データベースへの持続的接続をオープンする -ibase_prepare%resource ibase_prepare(string $query, resource $link_identifier, string $trans)%後でパラメータのバインド及び実行を行うためにクエリを準備する +ibase_prepare%resource ibase_prepare(string $query, resource $link_identifier, string $trans)%Prepare a query for later binding of parameter placeholders and execution ibase_query%resource ibase_query([resource $link_identifier], string $query, [int $bind_args])%InterBase データベースでクエリを実行する ibase_restore%mixed ibase_restore(resource $service_handle, string $source_file, string $dest_db, [int $options], [bool $verbose = false])%サービスマネージャのリストアタスクを起動し、すぐに結果を返す ibase_rollback%bool ibase_rollback([resource $link_or_trans_identifier])%トランザクションをロールバックする @@ -1436,6 +1437,7 @@ is_float%bool is_float(mixed $var)%変数の型が float かどうか調べる is_infinite%bool is_infinite(float $val)%値が無限大であるかどうかを判定する is_int%bool is_int(mixed $var)%変数が整数型かどうかを検査する is_integer%void is_integer()%is_int のエイリアス +is_iterable%array is_iterable(mixed $var)%Verify that the contents of a variable is an iterable value is_link%bool is_link(string $filename)%ファイルがシンボリックリンクかどうかを調べる is_long%void is_long()%is_int のエイリアス is_nan%bool is_nan(float $val)%値が数値でないかどうかを判定する @@ -1466,7 +1468,7 @@ jdtojulian%string jdtojulian(int $julianday)%ユリウス積算日をユリウ jdtounix%int jdtounix(int $jday)%ユリウス歴を Unix タイムスタンプに変換する jewishtojd%int jewishtojd(int $month, int $day, int $year)%ユダヤ暦の日付けをユリウス積算日に変換する join%void join()%implode のエイリアス -jpeg2wbmp%bool jpeg2wbmp(string $jpegname, string $wbmpname, int $dest_height, int $dest_width, int $threshold)%JPEG イメージファイルから WBMP イメージファイルに変換する +jpeg2wbmp%bool jpeg2wbmp(string $jpegname, string $wbmpname, int $dest_height, int $dest_width, int $threshold)%Convert JPEG image file to WBMP image file json_decode%mixed json_decode(string $json, [bool $assoc = false], [int $depth = 512], [int $options])%JSON 文字列をデコードする json_encode%string json_encode(mixed $value, [int $options], [int $depth = 512])%値を JSON 形式にして返す json_last_error%int json_last_error()%直近に発生したエラーを返す @@ -1587,7 +1589,7 @@ mb_detect_order%mixed mb_detect_order([mixed $encoding_list = mb_detect_order()] mb_encode_mimeheader%string mb_encode_mimeheader(string $str, [string $charset = mb_language() によって決まる値], [string $transfer_encoding = "B"], [string $linefeed = "\r\n"], [int $indent])%MIMEヘッダの文字列をエンコードする mb_encode_numericentity%string mb_encode_numericentity(string $str, array $convmap, [string $encoding = mb_internal_encoding()], [bool $is_hex = FALSE])%文字を HTML 数値エンティティにエンコードする mb_encoding_aliases%array mb_encoding_aliases(string $encoding)%既知のエンコーディング・タイプのエイリアスを取得 -mb_ereg%int mb_ereg(string $pattern, string $string, [array $regs])%マルチバイト文字列に正規表現マッチを行う +mb_ereg%int mb_ereg(string $pattern, string $string, [array $regs])%Regular expression match with multibyte support mb_ereg_match%bool mb_ereg_match(string $pattern, string $string, [string $option = "msr"])%マルチバイト文字列が正規表現に一致するか調べる mb_ereg_replace%string mb_ereg_replace(string $pattern, string $replacement, string $string, [string $option = "msr"])%マルチバイト文字列に正規表現による置換を行う mb_ereg_replace_callback%string mb_ereg_replace_callback(string $pattern, callable $callback, string $string, [string $option = "msr"])%マルチバイト文字列にコールバック関数を用いた正規表現による置換を行う @@ -1598,7 +1600,7 @@ mb_ereg_search_init%bool mb_ereg_search_init(string $string, [string $pattern], mb_ereg_search_pos%array mb_ereg_search_pos([string $pattern], [string $option = "ms"])%指定したマルチバイト文字列が正規表現に一致する部分の位置と長さを返す mb_ereg_search_regs%array mb_ereg_search_regs([string $pattern], [string $option = "ms"])%指定したマルチバイト文字列が正規表現に一致する部分を取得する mb_ereg_search_setpos%bool mb_ereg_search_setpos(int $position)%次の正規表現検索を開始する位置を設定する -mb_eregi%int mb_eregi(string $pattern, string $string, [array $regs])%マルチバイト文字列に大文字小文字を区別しない正規表現マッチを行う +mb_eregi%int mb_eregi(string $pattern, string $string, [array $regs])%Regular expression match ignoring case with multibyte support mb_eregi_replace%string mb_eregi_replace(string $pattern, string $replace, string $string, [string $option = "msri"])%マルチバイト文字列に大文字小文字を区別せずに正規表現による置換を行う mb_get_info%mixed mb_get_info([string $type = "all"])%mbstring の内部設定値を取得する mb_http_input%mixed mb_http_input([string $type = ""])%HTTP 入力文字エンコーディングを検出する @@ -1734,8 +1736,8 @@ mssql_result%string mssql_result(resource $result, int $row, mixed $field)%結 mssql_rows_affected%int mssql_rows_affected(resource $link_identifier)%クエリによって変更されたレコード数を返す mssql_select_db%bool mssql_select_db(string $database_name, [resource $link_identifier])%MS SQL データベースを選択する mt_getrandmax%int mt_getrandmax()%乱数値の最大値を表示する -mt_rand%int mt_rand(int $min, int $max)%よりよい乱数値を生成する -mt_srand%void mt_srand([int $seed])%改良型乱数生成器にシードを指定する +mt_rand%int mt_rand(int $min, int $max)%メルセンヌ・ツイスター乱数生成器を介して乱数値を生成する +mt_srand%void mt_srand([int $seed], [int $mode = MT_RAND_MT19937])%メルセンヌ・ツイスター乱数生成器にシードを指定する mysql_affected_rows%int mysql_affected_rows([resource $link_identifier = NULL])%一番最近の操作で変更された行の数を得る mysql_client_encoding%string mysql_client_encoding([resource $link_identifier = NULL])%文字セット名を返す mysql_close%bool mysql_close([resource $link_identifier = NULL])%MySQL 接続を閉じる @@ -1915,7 +1917,7 @@ mysqlnd_uh_set_connection_proxy%bool mysqlnd_uh_set_connection_proxy(MysqlndUhCo mysqlnd_uh_set_statement_proxy%bool mysqlnd_uh_set_statement_proxy(MysqlndUhStatement $statement_proxy)%Installs a proxy for mysqlnd statements natcasesort%bool natcasesort(array $array)%大文字小文字を区別しない"自然順"アルゴリズムを用いて配列をソートする natsort%bool natsort(array $array)%"自然順"アルゴリズムで配列をソートする -next%mixed next(array $array)%内部配列ポインタを進める +next%mixed next(array $array)%配列の内部ポインタを進める ngettext%string ngettext(string $msgid1, string $msgid2, int $n)%gettext の複数形版 nl2br%string nl2br(string $string, [bool $is_xhtml = true])%改行文字の前に HTML の改行タグを挿入する nl_langinfo%string nl_langinfo(int $item)%言語およびロケール情報を検索する @@ -1965,6 +1967,7 @@ oci_close%bool oci_close(resource $connection)%Oracleとの接続を閉じる oci_commit%bool oci_commit(resource $connection)%未解決のトランザクションをコミットする oci_connect%resource oci_connect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%Oracle データベースに接続する oci_define_by_name%bool oci_define_by_name(resource $statement, string $column_name, mixed $variable, [int $type = SQLT_CHR])%PHP の変数を、クエリで取得するカラムに関連づける +oci_disable_taf_callback%bool oci_disable_taf_callback(resource $connection)%Disable a user-defined callback function for Oracle Database TAF oci_error%array oci_error([resource $resource])%最後に見つかったエラーを返す oci_execute%bool oci_execute(resource $statement, [int $mode = OCI_COMMIT_ON_SUCCESS])%文を実行する oci_fetch%bool oci_fetch(resource $statement)%クエリの次の行を内部バッファに取得する @@ -1995,6 +1998,7 @@ oci_num_rows%int oci_num_rows(resource $statement)%文の実行で作用され oci_parse%resource oci_parse(resource $connection, string $sql_text)%実行のために Oracle の文をパースする oci_password_change%resource oci_password_change(resource $connection, string $username, string $old_password, string $new_password, string $dbname)%Oracle ユーザーのパスワードを変更する oci_pconnect%resource oci_pconnect(string $username, string $password, [string $connection_string], [string $character_set], [int $session_mode])%持続的接続を使用してOracle データベースに接続する +oci_register_taf_callback%bool oci_register_taf_callback(resource $connection, mix $callbackFn)%Register a user-defined callback function for Oracle Database TAF oci_result%mixed oci_result(resource $statement, mixed $field)%フェッチした行からフィールドの値を取得する oci_rollback%bool oci_rollback(resource $connection)%未解決のデータベーストランザクションをロールバックする oci_server_version%string oci_server_version(resource $connection)%Oracle データベースのバージョンを返す @@ -2115,10 +2119,10 @@ openssl_csr_get_public_key%resource openssl_csr_get_public_key(mixed $csr, [bool openssl_csr_get_subject%array openssl_csr_get_subject(mixed $csr, [bool $use_shortnames = true])%CERT の subject を返す openssl_csr_new%mixed openssl_csr_new(array $dn, resource $privkey, [array $configargs], [array $extraattribs])%CSR を作成する openssl_csr_sign%resource openssl_csr_sign(mixed $csr, mixed $cacert, mixed $priv_key, int $days, [array $configargs], [int $serial])%他の CERT(あるいは自分自身)で証明書をサインする -openssl_decrypt%string openssl_decrypt(string $data, string $method, string $password, [int $options], [string $iv = ""])%データを復号 +openssl_decrypt%string openssl_decrypt(string $data, string $method, string $key, [int $options], [string $iv = ""], [string $tag = ""], [string $aad = ""])%データを復号 openssl_dh_compute_key%string openssl_dh_compute_key(string $pub_key, resource $dh_key)%リモート DH キー及びローカル DH キーの公開値に関して、共有される秘密を計算 openssl_digest%string openssl_digest(string $data, string $method, [bool $raw_output = false])%ダイジェストを計算 -openssl_encrypt%string openssl_encrypt(string $data, string $method, string $password, [int $options], [string $iv = ""])%データを暗号化 +openssl_encrypt%string openssl_encrypt(string $data, string $method, string $key, [int $options], [string $iv = ""], [string $tag = NULL], [string $aad = ""], [int $tag_length = 16])%データを暗号化 openssl_error_string%string openssl_error_string()%OpenSSL エラーメッセージを返す openssl_free_key%void openssl_free_key(resource $key_identifier)%キーリソースを開放する openssl_get_cert_locations%array openssl_get_cert_locations()%Retrieve the available certificate locations @@ -2168,7 +2172,7 @@ output_reset_rewrite_vars%bool output_reset_rewrite_vars()%URL リライタの pack%string pack(string $format, [mixed $args], [mixed ...])%データをバイナリ文字列にパックする parse_ini_file%array parse_ini_file(string $filename, [bool $process_sections = false], [int $scanner_mode = INI_SCANNER_NORMAL])%設定ファイルをパースする parse_ini_string%array parse_ini_string(string $ini, [bool $process_sections = false], [int $scanner_mode = INI_SCANNER_NORMAL])%設定文字列をパースする -parse_str%void parse_str(string $str, [array $arr])%文字列を処理し、変数に代入する +parse_str%void parse_str(string $encoded_string, [array $result])%文字列を処理し、変数に代入する parse_url%mixed parse_url(string $url, [int $component = -1])%URL を解釈し、その構成要素を返す passthru%void passthru(string $command, [int $return_var])%外部プログラムを実行し、未整形の出力を表示する password_get_info%array password_get_info(string $hash)%指定したハッシュに関する情報を返す @@ -2178,13 +2182,13 @@ password_verify%boolean password_verify(string $password, string $hash)%パス pathinfo%mixed pathinfo(string $path, [int $options = PATHINFO_DIRNAME | PATHINFO_BASENAME | PATHINFO_EXTENSION | PATHINFO_FILENAME])%ファイルパスに関する情報を返す pclose%int pclose(resource $handle)%プロセスのファイルポインタをクローズする pcntl_alarm%int pcntl_alarm(int $seconds)%シグナルを送信するアラームを設定する -pcntl_errno%void pcntl_errno()%pcntl_strerror のエイリアス +pcntl_errno%void pcntl_errno()%pcntl_get_last_error のエイリアス pcntl_exec%bool pcntl_exec(string $path, [array $args], [array $envs])%現在のプロセス空間で指定したプログラムを実行する pcntl_fork%int pcntl_fork()%現在実行中のプロセスをフォークする pcntl_get_last_error%int pcntl_get_last_error()%直近の pcntl 関数が失敗したときのエラー番号を取得する pcntl_getpriority%int pcntl_getpriority([int $pid = getmypid()], [int $process_identifier = PRIO_PROCESS])%プロセスの優先度を取得する pcntl_setpriority%bool pcntl_setpriority(int $priority, [int $pid = getmypid()], [int $process_identifier = PRIO_PROCESS])%プロセスの優先度を変更する -pcntl_signal%bool pcntl_signal(int $signo, callable|int $handler, [bool $restart_syscalls = true])%シグナルハンドラを設定する +pcntl_signal%bool pcntl_signal(int $signo, mixed $signinfo)%シグナルハンドラを設定する pcntl_signal_dispatch%bool pcntl_signal_dispatch()%ペンディングシグナル用のハンドラをコールする pcntl_signal_get_handler%int|string pcntl_signal_get_handler(int $signo)%Get the current handler for specified signal pcntl_sigprocmask%bool pcntl_sigprocmask(int $how, array $set, [array $oldset])%ブロックされたシグナルを設定あるいは取得する @@ -2300,7 +2304,7 @@ phpcredits%bool phpcredits([int $flag = CREDITS_ALL])%PHP に関するクレジ phpinfo%bool phpinfo([int $what = INFO_ALL])%PHP の設定情報を出力する phpversion%string phpversion([string $extension])%現在の PHP バージョンを取得する pi%float pi()%円周率の値を得る -png2wbmp%bool png2wbmp(string $pngname, string $wbmpname, int $dest_height, int $dest_width, int $threshold)%PNG イメージファイルから WBMP イメージファイルに変換する +png2wbmp%bool png2wbmp(string $pngname, string $wbmpname, int $dest_height, int $dest_width, int $threshold)%Convert PNG image file to WBMP image file popen%resource popen(string $command, string $mode)%プロセスへのファイルポインタをオープンする pos%void pos()%current のエイリアス posix_access%bool posix_access(string $file, [int $mode = POSIX_F_OK])%ファイルのアクセス権限を判断する @@ -2423,7 +2427,7 @@ require_once%bool require_once(string $path)%Includes and evaluates the specifie reset%mixed reset(array $array)%配列の内部ポインタを先頭の要素にセットする resourcebundle_count%int resourcebundle_count(ResourceBundle $r)%バンドル内の要素数を取得する resourcebundle_create%ResourceBundle resourcebundle_create(string $locale, string $bundlename, [bool $fallback])%リソースバンドルを作成する -resourcebundle_get%mixed resourcebundle_get(string|int $index, ResourceBundle $r)%バンドルからデータを取得する +resourcebundle_get%mixed resourcebundle_get(string|int $index, [bool $fallback], ResourceBundle $r)%バンドルからデータを取得する resourcebundle_get_error_code%int resourcebundle_get_error_code(ResourceBundle $r)%バンドルの直近のエラーコードを取得する resourcebundle_get_error_message%string resourcebundle_get_error_message(ResourceBundle $r)%バンドルの直近のエラーメッセージを取得する resourcebundle_locales%array resourcebundle_locales(string $bundlename)%サポートするロケールを取得する @@ -2476,7 +2480,7 @@ session_register_shutdown%void session_register_shutdown()%セッションのシ session_reset%void session_reset()%session 配列を元の値で再初期化します session_save_path%string session_save_path([string $path])%現在のセッションデータ保存パスを取得または設定する session_set_cookie_params%void session_set_cookie_params(int $lifetime, [string $path], [string $domain], [bool $secure = false], [bool $httponly = false])%セッションクッキーパラメータを設定する -session_set_save_handler%bool session_set_save_handler(callable $open, callable $close, callable $read, callable $write, callable $destroy, callable $gc, [callable $create_sid], SessionHandlerInterface $sessionhandler, [bool $register_shutdown = true])%ユーザー定義のセッション保存関数を設定する +session_set_save_handler%bool session_set_save_handler(callable $open, callable $close, callable $read, callable $write, callable $destroy, callable $gc, [callable $create_sid], [callable $validate_sid], [callable $update_timestamp], SessionHandlerInterface $sessionhandler, [bool $register_shutdown = true])%ユーザー定義のセッション保存関数を設定する session_start%bool session_start([array $options = []])%新しいセッションを開始、あるいは既存のセッションを再開する session_status%int session_status()%現在のセッションの状態を返す session_unregister%bool session_unregister(string $name)%現在のセッションから変数の登録を削除する @@ -2505,12 +2509,12 @@ shm_has_var%bool shm_has_var(resource $shm_identifier, int $variable_key)%特定 shm_put_var%bool shm_put_var(resource $shm_identifier, int $variable_key, mixed $variable)%共有メモリの変数を挿入または更新する shm_remove%bool shm_remove(resource $shm_identifier)%Unix システムから共有メモリを削除する shm_remove_var%bool shm_remove_var(resource $shm_identifier, int $variable_key)%共有メモリから変数を削除する -shmop_close%void shmop_close(int $shmid)%共有メモリブロックを閉じる -shmop_delete%bool shmop_delete(int $shmid)%共有メモリブロックを削除する -shmop_open%int shmop_open(int $key, string $flags, int $mode, int $size)%共有メモリブロックを作成またはオープンする -shmop_read%string shmop_read(int $shmid, int $start, int $count)%共有メモリブロックからデータを読み込む -shmop_size%int shmop_size(int $shmid)%共有メモリブロックの大きさを得る -shmop_write%int shmop_write(int $shmid, string $data, int $offset)%共有メモリブロックにデータを書き込む +shmop_close%void shmop_close(resource $shmid)%Close shared memory block +shmop_delete%bool shmop_delete(resource $shmid)%Delete shared memory block +shmop_open%resource shmop_open(int $key, string $flags, int $mode, int $size)%共有メモリブロックを作成またはオープンする +shmop_read%string shmop_read(resource $shmid, int $start, int $count)%Read data from shared memory block +shmop_size%int shmop_size(resource $shmid)%Get size of shared memory block +shmop_write%int shmop_write(resource $shmid, string $data, int $offset)%Write data into shared memory block show_source%void show_source()%highlight_file のエイリアス shuffle%bool shuffle(array $array)%配列をシャッフルする similar_text%int similar_text(string $first, string $second, [float $percent])%二つの文字列の間の類似性を計算する @@ -2660,7 +2664,7 @@ sqlsrv_rows_affected%int sqlsrv_rows_affected(resource $stmt)%Returns the number sqlsrv_send_stream_data%bool sqlsrv_send_stream_data(resource $stmt)%Sends data from parameter streams to the server sqlsrv_server_info%array sqlsrv_server_info(resource $conn)%Returns information about the server sqrt%float sqrt(float $arg)%平方根 -srand%void srand([int $seed])%乱数ジェネレータを初期化する +srand%void srand([int $seed])%乱数生成器を初期化する sscanf%mixed sscanf(string $str, string $format, [mixed ...])%フォーマット文字列に基づき入力を処理する stat%array stat(string $filename)%ファイルに関する情報を取得する stats_absolute_deviation%float stats_absolute_deviation(array $a)%値の配列の絶対偏差を返す diff --git a/Support/functions.plist b/Support/functions.plist index 10666e3..ba4d95f 100644 --- a/Support/functions.plist +++ b/Support/functions.plist @@ -1,6 +1,6 @@ ( {display = 'APCIterator'; insert = '(${1:string \\\$cache}, ${2:[mixed \\\$search = null]}, ${3:[int \\\$format = APC_ITER_ALL]}, ${4:[int \\\$chunk_size = 100]}, ${5:[int \\\$list = APC_LIST_ACTIVE]})';}, - {display = 'APCUIterator'; insert = '(${1:[mixed \\\$search = null]}, ${2:[int \\\$format = APCU_ITER_ALL]}, ${3:[int \\\$chunk_size = 100]}, ${4:[int \\\$list = APCU_LIST_ACTIVE]})';}, + {display = 'APCUIterator'; insert = '(${1:[mixed \\\$search = null]}, ${2:[int \\\$format = APC_ITER_ALL]}, ${3:[int \\\$chunk_size = 100]}, ${4:[int \\\$list = APC_LIST_ACTIVE]})';}, {display = 'AppendIterator'; insert = '()';}, {display = 'ArrayIterator'; insert = '(${1:[mixed \\\$array = array()]}, ${2:[int \\\$flags]})';}, {display = 'ArrayObject'; insert = '(${1:[mixed \\\$input = []]}, ${2:[int \\\$flags]}, ${3:[string \\\$iterator_class = \"ArrayIterator\"]})';}, @@ -106,7 +106,7 @@ {display = 'MongoDB\BSON\fromJSON'; insert = '(${1:string \\\$json})';}, {display = 'MongoDB\BSON\fromPHP'; insert = '(${1:array|object \\\$value})';}, {display = 'MongoDB\BSON\toJSON'; insert = '(${1:string \\\$bson})';}, - {display = 'MongoDB\BSON\toPHP'; insert = '(${1:string \\\$bson}, ${2:[array \\\$typeMap = array()]})';}, + {display = 'MongoDB\BSON\toPHP'; insert = '(${1:string \\\$bson}, ${2:[array \\\$typeMap = []]})';}, {display = 'MongoDB\Driver\BulkWrite'; insert = '(${1:[array \\\$options]})';}, {display = 'MongoDB\Driver\Command'; insert = '(${1:array|object \\\$document})';}, {display = 'MongoDB\Driver\Cursor'; insert = '()';}, @@ -715,9 +715,9 @@ {display = 'eval'; insert = '(${1:string \\\$code})';}, {display = 'exec'; insert = '(${1:string \\\$command}, ${2:[array \\\$output]}, ${3:[int \\\$return_var]})';}, {display = 'exif_imagetype'; insert = '(${1:string \\\$filename})';}, - {display = 'exif_read_data'; insert = '(${1:string \\\$filename}, ${2:[string \\\$sections]}, ${3:[bool \\\$arrays = false]}, ${4:[bool \\\$thumbnail = false]})';}, + {display = 'exif_read_data'; insert = '(${1:mixed \\\$stream}, ${2:[string \\\$sections]}, ${3:[bool \\\$arrays = false]}, ${4:[bool \\\$thumbnail = false]})';}, {display = 'exif_tagname'; insert = '(${1:int \\\$index})';}, - {display = 'exif_thumbnail'; insert = '(${1:string \\\$filename}, ${2:[int \\\$width]}, ${3:[int \\\$height]}, ${4:[int \\\$imagetype]})';}, + {display = 'exif_thumbnail'; insert = '(${1:mixed \\\$stream}, ${2:[int \\\$width]}, ${3:[int \\\$height]}, ${4:[int \\\$imagetype]})';}, {display = 'exit'; insert = '(${1:int \\\$status})';}, {display = 'exp'; insert = '(${1:float \\\$arg})';}, {display = 'explode'; insert = '(${1:string \\\$delimiter}, ${2:string \\\$string}, ${3:[int \\\$limit = PHP_INT_MAX]})';}, @@ -997,7 +997,7 @@ {display = 'getallheaders'; insert = '()';}, {display = 'getcwd'; insert = '()';}, {display = 'getdate'; insert = '(${1:[int \\\$timestamp = time()]})';}, - {display = 'getenv'; insert = '(${1:string \\\$varname})';}, + {display = 'getenv'; insert = '(${1:string \\\$varname}, ${2:[bool \\\$local_only = false]})';}, {display = 'gethostbyaddr'; insert = '(${1:string \\\$ip_address})';}, {display = 'gethostbyname'; insert = '(${1:string \\\$hostname})';}, {display = 'gethostbynamel'; insert = '(${1:string \\\$hostname})';}, @@ -1108,6 +1108,7 @@ {display = 'hash_equals'; insert = '(${1:string \\\$known_string}, ${2:string \\\$user_string})';}, {display = 'hash_file'; insert = '(${1:string \\\$algo}, ${2:string \\\$filename}, ${3:[bool \\\$raw_output = false]})';}, {display = 'hash_final'; insert = '(${1:resource \\\$context}, ${2:[bool \\\$raw_output = false]})';}, + {display = 'hash_hkdf'; insert = '(${1:string \\\$algo}, ${2:string \\\$ikm}, ${3:[int \\\$length]}, ${4:[string \\\$info = \'\']}, ${5:[string \\\$salt = \'\']})';}, {display = 'hash_hmac'; insert = '(${1:string \\\$algo}, ${2:string \\\$data}, ${3:string \\\$key}, ${4:[bool \\\$raw_output = false]})';}, {display = 'hash_hmac_file'; insert = '(${1:string \\\$algo}, ${2:string \\\$filename}, ${3:string \\\$key}, ${4:[bool \\\$raw_output = false]})';}, {display = 'hash_init'; insert = '(${1:string \\\$algo}, ${2:[int \\\$options]}, ${3:[string \\\$key]})';}, @@ -1438,6 +1439,7 @@ {display = 'is_infinite'; insert = '(${1:float \\\$val})';}, {display = 'is_int'; insert = '(${1:mixed \\\$var})';}, {display = 'is_integer'; insert = '()';}, + {display = 'is_iterable'; insert = '(${1:mixed \\\$var})';}, {display = 'is_link'; insert = '(${1:string \\\$filename})';}, {display = 'is_long'; insert = '()';}, {display = 'is_nan'; insert = '(${1:float \\\$val})';}, @@ -1967,6 +1969,7 @@ {display = 'oci_commit'; insert = '(${1:resource \\\$connection})';}, {display = 'oci_connect'; insert = '(${1:string \\\$username}, ${2:string \\\$password}, ${3:[string \\\$connection_string]}, ${4:[string \\\$character_set]}, ${5:[int \\\$session_mode]})';}, {display = 'oci_define_by_name'; insert = '(${1:resource \\\$statement}, ${2:string \\\$column_name}, ${3:mixed \\\$variable}, ${4:[int \\\$type = SQLT_CHR]})';}, + {display = 'oci_disable_taf_callback'; insert = '(${1:resource \\\$connection})';}, {display = 'oci_error'; insert = '(${1:[resource \\\$resource]})';}, {display = 'oci_execute'; insert = '(${1:resource \\\$statement}, ${2:[int \\\$mode = OCI_COMMIT_ON_SUCCESS]})';}, {display = 'oci_fetch'; insert = '(${1:resource \\\$statement})';}, @@ -1997,6 +2000,7 @@ {display = 'oci_parse'; insert = '(${1:resource \\\$connection}, ${2:string \\\$sql_text})';}, {display = 'oci_password_change'; insert = '(${1:resource \\\$connection}, ${2:string \\\$username}, ${3:string \\\$old_password}, ${4:string \\\$new_password}, ${5:string \\\$dbname})';}, {display = 'oci_pconnect'; insert = '(${1:string \\\$username}, ${2:string \\\$password}, ${3:[string \\\$connection_string]}, ${4:[string \\\$character_set]}, ${5:[int \\\$session_mode]})';}, + {display = 'oci_register_taf_callback'; insert = '(${1:resource \\\$connection}, ${2:mix \\\$callbackFn})';}, {display = 'oci_result'; insert = '(${1:resource \\\$statement}, ${2:mixed \\\$field})';}, {display = 'oci_rollback'; insert = '(${1:resource \\\$connection})';}, {display = 'oci_server_version'; insert = '(${1:resource \\\$connection})';}, @@ -2117,10 +2121,10 @@ {display = 'openssl_csr_get_subject'; insert = '(${1:mixed \\\$csr}, ${2:[bool \\\$use_shortnames = true]})';}, {display = 'openssl_csr_new'; insert = '(${1:array \\\$dn}, ${2:resource \\\$privkey}, ${3:[array \\\$configargs]}, ${4:[array \\\$extraattribs]})';}, {display = 'openssl_csr_sign'; insert = '(${1:mixed \\\$csr}, ${2:mixed \\\$cacert}, ${3:mixed \\\$priv_key}, ${4:int \\\$days}, ${5:[array \\\$configargs]}, ${6:[int \\\$serial]})';}, - {display = 'openssl_decrypt'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:string \\\$password}, ${4:[int \\\$options]}, ${5:[string \\\$iv = \"\"]}, ${6:[string \\\$tag = \"\"]}, ${7:[string \\\$aad = \"\"]})';}, + {display = 'openssl_decrypt'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:string \\\$key}, ${4:[int \\\$options]}, ${5:[string \\\$iv = \"\"]}, ${6:[string \\\$tag = \"\"]}, ${7:[string \\\$aad = \"\"]})';}, {display = 'openssl_dh_compute_key'; insert = '(${1:string \\\$pub_key}, ${2:resource \\\$dh_key})';}, {display = 'openssl_digest'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:[bool \\\$raw_output = false]})';}, - {display = 'openssl_encrypt'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:string \\\$password}, ${4:[int \\\$options]}, ${5:[string \\\$iv = \"\"]}, ${6:[string \\\$tag = NULL]}, ${7:[string \\\$aad = \"\"]}, ${8:[int \\\$tag_length = 16]})';}, + {display = 'openssl_encrypt'; insert = '(${1:string \\\$data}, ${2:string \\\$method}, ${3:string \\\$key}, ${4:[int \\\$options]}, ${5:[string \\\$iv = \"\"]}, ${6:[string \\\$tag = NULL]}, ${7:[string \\\$aad = \"\"]}, ${8:[int \\\$tag_length = 16]})';}, {display = 'openssl_error_string'; insert = '()';}, {display = 'openssl_free_key'; insert = '(${1:resource \\\$key_identifier})';}, {display = 'openssl_get_cert_locations'; insert = '()';}, @@ -2425,7 +2429,7 @@ {display = 'reset'; insert = '(${1:array \\\$array})';}, {display = 'resourcebundle_count'; insert = '(${1:ResourceBundle \\\$r})';}, {display = 'resourcebundle_create'; insert = '(${1:string \\\$locale}, ${2:string \\\$bundlename}, ${3:[bool \\\$fallback]})';}, - {display = 'resourcebundle_get'; insert = '(${1:string|int \\\$index}, ${2:ResourceBundle \\\$r})';}, + {display = 'resourcebundle_get'; insert = '(${1:string|int \\\$index}, ${2:[bool \\\$fallback]}, ${3:ResourceBundle \\\$r})';}, {display = 'resourcebundle_get_error_code'; insert = '(${1:ResourceBundle \\\$r})';}, {display = 'resourcebundle_get_error_message'; insert = '(${1:ResourceBundle \\\$r})';}, {display = 'resourcebundle_locales'; insert = '(${1:string \\\$bundlename})';}, diff --git a/Syntaxes/PHP.plist b/Syntaxes/PHP.plist index 8cf9425..18eb59a 100644 --- a/Syntaxes/PHP.plist +++ b/Syntaxes/PHP.plist @@ -239,7 +239,7 @@ match - (?i)(\\)?\b(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Generator|Method|Class|Type|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Diff\\(Memory|Base|DOM|File)|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection|mmandCursor)|ursor(Interface|Exception)?|lient)|Timestamp|I(n(sertBatch|t(32|64))|d)|D(B(Ref|\\(BSON\\(Regex|M(inKey|axKey)|Binary|Serializable|Timestamp|ObjectID|Decimal128|U(nserializable|TCDateTime)|Javascript)|Driver\\(Read(Concern|Preference)|Manager|BulkWrite|Server|C(ommand|ursor(Id)?)|Exception\\WriteException|Query|Write(Result|Concern(Error)?|Error))))?|eleteBatch|ate)|UpdateBatch|Pool|Write(Batch|ConcernException)|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(ync(ReaderWriter|Mutex|S(haredMemory|emaphore)|Event)|impleXML(Iterator|Element)|oap(Server|Header|Client|Param|Var|Fault)|NMP|CA(_(SoapProxy|LocalProxy))?|p(hinxClient|oofchecker|l(M(inHeap|axHeap)|S(tack|ubject)|Heap|T(ype|empFileObject)|Ob(server|jectStorage)|DoublyLinkedList|PriorityQueue|Enum|Queue|Fi(le(Info|Object)|xedArray)))|e(ssionHandler(Interface)?|ekableIterator|rializable)|DO_(Model_(ReflectionDataObject|Type|Property)|Sequence|D(ata(Object|Factory)|AS_(Relational|XML(_Document)?|Setting|ChangeSummary|Data(Object|Factory)))|Exception|List)|wish(Result(s)?|Search)?|VM(Model)?|QLite(Result|3(Result|Stmt)?|Database|Unbuffered)|AM(Message|Connection))|H(RTime\\(StopWatch|PerformanceCounter)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))|Ya(f_(R(oute(_(Re(write|gex)|Map|S(tatic|imple|upervar)|Interface)|r)|e(sponse_Abstract|quest_(Simple|Http|Abstract)|gistry))|Session|Con(troller_Abstract|fig_(Simple|Ini|Abstract))|Dispatcher|Plugin_Abstract|Exception|View_(Simple|Interface)|Loader|A(ction_Abstract|pplication))|r_(Server(_Exception)?|C(oncurrent_Client|lient(_Exception)?)))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|ll(ectable|ator))|URLFile|a(chingIterator|llbackFilterIterator))|T(hread(ed)?|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tl(RuleBasedBreakIterator|BreakIterator|C(har|odePointBreakIterator|alendar)|TimeZone|Iterator|DateFormatter|PartsIterator)|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?|Kernel)?)|php_user_filter|Z(MQ(Socket|Context|Device|Poll)?|ipArchive|ookeeper)|O(CI-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(s\\(Map|S(tack|e(t|quence))|Hashable|Collection|Deque|P(air|riorityQueue)|Vector|Queue)|irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(I(nterface|mmutable)|Zone)?|Interval|Period))|U(n(derflowException|expectedValueException)|Converter|I\\(Menu(Item)?|Size|Control(s\\(Radio|Gr(id|oup)|MultilineEntry|B(ox|utton)|S(pin|eparator|lider)|C(heck|o(lorButton|mbo))|Tab|P(icker|rogress)|E(ntry|ditableCombo)|Form|Label))?|Draw\\(Matrix|Brush(\\(RadialGradient|Gradient|LinearGradient))?|Stroke|Color|Text\\(Font(\\Descriptor)?|Layout)|P(en|ath))|Point|Executor|Window|Area))|JsonSerializable|finfo|P(har(Data|FileInfo)?|ool|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|ent(B(uffer(Event)?|ase)|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?|P(eriodic|repare)|Embed|Fork|Watcher|Loop)?|rrorException|xception|mptyIterator)|V(8Js(Exception)?|arnish(Stat|Log|Admin))|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|Frame|AttachedPictureFrame))|QuickHash(StringIntHash|Int(S(tringHash|et)|Hash))|F(il(terIterator|esystemIterator)|ANNConnection)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(ppendIterator|PC(Iterator|UIterator)|rray(Iterator|Object|Access)))\b + (?i)(\\)?\b(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Generator|Method|Class|Type|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Diff\\(Memory|Base|DOM|File)|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection|mmandCursor)|ursor(Interface|Exception)?|lient)|Timestamp|I(n(sertBatch|t(32|64))|d)|D(B(Ref|\\(BSON\\(Regex|M(inKey|axKey)|Binary|Serializable|Timestamp|ObjectID|Decimal128|U(nserializable|TCDateTime)|Javascript)|Driver\\(Read(Concern|Preference)|Manager|BulkWrite|Server|C(ommand|ursor(Id)?)|Exception\\WriteException|Query|Write(Result|Concern(Error)?|Error))))?|eleteBatch|ate)|UpdateBatch|Pool|Write(Batch|ConcernException)|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(ync(ReaderWriter|Mutex|S(haredMemory|emaphore)|Event)|impleXML(Iterator|Element)|oap(Server|Header|Client|Param|Var|Fault)|NMP|CA(_(SoapProxy|LocalProxy))?|p(hinxClient|oofchecker|l(M(inHeap|axHeap)|S(tack|ubject)|Heap|T(ype|empFileObject)|Ob(server|jectStorage)|DoublyLinkedList|PriorityQueue|Enum|Queue|Fi(le(Info|Object)|xedArray)))|e(ssionHandler(Interface)?|ekableIterator|rializable)|DO_(Model_(ReflectionDataObject|Type|Property)|Sequence|D(ata(Object|Factory)|AS_(Relational|XML(_Document)?|Setting|ChangeSummary|Data(Object|Factory)))|Exception|List)|wish(Result(s)?|Search)?|VM(Model)?|QLite(Result|3(Result|Stmt)?|Database|Unbuffered)|AM(Message|Connection))|H(RTime\\(StopWatch|PerformanceCounter)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))|Ya(f_(R(oute(_(Re(write|gex)|Map|S(tatic|imple|upervar)|Interface)|r)|e(sponse_Abstract|quest_(Simple|Http|Abstract)|gistry))|Session|Con(troller_Abstract|fig_(Simple|Ini|Abstract))|Dispatcher|Plugin_Abstract|Exception|View_(Simple|Interface)|Loader|A(ction_Abstract|pplication))|r_(Server(_Exception)?|C(oncurrent_Client|lient(_Exception)?)))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|ll(ectable|ator))|URLFile|a(chingIterator|llbackFilterIterator))|T(hread(ed)?|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tl(RuleBasedBreakIterator|BreakIterator|C(har|odePointBreakIterator|alendar)|TimeZone|Iterator|DateFormatter|PartsIterator)|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?|Kernel)?)|php_user_filter|Z(MQ(Socket|Context|Device|Poll)?|ipArchive|ookeeper)|O(CI\-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(s\\(Map|S(tack|e(t|quence))|Hashable|Collection|Deque|P(air|riorityQueue)|Vector|Queue)|irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(I(nterface|mmutable)|Zone)?|Interval|Period))|U(n(derflowException|expectedValueException)|Converter|I\\(Menu(Item)?|Size|Control(s\\(Radio|Gr(id|oup)|MultilineEntry|B(ox|utton)|S(pin|eparator|lider)|C(heck|o(lorButton|mbo))|Tab|P(icker|rogress)|E(ntry|ditableCombo)|Form|Label))?|Draw\\(Matrix|Brush(\\(RadialGradient|Gradient|LinearGradient))?|Stroke|Color|Text\\(Font(\\Descriptor)?|Layout)|P(en|ath))|Point|Executor|Window|Area))|JsonSerializable|finfo|P(har(Data|FileInfo)?|ool|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|ent(B(uffer(Event)?|ase)|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?|P(eriodic|repare)|Embed|Fork|Watcher|Loop)?|rrorException|xception|mptyIterator)|V(8Js(Exception)?|arnish(Stat|Log|Admin))|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|Frame|AttachedPictureFrame))|QuickHash(StringIntHash|Int(S(tringHash|et)|Hash))|F(il(terIterator|esystemIterator)|ANNConnection)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(ppendIterator|PC(Iterator|UIterator)|rray(Iterator|Object|Access)))\b name support.class.builtin.php @@ -3296,7 +3296,7 @@ match - (?i)\bMongoDB\BSON\(to(JSON|PHP)|from(JSON|PHP))\b + (?i)\bMongoDB\\BSON\\(to(JSON|PHP)|from(JSON|PHP))\b name support.function.bson.php @@ -3452,7 +3452,7 @@ match - (?i)\bhash(_(hmac(_file)?|copy|init|update(_(stream|file))?|pbkdf2|equals|fi(nal|le)|algos))?\b + (?i)\bhash(_(h(kdf|mac(_file)?)|copy|init|update(_(stream|file))?|pbkdf2|equals|fi(nal|le)|algos))?\b name support.function.hash.php @@ -3602,7 +3602,7 @@ match - (?i)\boci(s(tatementtype|e(tprefetch|rverversion)|avelob(file)?)|n(umcols|ew(c(ollection|ursor)|descriptor)|logon)|c(o(l(umn(s(cale|ize)|name|type(raw)?|isnull|precision)|l(size|trim|a(ssign(elem)?|ppend)|getelem|max))|mmit)|loselob|ancel)|internaldebug|definebyname|_(s(tatement_type|e(t_(client_i(nfo|dentifier)|prefetch|edition|action|module_name)|rver_version))|n(um_(fields|rows)|ew_(c(o(nnect|llection)|ursor)|descriptor))|c(o(nnect|mmit)|l(ient_version|ose)|ancel)|internal_debug|define_by_name|p(connect|a(ssword_change|rse))|e(rror|xecute)|f(ield_(s(cale|ize)|name|type(_raw)?|is_null|precision)|etch(_(object|a(ssoc|ll|rray)|row))?|ree_(statement|descriptor))|lob_(copy|is_equal)|r(ollback|esult)|get_implicit_resultset|bind_(array_by_name|by_name))|p(logon|arse)|e(rror|xecute)|f(etch(statement|into)?|ree(statement|c(ollection|ursor)|desc))|write(temporarylob|lobtofile)|lo(adlob|go(n|ff))|r(o(wcount|llback)|esult)|bindbyname)\b + (?i)\boci(s(tatementtype|e(tprefetch|rverversion)|avelob(file)?)|n(umcols|ew(c(ollection|ursor)|descriptor)|logon)|c(o(l(umn(s(cale|ize)|name|type(raw)?|isnull|precision)|l(size|trim|a(ssign(elem)?|ppend)|getelem|max))|mmit)|loselob|ancel)|internaldebug|definebyname|_(s(tatement_type|e(t_(client_i(nfo|dentifier)|prefetch|edition|action|module_name)|rver_version))|n(um_(fields|rows)|ew_(c(o(nnect|llection)|ursor)|descriptor))|c(o(nnect|mmit)|l(ient_version|ose)|ancel)|internal_debug|d(isable_taf_callback|efine_by_name)|p(connect|a(ssword_change|rse))|e(rror|xecute)|f(ield_(s(cale|ize)|name|type(_raw)?|is_null|precision)|etch(_(object|a(ssoc|ll|rray)|row))?|ree_(statement|descriptor))|lob_(copy|is_equal)|r(ollback|e(sult|gister_taf_callback))|get_implicit_resultset|bind_(array_by_name|by_name))|p(logon|arse)|e(rror|xecute)|f(etch(statement|into)?|ree(statement|c(ollection|ursor)|desc))|write(temporarylob|lobtofile)|lo(adlob|go(n|ff))|r(o(wcount|llback)|esult)|bindbyname)\b name support.function.oci8.php @@ -3836,7 +3836,7 @@ match - (?i)\bUI\(Draw\Text\Font\fontFamilies|quit|run)\b + (?i)\bUI\\(Draw\\Text\\Font\\fontFamilies|quit|run)\b name support.function.ui.php @@ -3854,7 +3854,7 @@ match - (?i)\b(s(trval|e(ttype|rialize))|i(s(set|_(s(calar|tring)|nu(ll|meric)|callable|int(eger)?|object|double|float|long|array|re(source|al)|bool))|ntval|mport_request_variables)|d(oubleval|ebug_zval_dump)|unse(t|rialize)|print_r|empty|var_(dump|export)|floatval|get(type|_(defined_vars|resource_type))|boolval)\b + (?i)\b(s(trval|e(ttype|rialize))|i(s(set|_(s(calar|tring)|nu(ll|meric)|callable|i(nt(eger)?|terable)|object|double|float|long|array|re(source|al)|bool))|ntval|mport_request_variables)|d(oubleval|ebug_zval_dump)|unse(t|rialize)|print_r|empty|var_(dump|export)|floatval|get(type|_(defined_vars|resource_type))|boolval)\b name support.function.var.php From 4b5c247c34f6c73e193ec810f320acad8a61b263 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 12 Apr 2017 10:22:50 +0200 Subject: [PATCH 08/12] Fix typo in the comment --- Support/generate/generate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Support/generate/generate.php b/Support/generate/generate.php index cfc4a70..a08af90 100755 --- a/Support/generate/generate.php +++ b/Support/generate/generate.php @@ -6,7 +6,7 @@ * Usage: php generate.php * Example: php generate.php en * - * Some languges may require memory_limit to 256MB in php.ini + * Some languages may require memory_limit to 256MB in php.ini * * This script will produce/modify the following files: * - Support/functions.plist From 23bd41358b4f1d60504a72c0f87520dded07b1c9 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Mon, 26 Mar 2018 22:28:00 -0500 Subject: [PATCH 09/12] Split up long regex matches This was tripping up the language grammar grammar causing the rest of the file to be mis-highlighted. --- Syntaxes/PHP.plist | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Syntaxes/PHP.plist b/Syntaxes/PHP.plist index 18eb59a..96f2b40 100644 --- a/Syntaxes/PHP.plist +++ b/Syntaxes/PHP.plist @@ -239,7 +239,12 @@ match - (?i)(\\)?\b(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Generator|Method|Class|Type|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Diff\\(Memory|Base|DOM|File)|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection|mmandCursor)|ursor(Interface|Exception)?|lient)|Timestamp|I(n(sertBatch|t(32|64))|d)|D(B(Ref|\\(BSON\\(Regex|M(inKey|axKey)|Binary|Serializable|Timestamp|ObjectID|Decimal128|U(nserializable|TCDateTime)|Javascript)|Driver\\(Read(Concern|Preference)|Manager|BulkWrite|Server|C(ommand|ursor(Id)?)|Exception\\WriteException|Query|Write(Result|Concern(Error)?|Error))))?|eleteBatch|ate)|UpdateBatch|Pool|Write(Batch|ConcernException)|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(ync(ReaderWriter|Mutex|S(haredMemory|emaphore)|Event)|impleXML(Iterator|Element)|oap(Server|Header|Client|Param|Var|Fault)|NMP|CA(_(SoapProxy|LocalProxy))?|p(hinxClient|oofchecker|l(M(inHeap|axHeap)|S(tack|ubject)|Heap|T(ype|empFileObject)|Ob(server|jectStorage)|DoublyLinkedList|PriorityQueue|Enum|Queue|Fi(le(Info|Object)|xedArray)))|e(ssionHandler(Interface)?|ekableIterator|rializable)|DO_(Model_(ReflectionDataObject|Type|Property)|Sequence|D(ata(Object|Factory)|AS_(Relational|XML(_Document)?|Setting|ChangeSummary|Data(Object|Factory)))|Exception|List)|wish(Result(s)?|Search)?|VM(Model)?|QLite(Result|3(Result|Stmt)?|Database|Unbuffered)|AM(Message|Connection))|H(RTime\\(StopWatch|PerformanceCounter)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))|Ya(f_(R(oute(_(Re(write|gex)|Map|S(tatic|imple|upervar)|Interface)|r)|e(sponse_Abstract|quest_(Simple|Http|Abstract)|gistry))|Session|Con(troller_Abstract|fig_(Simple|Ini|Abstract))|Dispatcher|Plugin_Abstract|Exception|View_(Simple|Interface)|Loader|A(ction_Abstract|pplication))|r_(Server(_Exception)?|C(oncurrent_Client|lient(_Exception)?)))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|ll(ectable|ator))|URLFile|a(chingIterator|llbackFilterIterator))|T(hread(ed)?|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tl(RuleBasedBreakIterator|BreakIterator|C(har|odePointBreakIterator|alendar)|TimeZone|Iterator|DateFormatter|PartsIterator)|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?|Kernel)?)|php_user_filter|Z(MQ(Socket|Context|Device|Poll)?|ipArchive|ookeeper)|O(CI\-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(s\\(Map|S(tack|e(t|quence))|Hashable|Collection|Deque|P(air|riorityQueue)|Vector|Queue)|irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(I(nterface|mmutable)|Zone)?|Interval|Period))|U(n(derflowException|expectedValueException)|Converter|I\\(Menu(Item)?|Size|Control(s\\(Radio|Gr(id|oup)|MultilineEntry|B(ox|utton)|S(pin|eparator|lider)|C(heck|o(lorButton|mbo))|Tab|P(icker|rogress)|E(ntry|ditableCombo)|Form|Label))?|Draw\\(Matrix|Brush(\\(RadialGradient|Gradient|LinearGradient))?|Stroke|Color|Text\\(Font(\\Descriptor)?|Layout)|P(en|ath))|Point|Executor|Window|Area))|JsonSerializable|finfo|P(har(Data|FileInfo)?|ool|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|ent(B(uffer(Event)?|ase)|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?|P(eriodic|repare)|Embed|Fork|Watcher|Loop)?|rrorException|xception|mptyIterator)|V(8Js(Exception)?|arnish(Stat|Log|Admin))|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|Frame|AttachedPictureFrame))|QuickHash(StringIntHash|Int(S(tringHash|et)|Hash))|F(il(terIterator|esystemIterator)|ANNConnection)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(ppendIterator|PC(Iterator|UIterator)|rray(Iterator|Object|Access)))\b + (?ix) + (\\)?\b + (st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Generator|Method|Class|Type|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Diff\\(Memory|Base|DOM|File)|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection|mmandCursor)|ursor(Interface|Exception)?|lient)|Timestamp|I(n(sertBatch|t(32|64))|d)|D(B(Ref|\\(BSON\\(Regex|M(inKey|axKey)|Binary|Serializable|Timestamp|ObjectID|Decimal128|U(nserializable|TCDateTime)|Javascript)|Driver\\(Read(Concern|Preference)|Manager|BulkWrite|Server|C(ommand|ursor(Id)?)|Exception\\WriteException|Query|Write(Result|Concern(Error)?|Error))))?|eleteBatch|ate)|UpdateBatch|Pool|Write(Batch|ConcernException)|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(ync(ReaderWriter|Mutex|S(haredMemory|emaphore)|Event)|impleXML(Iterator|Element)|oap(Server|Header|Client|Param|Var|Fault)|NMP|CA(_(SoapProxy|LocalProxy))?|p(hinxClient|oofchecker|l(M(inHeap|axHeap)|S(tack|ubject)|Heap|T(ype|empFileObject)|Ob(server|jectStorage)|DoublyLinkedList|PriorityQueue|Enum|Queue|Fi(le(Info|Object)|xedArray)))|e(ssionHandler(Interface)?|ekableIterator|rializable)|DO_(Model_(ReflectionDataObject|Type|Property)|Sequence|D(ata(Object|Factory)|AS_(Relational|XML(_Document)?|Setting|ChangeSummary|Data(Object|Factory)))|Exception|List)|wish(Result(s)?|Search)?|VM(Model)?|QLite(Result|3(Result|Stmt)?|Database|Unbuffered)|AM(Message|Connection))|H(RTime\\(StopWatch|PerformanceCounter)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation)) + |Ya(f_(R(oute(_(Re(write|gex)|Map|S(tatic|imple|upervar)|Interface)|r)|e(sponse_Abstract|quest_(Simple|Http|Abstract)|gistry))|Session|Con(troller_Abstract|fig_(Simple|Ini|Abstract))|Dispatcher|Plugin_Abstract|Exception|View_(Simple|Interface)|Loader|A(ction_Abstract|pplication))|r_(Server(_Exception)?|C(oncurrent_Client|lient(_Exception)?)))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|ll(ectable|ator))|URLFile|a(chingIterator|llbackFilterIterator))|T(hread(ed)?|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tl(RuleBasedBreakIterator|BreakIterator|C(har|odePointBreakIterator|alendar)|TimeZone|Iterator|DateFormatter|PartsIterator)|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?|Kernel)?)|php_user_filter|Z(MQ(Socket|Context|Device|Poll)?|ipArchive|ookeeper)|O(CI\-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(s\\(Map|S(tack|e(t|quence))|Hashable|Collection|Deque|P(air|riorityQueue)|Vector|Queue)|irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(I(nterface|mmutable)|Zone)?|Interval|Period))|U(n(derflowException|expectedValueException)|Converter|I\\(Menu(Item)?|Size|Control(s\\(Radio|Gr(id|oup)|MultilineEntry|B(ox|utton)|S(pin|eparator|lider)|C(heck|o(lorButton|mbo))|Tab|P(icker|rogress)|E(ntry|ditableCombo)|Form|Label))?|Draw\\(Matrix|Brush(\\(RadialGradient|Gradient|LinearGradient))?|Stroke|Color|Text\\(Font(\\Descriptor)?|Layout)|P(en|ath))|Point|Executor|Window|Area))|JsonSerializable|finfo|P(har(Data|FileInfo)?|ool|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|ent(B(uffer(Event)?|ase)|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?|P(eriodic|repare)|Embed|Fork|Watcher|Loop)?|rrorException|xception|mptyIterator)|V(8Js(Exception)?|arnish(Stat|Log|Admin))|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|Frame|AttachedPictureFrame))|QuickHash(StringIntHash|Int(S(tringHash|et)|Hash))|F(il(terIterator|esystemIterator)|ANNConnection)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(ppendIterator|PC(Iterator|UIterator)|rray(Iterator|Object|Access))) + \b + name support.class.builtin.php @@ -493,7 +498,13 @@ match - (\\)?\b(GLOB_(MARK|BRACE|NO(SORT|CHECK|ESCAPE)|ONLYDIR|ERR|AVAILABLE_FLAGS)|XML_(SAX_IMPL|HTML_DOCUMENT_NODE|N(OTATION_NODE|AMESPACE_DECL_NODE)|C(OMMENT_NODE|DATA_SECTION_NODE)|TEXT_NODE|OPTION_(SKIP_(TAGSTART|WHITE)|CASE_FOLDING|TARGET_ENCODING)|D(TD_NODE|OCUMENT_(NODE|TYPE_NODE|FRAG_NODE))|PI_NODE|E(RROR_(RECURSIVE_ENTITY_REF|MISPLACED_XML_PI|B(INARY_ENTITY_REF|AD_CHAR_REF)|SYNTAX|NO(NE|_(MEMORY|ELEMENTS))|TAG_MISMATCH|IN(CORRECT_ENCODING|VALID_TOKEN)|DUPLICATE_ATTRIBUTE|UN(CLOSED_(CDATA_SECTION|TOKEN)|DEFINED_ENTITY|KNOWN_ENCODING)|JUNK_AFTER_DOC_ELEMENT|PAR(TIAL_CHAR|AM_ENTITY_REF)|EXTERNAL_ENTITY_HANDLING|A(SYNC_ENTITY|TTRIBUTE_EXTERNAL_ENTITY_REF))|NTITY_(REF_NODE|NODE|DECL_NODE)|LEMENT_(NODE|DECL_NODE))|LOCAL_NAMESPACE|ATTRIBUTE_(N(MTOKEN(S)?|O(TATION|DE))|CDATA|ID(REF(S)?)?|DECL_NODE|EN(TITY|UMERATION)))|M(HASH_(RIPEMD(1(28|60)|256|320)|GOST|MD(2|4|5)|S(HA(1|2(24|56)|384|512)|NEFRU256)|HAVAL(1(28|92|60)|2(24|56))|CRC32(B)?|TIGER(1(28|60))?|WHIRLPOOL|ADLER32)|YSQL(_(BOTH|NUM|CLIENT_(SSL|COMPRESS|I(GNORE_SPACE|NTERACTIVE))|ASSOC)|I_(RE(PORT_(STRICT|INDEX|OFF|ERROR|ALL)|FRESH_(GRANT|MASTER|BACKUP_LOG|S(TATUS|LAVE)|HOSTS|T(HREADS|ABLES)|LOG)|AD_DEFAULT_(GROUP|FILE))|GROUP_FLAG|MULTIPLE_KEY_FLAG|B(INARY_FLAG|OTH|LOB_FLAG)|S(T(MT_ATTR_(CURSOR_TYPE|UPDATE_MAX_LENGTH|PREFETCH_ROWS)|ORE_RESULT)|E(RVER_QUERY_(NO_(GOOD_INDEX_USED|INDEX_USED)|WAS_SLOW)|T_(CHARSET_NAME|FLAG)))|N(O(_D(EFAULT_VALUE_FLAG|ATA)|T_NULL_FLAG)|UM(_FLAG)?)|C(URSOR_TYPE_(READ_ONLY|SCROLLABLE|NO_CURSOR|FOR_UPDATE)|LIENT_(SSL|NO_SCHEMA|COMPRESS|I(GNORE_SPACE|NTERACTIVE)|FOUND_ROWS))|T(YPE_(GEOMETRY|MEDIUM_BLOB|B(IT|LOB)|S(HORT|TRING|ET)|YEAR|N(ULL|EWD(ECIMAL|ATE))|CHAR|TI(ME(STAMP)?|NY(_BLOB)?)|INT(24|ERVAL)|D(OUBLE|ECIMAL|ATE(TIME)?)|ENUM|VAR_STRING|FLOAT|LONG(_BLOB|LONG)?)|IMESTAMP_FLAG)|INIT_COMMAND|ZEROFILL_FLAG|O(N_UPDATE_NOW_FLAG|PT_(NET_(READ_BUFFER_SIZE|CMD_BUFFER_SIZE)|CONNECT_TIMEOUT|INT_AND_FLOAT_NATIVE|LOCAL_INFILE))|D(EBUG_TRACE_ENABLED|ATA_TRUNCATED)|U(SE_RESULT|N(SIGNED_FLAG|IQUE_KEY_FLAG))|P(RI_KEY_FLAG|ART_KEY_FLAG)|ENUM_FLAG|A(S(SOC|YNC)|UTO_INCREMENT_FLAG)))|CRYPT_(R(C(2|6)|IJNDAEL_(1(28|92)|256)|AND)|GOST|XTEA|M(ODE_(STREAM|NOFB|C(BC|FB)|OFB|ECB)|ARS)|BLOWFISH(_COMPAT)?|S(ERPENT|KIPJACK|AFER(128|PLUS|64))|C(RYPT|AST_(128|256))|T(RIPLEDES|HREEWAY|WOFISH)|IDEA|3DES|DE(S|CRYPT|V_(RANDOM|URANDOM))|PANAMA|EN(CRYPT|IGNA)|WAKE|LOKI97|ARCFOUR(_IV)?))|S(TREAM_(REPORT_ERRORS|M(UST_SEEK|KDIR_RECURSIVE)|BUFFER_(NONE|FULL|LINE)|S(HUT_(RD(WR)?|WR)|OCK_(R(DM|AW)|S(TREAM|EQPACKET)|DGRAM)|ERVER_(BIND|LISTEN))|NOTIFY_(RE(SOLVE|DIRECTED)|MIME_TYPE_IS|SEVERITY_(INFO|ERR|WARN)|CO(MPLETED|NNECT)|PROGRESS|F(ILE_SIZE_IS|AILURE)|AUTH_RE(SULT|QUIRED))|C(RYPTO_METHOD_(SSLv(2(_(SERVER|CLIENT)|3_(SERVER|CLIENT))|3_(SERVER|CLIENT))|TLS_(SERVER|CLIENT))|LIENT_(CONNECT|PERSISTENT|ASYNC_CONNECT)|AST_(FOR_SELECT|AS_STREAM))|I(GNORE_URL|S_URL|PPROTO_(RAW|TCP|I(CMP|P)|UDP))|O(OB|PTION_(READ_(BUFFER|TIMEOUT)|BLOCKING|WRITE_BUFFER))|U(RL_STAT_(QUIET|LINK)|SE_PATH)|P(EEK|F_(INET(6)?|UNIX))|ENFORCE_SAFE_MODE|FILTER_(READ|WRITE|ALL))|UNFUNCS_RET_(STRING|TIMESTAMP|DOUBLE)|QLITE(_(R(OW|EADONLY)|MIS(MATCH|USE)|B(OTH|USY)|SCHEMA|N(O(MEM|T(FOUND|ADB)|LFS)|UM)|C(O(RRUPT|NSTRAINT)|ANTOPEN)|TOOBIG|I(NTER(RUPT|NAL)|OERR)|OK|DONE|P(ROTOCOL|ERM)|E(RROR|MPTY)|F(ORMAT|ULL)|LOCKED|A(BORT|SSOC|UTH))|3_(B(OTH|LOB)|NU(M|LL)|TEXT|INTEGER|OPEN_(READ(ONLY|WRITE)|CREATE)|FLOAT|ASSOC)))|CURL(M(SG_DONE|_(BAD_(HANDLE|EASY_HANDLE)|CALL_MULTI_PERFORM|INTERNAL_ERROR|O(UT_OF_MEMORY|K)))|SSH_AUTH_(HOST|NONE|DEFAULT|P(UBLICKEY|ASSWORD)|KEYBOARD)|CLOSEPOLICY_(SLOWEST|CALLBACK|OLDEST|LEAST_(RECENTLY_USED|TRAFFIC))|_(HTTP_VERSION_(1_(1|0)|NONE)|NETRC_(REQUIRED|IGNORED|OPTIONAL)|TIMECOND_(IF(MODSINCE|UNMODSINCE)|LASTMOD)|IPRESOLVE_(V(4|6)|WHATEVER)|VERSION_(SSL|IPV6|KERBEROS4|LIBZ))|INFO_(RE(DIRECT_(COUNT|TIME)|QUEST_SIZE)|S(SL_VERIFYRESULT|TARTTRANSFER_TIME|IZE_(DOWNLOAD|UPLOAD)|PEED_(DOWNLOAD|UPLOAD))|H(TTP_CODE|EADER_(SIZE|OUT))|NAMELOOKUP_TIME|C(ON(NECT_TIME|TENT_(TYPE|LENGTH_(DOWNLOAD|UPLOAD)))|ERTINFO)|TOTAL_TIME|PR(IVATE|ETRANSFER_TIME)|EFFECTIVE_URL|FILETIME)|OPT_(R(E(SUME_FROM|TURNTRANSFER|DIR_PROTOCOLS|FERER|AD(DATA|FUNCTION))|AN(GE|DOM_FILE))|MAX(REDIRS|CONNECTS)|B(INARYTRANSFER|UFFERSIZE)|S(S(H_(HOST_PUBLIC_KEY_MD5|P(RIVATE_KEYFILE|UBLIC_KEYFILE)|AUTH_TYPES)|L(CERT(TYPE|PASSWD)?|_(CIPHER_LIST|VERIFY(HOST|PEER))|ENGINE(_DEFAULT)?|VERSION|KEY(TYPE|PASSWD)?))|TDERR)|H(TTP(GET|HEADER|200ALIASES|_VERSION|PROXYTUNNEL|AUTH)|EADER(FUNCTION)?)|N(O(BODY|SIGNAL|PROGRESS)|ETRC)|C(RLF|O(NNECTTIMEOUT(_MS)?|OKIE(SESSION|JAR|FILE)?)|USTOMREQUEST|ERTINFO|LOSEPOLICY|A(INFO|PATH))|T(RANSFERTEXT|CP_NODELAY|IME(CONDITION|OUT(_MS)?|VALUE))|I(N(TERFACE|FILE(SIZE)?)|PRESOLVE)|DNS_(CACHE_TIMEOUT|USE_GLOBAL_CACHE)|U(RL|SER(PWD|AGENT)|NRESTRICTED_AUTH|PLOAD)|P(R(IVATE|O(GRESSFUNCTION|XY(TYPE|USERPWD|PORT|AUTH)?|TOCOLS))|O(RT|ST(REDIR|QUOTE|FIELDS)?)|UT)|E(GDSOCKET|NCODING)|VERBOSE|K(RB4LEVEL|EYPASSWD)|QUOTE|F(RESH_CONNECT|TP(SSLAUTH|_(S(SL|KIP_PASV_IP)|CREATE_MISSING_DIRS|USE_EP(RT|SV)|FILEMETHOD)|PORT|LISTONLY|APPEND)|ILE(TIME)?|O(RBID_REUSE|LLOWLOCATION)|AILONERROR)|WRITE(HEADER|FUNCTION)|LOW_SPEED_(TIME|LIMIT)|AUTOREFERER)|PRO(XY_(SOCKS(4|5)|HTTP)|TO_(S(CP|FTP)|HTTP(S)?|T(ELNET|FTP)|DICT|F(TP(S)?|ILE)|LDAP(S)?|ALL))|E_(RE(CV_ERROR|AD_ERROR)|GOT_NOTHING|MALFORMAT_USER|BAD_(C(ONTENT_ENCODING|ALLING_ORDER)|PASSWORD_ENTERED|FUNCTION_ARGUMENT)|S(S(H|L_(C(IPHER|ONNECT_ERROR|ERTPROBLEM|ACERT)|PEER_CERTIFICATE|ENGINE_(SETFAILED|NOTFOUND)))|HARE_IN_USE|END_ERROR)|HTTP_(RANGE_ERROR|NOT_FOUND|PO(RT_FAILED|ST_ERROR))|COULDNT_(RESOLVE_(HOST|PROXY)|CONNECT)|T(OO_MANY_REDIRECTS|ELNET_OPTION_SYNTAX)|O(BSOLETE|UT_OF_MEMORY|PERATION_TIMEOUTED|K)|U(RL_MALFORMAT(_USER)?|N(SUPPORTED_PROTOCOL|KNOWN_TELNET_OPTION))|PARTIAL_FILE|F(TP_(BAD_DOWNLOAD_RESUME|SSL_FAILED|C(OULDNT_(RETR_FILE|GET_SIZE|S(TOR_FILE|ET_(BINARY|ASCII))|USE_REST)|ANT_(RECONNECT|GET_HOST))|USER_PASSWORD_INCORRECT|PORT_FAILED|QUOTE_ERROR|W(RITE_ERROR|EIRD_(SERVER_REPLY|227_FORMAT|USER_REPLY|PAS(S_REPLY|V_REPLY)))|ACCESS_DENIED)|ILE(SIZE_EXCEEDED|_COULDNT_READ_FILE)|UNCTION_NOT_FOUND|AILED_INIT)|WRITE_ERROR|L(IBRARY_NOT_FOUND|DAP_(SEARCH_FAILED|CANNOT_BIND|INVALID_URL))|ABORTED_BY_CALLBACK)|VERSION_NOW|FTP(METHOD_(MULTICWD|SINGLECWD|NOCWD)|SSL_(NONE|CONTROL|TRY|ALL)|AUTH_(SSL|TLS|DEFAULT))|AUTH_(GSSNEGOTIATE|BASIC|NTLM|DIGEST|ANY(SAFE)?))|I(MAGETYPE_(GIF|XBM|BMP|SWF|COUNT|TIFF_(MM|II)|I(CO|FF)|UNKNOWN|J(B2|P(X|2|C|EG(2000)?))|P(SD|NG)|WBMP)|NPUT_(REQUEST|GET|SE(RVER|SSION)|COOKIE|POST|ENV)|CONV_(MIME_DECODE_(STRICT|CONTINUE_ON_ERROR)|IMPL|VERSION))|D(NS_(MX|S(RV|OA)|HINFO|N(S|APTR)|CNAME|TXT|PTR|A(NY|LL|AAA|6)?)|OM(STRING_SIZE_ERR|_(SYNTAX_ERR|HIERARCHY_REQUEST_ERR|N(O(_(MODIFICATION_ALLOWED_ERR|DATA_ALLOWED_ERR)|T_(SUPPORTED_ERR|FOUND_ERR))|AMESPACE_ERR)|IN(DEX_SIZE_ERR|USE_ATTRIBUTE_ERR|VALID_(MODIFICATION_ERR|STATE_ERR|CHARACTER_ERR|ACCESS_ERR))|PHP_ERR|VALIDATION_ERR|WRONG_DOCUMENT_ERR)))|JSON_(HEX_(TAG|QUOT|A(MP|POS))|NUMERIC_CHECK|ERROR_(S(YNTAX|TATE_MISMATCH)|NONE|CTRL_CHAR|DEPTH|UTF8)|FORCE_OBJECT)|P(REG_(RECURSION_LIMIT_ERROR|GREP_INVERT|BA(CKTRACK_LIMIT_ERROR|D_UTF8_(OFFSET_ERROR|ERROR))|S(PLIT_(NO_EMPTY|OFFSET_CAPTURE|DELIM_CAPTURE)|ET_ORDER)|NO_ERROR|INTERNAL_ERROR|OFFSET_CAPTURE|PATTERN_ORDER)|SFS_(PASS_ON|ERR_FATAL|F(EED_ME|LAG_(NORMAL|FLUSH_(CLOSE|INC))))|CRE_VERSION|OSIX_(R_OK|X_OK|S_IF(REG|BLK|SOCK|CHR|IFO)|F_OK|W_OK))|F(NM_(NOESCAPE|CASEFOLD|P(ERIOD|ATHNAME))|IL(TER_(REQUIRE_(SCALAR|ARRAY)|SANITIZE_(MAGIC_QUOTES|S(TRI(NG|PPED)|PECIAL_CHARS)|NUMBER_(INT|FLOAT)|URL|E(MAIL|NCODED)|FULL_SPECIAL_CHARS)|NULL_ON_FAILURE|CALLBACK|DEFAULT|UNSAFE_RAW|VALIDATE_(REGEXP|BOOLEAN|I(NT|P)|URL|EMAIL|FLOAT)|F(ORCE_ARRAY|LAG_(S(CHEME_REQUIRED|TRIP_(BACKTICK|HIGH|LOW))|HOST_REQUIRED|NO(NE|_(RES_RANGE|PRIV_RANGE|ENCODE_QUOTES))|IPV(4|6)|PATH_REQUIRED|E(MPTY_STRING_NULL|NCODE_(HIGH|LOW|AMP))|QUERY_REQUIRED|ALLOW_(SCIENTIFIC|HEX|THOUSAND|OCTAL|FRACTION))))|E(_(BINARY|SKIP_EMPTY_LINES|NO_DEFAULT_CONTEXT|TEXT|IGNORE_NEW_LINES|USE_INCLUDE_PATH|APPEND)|INFO_(RAW|MIME(_(TYPE|ENCODING))?|SYMLINK|NONE|CONTINUE|DEVICES|PRESERVE_ATIME)))|ORCE_(GZIP|DEFLATE))|LIBXML_(XINCLUDE|N(SCLEAN|O(XMLDECL|BLANKS|NET|CDATA|E(RROR|MPTYTAG|NT)|WARNING))|COMPACT|D(TD(VALID|LOAD|ATTR)|OTTED_VERSION)|PARSEHUGE|ERR_(NONE|ERROR|FATAL|WARNING)|VERSION|LOADED_VERSION))\b + (?x) + (\\)?\b + (GLOB_(MARK|BRACE|NO(SORT|CHECK|ESCAPE)|ONLYDIR|ERR|AVAILABLE_FLAGS)|XML_(SAX_IMPL|HTML_DOCUMENT_NODE|N(OTATION_NODE|AMESPACE_DECL_NODE)|C(OMMENT_NODE|DATA_SECTION_NODE)|TEXT_NODE|OPTION_(SKIP_(TAGSTART|WHITE)|CASE_FOLDING|TARGET_ENCODING)|D(TD_NODE|OCUMENT_(NODE|TYPE_NODE|FRAG_NODE))|PI_NODE|E(RROR_(RECURSIVE_ENTITY_REF|MISPLACED_XML_PI|B(INARY_ENTITY_REF|AD_CHAR_REF)|SYNTAX|NO(NE|_(MEMORY|ELEMENTS))|TAG_MISMATCH|IN(CORRECT_ENCODING|VALID_TOKEN)|DUPLICATE_ATTRIBUTE|UN(CLOSED_(CDATA_SECTION|TOKEN)|DEFINED_ENTITY|KNOWN_ENCODING)|JUNK_AFTER_DOC_ELEMENT|PAR(TIAL_CHAR|AM_ENTITY_REF)|EXTERNAL_ENTITY_HANDLING|A(SYNC_ENTITY|TTRIBUTE_EXTERNAL_ENTITY_REF))|NTITY_(REF_NODE|NODE|DECL_NODE)|LEMENT_(NODE|DECL_NODE))|LOCAL_NAMESPACE|ATTRIBUTE_(N(MTOKEN(S)?|O(TATION|DE))|CDATA|ID(REF(S)?)?|DECL_NODE|EN(TITY|UMERATION)))|M(HASH_(RIPEMD(1(28|60)|256|320)|GOST|MD(2|4|5)|S(HA(1|2(24|56)|384|512)|NEFRU256)|HAVAL(1(28|92|60)|2(24|56))|CRC32(B)?|TIGER(1(28|60))?|WHIRLPOOL|ADLER32)|YSQL(_(BOTH|NUM|CLIENT_(SSL|COMPRESS|I(GNORE_SPACE|NTERACTIVE))|ASSOC)|I_(RE(PORT_(STRICT|INDEX|OFF|ERROR|ALL)|FRESH_(GRANT|MASTER|BACKUP_LOG|S(TATUS|LAVE)|HOSTS|T(HREADS|ABLES)|LOG)|AD_DEFAULT_(GROUP|FILE))|GROUP_FLAG|MULTIPLE_KEY_FLAG|B(INARY_FLAG|OTH|LOB_FLAG)|S(T(MT_ATTR_(CURSOR_TYPE|UPDATE_MAX_LENGTH|PREFETCH_ROWS)|ORE_RESULT)|E(RVER_QUERY_(NO_(GOOD_INDEX_USED|INDEX_USED)|WAS_SLOW)|T_(CHARSET_NAME|FLAG)))|N(O(_D(EFAULT_VALUE_FLAG|ATA)|T_NULL_FLAG)|UM(_FLAG)?)|C(URSOR_TYPE_(READ_ONLY|SCROLLABLE|NO_CURSOR|FOR_UPDATE)|LIENT_(SSL|NO_SCHEMA|COMPRESS|I(GNORE_SPACE|NTERACTIVE)|FOUND_ROWS))|T(YPE_(GEOMETRY|MEDIUM_BLOB|B(IT|LOB)|S(HORT|TRING|ET)|YEAR|N(ULL|EWD(ECIMAL|ATE))|CHAR|TI(ME(STAMP)?|NY(_BLOB)?)|INT(24|ERVAL)|D(OUBLE|ECIMAL|ATE(TIME)?)|ENUM|VAR_STRING|FLOAT|LONG(_BLOB|LONG)?)|IMESTAMP_FLAG)|INIT_COMMAND|ZEROFILL_FLAG|O(N_UPDATE_NOW_FLAG|PT_(NET_(READ_BUFFER_SIZE|CMD_BUFFER_SIZE)|CONNECT_TIMEOUT|INT_AND_FLOAT_NATIVE|LOCAL_INFILE))|D(EBUG_TRACE_ENABLED|ATA_TRUNCATED)|U(SE_RESULT|N(SIGNED_FLAG|IQUE_KEY_FLAG))|P(RI_KEY_FLAG|ART_KEY_FLAG)|ENUM_FLAG|A(S(SOC|YNC)|UTO_INCREMENT_FLAG)))|CRYPT_(R(C(2|6)|IJNDAEL_(1(28|92)|256)|AND)|GOST|XTEA|M(ODE_(STREAM|NOFB|C(BC|FB)|OFB|ECB)|ARS)|BLOWFISH(_COMPAT)?|S(ERPENT|KIPJACK|AFER(128|PLUS|64))|C(RYPT|AST_(128|256))|T(RIPLEDES|HREEWAY|WOFISH)|IDEA|3DES| + DE(S|CRYPT|V_(RANDOM|URANDOM))|PANAMA|EN(CRYPT|IGNA)|WAKE|LOKI97|ARCFOUR(_IV)?))|S(TREAM_(REPORT_ERRORS|M(UST_SEEK|KDIR_RECURSIVE)|BUFFER_(NONE|FULL|LINE)|S(HUT_(RD(WR)?|WR)|OCK_(R(DM|AW)|S(TREAM|EQPACKET)|DGRAM)|ERVER_(BIND|LISTEN))|NOTIFY_(RE(SOLVE|DIRECTED)|MIME_TYPE_IS|SEVERITY_(INFO|ERR|WARN)|CO(MPLETED|NNECT)|PROGRESS|F(ILE_SIZE_IS|AILURE)|AUTH_RE(SULT|QUIRED))|C(RYPTO_METHOD_(SSLv(2(_(SERVER|CLIENT)|3_(SERVER|CLIENT))|3_(SERVER|CLIENT))|TLS_(SERVER|CLIENT))|LIENT_(CONNECT|PERSISTENT|ASYNC_CONNECT)|AST_(FOR_SELECT|AS_STREAM))|I(GNORE_URL|S_URL|PPROTO_(RAW|TCP|I(CMP|P)|UDP))|O(OB|PTION_(READ_(BUFFER|TIMEOUT)|BLOCKING|WRITE_BUFFER))|U(RL_STAT_(QUIET|LINK)|SE_PATH)|P(EEK|F_(INET(6)?|UNIX))|ENFORCE_SAFE_MODE|FILTER_(READ|WRITE|ALL))|UNFUNCS_RET_(STRING|TIMESTAMP|DOUBLE)|QLITE(_(R(OW|EADONLY)|MIS(MATCH|USE)|B(OTH|USY)|SCHEMA|N(O(MEM|T(FOUND|ADB)|LFS)|UM)|C(O(RRUPT|NSTRAINT)|ANTOPEN)|TOOBIG|I(NTER(RUPT|NAL)|OERR)|OK|DONE|P(ROTOCOL|ERM)|E(RROR|MPTY)|F(ORMAT|ULL)|LOCKED|A(BORT|SSOC|UTH))|3_(B(OTH|LOB)|NU(M|LL)|TEXT|INTEGER|OPEN_(READ(ONLY|WRITE)|CREATE)|FLOAT|ASSOC)))|CURL(M(SG_DONE|_(BAD_(HANDLE|EASY_HANDLE)|CALL_MULTI_PERFORM|INTERNAL_ERROR|O(UT_OF_MEMORY|K)))|SSH_AUTH_(HOST|NONE|DEFAULT|P(UBLICKEY|ASSWORD)|KEYBOARD)|CLOSEPOLICY_(SLOWEST|CALLBACK|OLDEST|LEAST_(RECENTLY_USED|TRAFFIC))|_(HTTP_VERSION_(1_(1|0)|NONE)|NETRC_(REQUIRED|IGNORED|OPTIONAL)|TIMECOND_(IF(MODSINCE|UNMODSINCE)|LASTMOD)|IPRESOLVE_(V(4|6)|WHATEVER)|VERSION_(SSL|IPV6|KERBEROS4|LIBZ))|INFO_(RE(DIRECT_(COUNT|TIME)|QUEST_SIZE)|S(SL_VERIFYRESULT|TARTTRANSFER_TIME|IZE_(DOWNLOAD|UPLOAD)|PEED_(DOWNLOAD|UPLOAD))|H(TTP_CODE|EADER_(SIZE|OUT))|NAMELOOKUP_TIME|C(ON(NECT_TIME|TENT_(TYPE|LENGTH_(DOWNLOAD|UPLOAD)))|ERTINFO)|TOTAL_TIME|PR(IVATE|ETRANSFER_TIME)|EFFECTIVE_URL|FILETIME)|OPT_(R(E(SUME_FROM|TURNTRANSFER|DIR_PROTOCOLS|FERER|AD(DATA|FUNCTION))|AN(GE|DOM_FILE))|MAX(REDIRS|CONNECTS)|B(INARYTRANSFER|UFFERSIZE)|S(S(H_(HOST_PUBLIC_KEY_MD5|P(RIVATE_KEYFILE|UBLIC_KEYFILE)|AUTH_TYPES)|L(CERT(TYPE|PASSWD)?|_(CIPHER_LIST|VERIFY(HOST|PEER))|ENGINE(_DEFAULT)?|VERSION|KEY(TYPE|PASSWD)?))|TDERR)|H(TTP(GET|HEADER|200ALIASES|_VERSION|PROXYTUNNEL|AUTH)|EADER(FUNCTION)?) + |N(O(BODY|SIGNAL|PROGRESS)|ETRC)|C(RLF|O(NNECTTIMEOUT(_MS)?|OKIE(SESSION|JAR|FILE)?)|USTOMREQUEST|ERTINFO|LOSEPOLICY|A(INFO|PATH))|T(RANSFERTEXT|CP_NODELAY|IME(CONDITION|OUT(_MS)?|VALUE))|I(N(TERFACE|FILE(SIZE)?)|PRESOLVE)|DNS_(CACHE_TIMEOUT|USE_GLOBAL_CACHE)|U(RL|SER(PWD|AGENT)|NRESTRICTED_AUTH|PLOAD)|P(R(IVATE|O(GRESSFUNCTION|XY(TYPE|USERPWD|PORT|AUTH)?|TOCOLS))|O(RT|ST(REDIR|QUOTE|FIELDS)?)|UT)|E(GDSOCKET|NCODING)|VERBOSE|K(RB4LEVEL|EYPASSWD)|QUOTE|F(RESH_CONNECT|TP(SSLAUTH|_(S(SL|KIP_PASV_IP)|CREATE_MISSING_DIRS|USE_EP(RT|SV)|FILEMETHOD)|PORT|LISTONLY|APPEND)|ILE(TIME)?|O(RBID_REUSE|LLOWLOCATION)|AILONERROR)|WRITE(HEADER|FUNCTION)|LOW_SPEED_(TIME|LIMIT)|AUTOREFERER)|PRO(XY_(SOCKS(4|5)|HTTP)|TO_(S(CP|FTP)|HTTP(S)?|T(ELNET|FTP)|DICT|F(TP(S)?|ILE)|LDAP(S)?|ALL))|E_(RE(CV_ERROR|AD_ERROR)|GOT_NOTHING|MALFORMAT_USER|BAD_(C(ONTENT_ENCODING|ALLING_ORDER)|PASSWORD_ENTERED|FUNCTION_ARGUMENT)|S(S(H|L_(C(IPHER|ONNECT_ERROR|ERTPROBLEM|ACERT)|PEER_CERTIFICATE|ENGINE_(SETFAILED|NOTFOUND)))|HARE_IN_USE|END_ERROR)|HTTP_(RANGE_ERROR|NOT_FOUND|PO(RT_FAILED|ST_ERROR))|COULDNT_(RESOLVE_(HOST|PROXY)|CONNECT)|T(OO_MANY_REDIRECTS|ELNET_OPTION_SYNTAX)|O(BSOLETE|UT_OF_MEMORY|PERATION_TIMEOUTED|K)|U(RL_MALFORMAT(_USER)?|N(SUPPORTED_PROTOCOL|KNOWN_TELNET_OPTION))|PARTIAL_FILE|F(TP_(BAD_DOWNLOAD_RESUME|SSL_FAILED|C(OULDNT_(RETR_FILE|GET_SIZE|S(TOR_FILE|ET_(BINARY|ASCII))|USE_REST)|ANT_(RECONNECT|GET_HOST))|USER_PASSWORD_INCORRECT|PORT_FAILED|QUOTE_ERROR|W(RITE_ERROR|EIRD_(SERVER_REPLY|227_FORMAT|USER_REPLY|PAS(S_REPLY|V_REPLY)))|ACCESS_DENIED)|ILE(SIZE_EXCEEDED|_COULDNT_READ_FILE)|UNCTION_NOT_FOUND|AILED_INIT)|WRITE_ERROR|L(IBRARY_NOT_FOUND|DAP_(SEARCH_FAILED|CANNOT_BIND|INVALID_URL))|ABORTED_BY_CALLBACK)|VERSION_NOW|FTP(METHOD_(MULTICWD|SINGLECWD|NOCWD)|SSL_(NONE|CONTROL|TRY|ALL)|AUTH_(SSL|TLS|DEFAULT))|AUTH_(GSSNEGOTIATE|BASIC|NTLM|DIGEST|ANY(SAFE)?))|I(MAGETYPE_(GIF|XBM|BMP|SWF|COUNT|TIFF_(MM|II)|I(CO|FF)|UNKNOWN|J(B2|P(X|2|C|EG(2000)?))|P(SD|NG)|WBMP)|NPUT_(REQUEST|GET|SE(RVER|SSION)|COOKIE|POST|ENV)|CONV_(MIME_DECODE_(STRICT|CONTINUE_ON_ERROR)|IMPL|VERSION))|D(NS_(MX|S(RV|OA)|HINFO|N(S|APTR)|CNAME|TXT|PTR|A(NY|LL|AAA|6)?)|OM(STRING_SIZE_ERR|_(SYNTAX_ERR|HIERARCHY_REQUEST_ERR|N(O(_(MODIFICATION_ALLOWED_ERR|DATA_ALLOWED_ERR)|T_(SUPPORTED_ERR|FOUND_ERR))|AMESPACE_ERR)|IN(DEX_SIZE_ERR|USE_ATTRIBUTE_ERR|VALID_(MODIFICATION_ERR|STATE_ERR|CHARACTER_ERR|ACCESS_ERR))|PHP_ERR|VALIDATION_ERR|WRONG_DOCUMENT_ERR)))|JSON_(HEX_(TAG|QUOT|A(MP|POS))|NUMERIC_CHECK|ERROR_(S(YNTAX|TATE_MISMATCH)|NONE|CTRL_CHAR|DEPTH|UTF8)|FORCE_OBJECT)|P(REG_(RECURSION_LIMIT_ERROR|GREP_INVERT|BA(CKTRACK_LIMIT_ERROR|D_UTF8_(OFFSET_ERROR|ERROR))|S(PLIT_(NO_EMPTY|OFFSET_CAPTURE|DELIM_CAPTURE)|ET_ORDER)|NO_ERROR|INTERNAL_ERROR|OFFSET_CAPTURE|PATTERN_ORDER)|SFS_(PASS_ON|ERR_FATAL|F(EED_ME|LAG_(NORMAL|FLUSH_(CLOSE|INC))))|CRE_VERSION|OSIX_(R_OK|X_OK|S_IF(REG|BLK|SOCK|CHR|IFO)|F_OK|W_OK))|F(NM_(NOESCAPE|CASEFOLD|P(ERIOD|ATHNAME))|IL(TER_(REQUIRE_(SCALAR|ARRAY)|SANITIZE_(MAGIC_QUOTES|S(TRI(NG|PPED)|PECIAL_CHARS)|NUMBER_(INT|FLOAT)|URL|E(MAIL|NCODED)|FULL_SPECIAL_CHARS)|NULL_ON_FAILURE|CALLBACK|DEFAULT|UNSAFE_RAW|VALIDATE_(REGEXP|BOOLEAN|I(NT|P)|URL|EMAIL|FLOAT)|F(ORCE_ARRAY|LAG_(S(CHEME_REQUIRED|TRIP_(BACKTICK|HIGH|LOW))|HOST_REQUIRED|NO(NE|_(RES_RANGE|PRIV_RANGE|ENCODE_QUOTES))|IPV(4|6)|PATH_REQUIRED|E(MPTY_STRING_NULL|NCODE_(HIGH|LOW|AMP))|QUERY_REQUIRED|ALLOW_(SCIENTIFIC|HEX|THOUSAND|OCTAL|FRACTION))))|E(_(BINARY|SKIP_EMPTY_LINES|NO_DEFAULT_CONTEXT|TEXT|IGNORE_NEW_LINES|USE_INCLUDE_PATH|APPEND)|INFO_(RAW|MIME(_(TYPE|ENCODING))?|SYMLINK|NONE|CONTINUE|DEVICES|PRESERVE_ATIME)))|ORCE_(GZIP|DEFLATE))|LIBXML_(XINCLUDE|N(SCLEAN|O(XMLDECL|BLANKS|NET|CDATA|E(RROR|MPTYTAG|NT)|WARNING))|COMPACT|D(TD(VALID|LOAD|ATTR)|OTTED_VERSION)|PARSEHUGE|ERR_(NONE|ERROR|FATAL|WARNING)|VERSION|LOADED_VERSION)) + \b + name support.constant.ext.php From d4a7aec1d438d8891711249ec3216453a159efaa Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Tue, 27 Mar 2018 01:24:39 -0500 Subject: [PATCH 10/12] Allow matching class-names at end of a string This allows using the match inside of a capture. --- Syntaxes/PHP.plist | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Syntaxes/PHP.plist b/Syntaxes/PHP.plist index 96f2b40..90043d5 100644 --- a/Syntaxes/PHP.plist +++ b/Syntaxes/PHP.plist @@ -258,7 +258,7 @@ begin (?i)(?=\\?[a-z_0-9]+\\) end - (?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\]) + (?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\]|\z) endCaptures 1 @@ -283,7 +283,7 @@ begin (?=[\\a-zA-Z_]) end - (?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\]) + (?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\]|\z) endCaptures 1 @@ -2472,7 +2472,7 @@ namespace begin - (?i)(?:(namespace)|[a-z0-9_]+)?(\\)(?=.*?[^a-z_0-9\\]) + (?i)(?:(namespace)|[a-z0-9_]+)?(\\)(?=.*?([^a-z0-9_\\]|\z)) beginCaptures 1 @@ -2487,7 +2487,7 @@ end - (?i)(?=[a-z0-9_]*[^a-z0-9_\\]) + (?i)(?=[a-z0-9_]*([^a-z0-9_\\]|\z)) name support.other.namespace.php patterns From 706c68037661378f964657d00b85c3c8bdb8bec7 Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Tue, 27 Mar 2018 01:27:35 -0500 Subject: [PATCH 11/12] Allow default values in type-hinted function parameters Merges the various previous rules into a single rule allowing the same items in all cases. Some scoping has been updated to be in line with conventions. Fixes #75 and #81. --- Syntaxes/PHP.plist | 255 ++++++++------------------------------------- 1 file changed, 41 insertions(+), 214 deletions(-) diff --git a/Syntaxes/PHP.plist b/Syntaxes/PHP.plist index 90043d5..579176a 100644 --- a/Syntaxes/PHP.plist +++ b/Syntaxes/PHP.plist @@ -546,267 +546,94 @@ begin - (?xi) - \s*(array) # Typehint - \s*(&)? # Reference - \s*((\$+)[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*) # The variable name - \s*(=) # A default value - \s*(array)\s*(\() - + (?ix) + (?: # Optional + (\?)? + (?: + (array|bool|float|int|string) # scalar-type + | (callable|iterable) # base-type-declaration + | ([a-z_0-9\\]*[a-z_][a-z_0-9]*) + ) + \s+ + )? + (?:(&)\s*)? # Reference + ((\$+)[a-z_\x{7f}-\x{ff}][a-z0-9_\x{7f}-\x{ff}]*) # Variable name + beginCaptures 1 name - storage.type.php + storage.modifier.nullable.php 2 name - storage.modifier.reference.php + storage.type.$2.php 3 name - variable.other.php + storage.modifier.$3.php 4 - name - punctuation.definition.variable.php + patterns + + + include + #class-name + + 5 - - name - keyword.operator.assignment.php - - 6 - - name - support.function.construct.php - - 7 - - name - punctuation.definition.array.begin.php - - - contentName - meta.array.php - end - \) - endCaptures - - 0 - - name - punctuation.definition.array.end.php - - - name - meta.function.argument.array.php - patterns - - - include - #comments - - - include - #strings - - - include - #numbers - - - - - captures - - 1 - - name - storage.type.php - - 2 name storage.modifier.reference.php - 3 - - name - variable.other.php - - 4 - - name - punctuation.definition.variable.php - - 5 - - name - keyword.operator.assignment.php - 6 name - constant.language.php + variable.other.php 7 name - punctuation.section.array.begin.php - - 8 - - name - punctuation.section.array.end.php - - 9 - - name - invalid.illegal.non-null-typehinted.php + punctuation.definition.variable.php - match - (?xi) - \s*(array) # Typehint - \s*(&)? # Reference - \s*((\$+)[a-z_\x{7f}-\x{ff}][a-z0-9_\x{7f}-\x{ff}]*) # The variable name - (?: - \s*(?:(=)\s*(?:(null)|(\[)\s*(\])|((?:\S*?\(\))|(?:\S*?)))) # A default value - )? - \s*(?=,|\)|/[/*]|\#|$) # A closing parentheses (end of argument list) or a comma or a comment - - name - meta.function.argument.array.php - - - begin - (?i)(?=[a-z_0-9\\]*[a-z_][a-z_0-9]*\s*&?\s*\$) end - (?=,|\)|/[/*]|\#|$) + (?=,|\)|/[/*]|\#) name - meta.function.argument.typehinted.php + meta.function.argment.php patterns - include - #class-name - - - captures + begin + \s*(=) + beginCaptures 1 - - name - support.class.php - - 2 - - name - storage.modifier.reference.php - - 3 - - name - variable.other.php - - 4 - - name - punctuation.definition.variable.php - - 5 name keyword.operator.assignment.php - 6 - - name - constant.language.php - - 7 + + end + (?=,|\)|/[/*]|\#) + patterns + - name - invalid.illegal.non-null-typehinted.php + include + #parameter-default-types - - match - (?xi) - \s*([a-z_][a-z_0-9]*)? # Typehinted class name - \s*(&)? # Reference - \s*((\$+)[a-z_\x{7f}-\x{ff}][a-z0-9_\x{7f}-\x{ff}]*) # The variable name - (?: - \s*(?:(=)\s*(?:(null)|((?:\S*?\(\))|(?:\S*?)))) # A default value - )? - \s*(?=,|\)|/[/*]|\#|$) # A closing parentheses (end of argument list) or a comma - - - - - - captures - - 1 - - name - storage.modifier.reference.php - - 2 - - name - variable.other.php - - 3 - - name - punctuation.definition.variable.php - - - match - (?:\s*(&))?\s*((\$+)[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)\s*(?=,|\)|/[/*]|\#) - name - meta.function.argument.no-default.php - - - begin - (?:\s*(&))?\s*((\$+)[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)(?:\s*(=)\s*)\s* - captures - - 1 - - name - storage.modifier.reference.php - - 2 - - name - variable.other.php - - 3 - - name - punctuation.definition.variable.php + - 4 + match + \S name - keyword.operator.assignment.php - - - end - (?=,|\)|/[/*]|\#) - name - meta.function.argument.default.php - patterns - - - include - #parameter-default-types + invalid.illegal.character-not-allowed-here.php From 8f05764681d51cd0b13db1e36810d74913c86bfc Mon Sep 17 00:00:00 2001 From: Michael Sheets Date: Tue, 27 Mar 2018 01:30:30 -0500 Subject: [PATCH 12/12] Match return types in function declarations Before these were passed back to the basic grammar, now match the valid items specifically. --- Syntaxes/PHP.plist | 49 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/Syntaxes/PHP.plist b/Syntaxes/PHP.plist index 579176a..45e5525 100644 --- a/Syntaxes/PHP.plist +++ b/Syntaxes/PHP.plist @@ -1919,7 +1919,19 @@ contentName meta.function.arguments.php end - (\)) + (?ix) + (\)) # Close arguments + (?: # Optional return type + \s*(:)\s* + (\?)? + (?: + (array|bool|float|int|string) # scalar-type + | (callable|iterable) # base-type-declaration + | (void) + | ([a-z_0-9\\]*[a-z_][a-z_0-9]*) # qualified-name + ) + )? + endCaptures 1 @@ -1927,6 +1939,41 @@ name punctuation.definition.parameters.end.php + 2 + + name + punctuation.separator.return-type.php + + 3 + + name + storage.modifier.nullable.php + + 4 + + name + storage.type.$4.php + + 5 + + name + storage.modifier.$5.php + + 6 + + name + storage.type.void.php + + 7 + + patterns + + + include + #class-name + + + name meta.function.php