���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/wiki.craftaro.com/vendor/wikimedia/wikipeg/src/Location.php
���ѧ٧ѧ�
<?php namespace Wikimedia\WikiPEG; class Location implements \JsonSerializable { /** @var int 0-based byte offset into the input string */ public $offset; /** @var int 1-based line number */ public $line; /** @var int 1-based column number */ public $column; /** * @param int $offset * @param int $line * @param int $column */ public function __construct( $offset, $line, $column ) { $this->offset = $offset; $this->line = $line; $this->column = $column; } /** @return string */ public function __toString() { return "{$this->line}:{$this->column}"; } /** * Emit a JSON serialization similar to JS, for testing * @return array */ public function jsonSerialize() { return [ 'offset' => $this->offset, 'line' => $this->line, 'column' => $this->column, ]; } } // Retain the old namespace for backwards compatibility. class_alias( Location::class, 'WikiPEG\Location' );
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.09 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�