> truetrue
boolean
> falsefalse
boolean
> 'I can haz a 강남스타일 string'I can haz a 강남스타일 string
string(24; UTF-8)
> '1492-10-14 04:20:00 America/Nassau'1492-10-14 04:20:00 America/Nassau
date-526yr America/Nassau (UTC-4)
string(34)
> nullnull
> 4.204.2
double
> array()array()
> $arrayarray(14hèllo world=>(͡°͜ʖ͡°)empty string=>multiline string=>first line and some padding second lineinfinity=>INFregular expression (pcre)=>/^([0-9a-zA-Z]([-\.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$/
regex/^([0-9a-zA-Z]([-\.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$/
multi=>array(50=>11=>22=>33=>array(30=>41=>52=>6)4=>FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU)matching class=>DateTime
classCDateTime
matching file=>file.txt
file-rw-r--r-- 0.26K
incomplete object=>object(incomplete)empty object=>CstdClass object()closed CURL resource=>unknownmatching date/file/function/class=>today
file-rw-r--r-- 0.11K
classCXArrayObject :: AXTests\AbstractTest :: CXTests\ClassTest :: FCXToday
functiontoday
date-6hr UTC
url=>http://google.com
url2607:f8b0:4000:804::200e:80 text/html 0.51ms (405)
reference to self=>array(recursion)
)
Key: string(11; UTF-8)
string(8; UTF-8)
Key: string(12)
string(0)
Key: string(16)
string(42)
Key: string(8)
double
Key: string(25)
string(86)
Key: string(5)
Key: integer
integer
string(313)
Key: string(14)
string(8)
Cloneable
Internal - part of date (5.5.9-1ubuntu4.24)
Key: string(13)
Key: string(17)
Internal - part of Core (5.5.9-1ubuntu4.24)
Key: string(20)
Key: string(33)
string(5)
Iterateable
Internal - part of SPL (0.2)
Abstract
An example abstract classThis class implements PHP's iterator interface and can only be extended because it's abstract @since1.0@authorOne Trick PonyDefined inexample.class.php:29
An example concrete / child classThis class extends the example abstract class and implements the example interface @since1.0@authorOne Trick PonyDefined inexample.class.php:97
Final
Test classDefined inindex.php:20
Test function @param$test Test argument@returnvoidNothingDefined inindex.php:30
Key: string(3)
string(17)
> serialize(array('A', 'serialized', 'string'))a:3:{i:0;s:1:"A";i:1;s:10:"serialized";i:2;s:6:"string";}
serializedarray(30=>A1=>serialized2=>string)
Internal - part of standard (5.5.9-1ubuntu4.24)
string(57)
Key: integer
string(1)
string(10)
string(6)
> fopen('php://stdin', 'r')Resource id #10(streamTimed Out:falseBlocked:trueEof:falseWrapper Type:PHPStream Type:STDIOMode:rUnread Bytes:0Seekable:trueUri:php://stdin)
Internal - part of standard (5.5.9-1ubuntu4.24)
boolean
string(3)
string(5)
string(1)
integer
string(11)
> function($x, $d){}FCClosure object(Methods->!__construct()::bind($closure, $newthis, $newscope = null)->bindTo($newthis, $newscope = null)->__invoke($x, $d))
Final
Cloneable
Internal - part of Core (5.5.9-1ubuntu4.24)
Private
Internal
> new C\DateTimeZone('Pacific/Honolulu')CDateTimeZone object(Constants::AFRICA=1::AMERICA=2::ANTARCTICA=4::ARCTIC=8::ASIA=16::ATLANTIC=32::AUSTRALIA=64::EUROPE=128::INDIAN=256::PACIFIC=512::UTC=1024::ALL=2047::ALL_WITH_BC=4095::PER_COUNTRY=4096Properties->timezone_type=3->timezone=Pacific/Honolulu
datenow Pacific/Honolulu (UTC-10)
Methods->__construct($timezone)->__wakeup()::__set_state()->getName()->getOffset($datetime)->getTransitions($timestamp_begin, $timestamp_end)->getLocation()::listAbbreviations()::listIdentifiers($what = null, $country = null)
)
Internal - part of date (5.5.9-1ubuntu4.24)
Cloneable
integer
string(16)
> $objCXArrayObject :: AXTests\AbstractTest :: CXTests\ClassTest object(Contents (2)0=>foo1=>barImplementsIteratorAggregate (1), Traversable (0), ArrayAccess (4), Serializable (2), Countable (1), Tests\Testable (0)Constants::BAR=420::FOO=this constant will be inherited::STD_PROP_LIST=1::ARRAY_AS_PROPS=2Properties->pubVarA=420->pubVarB=CXArrayObject :: AXTests\AbstractTest :: CXTests\ClassTest object(recursion)->currentDate=CDateTime object(ImplementsDateTimeInterface (6)Constants::ATOM=Y-m-d\TH:i:sP::COOKIE=l, d-M-Y H:i:s T::ISO8601=Y-m-d\TH:i:sO::RFC822=D, d M y H:i:s O::RFC850=l, d-M-y H:i:s T::RFC1036=D, d M y H:i:s O::RFC1123=D, d M Y H:i:s O::RFC2822=D, d M Y H:i:s O::RFC3339=Y-m-d\TH:i:sP::RSS=D, d M Y H:i:s O::W3C=Y-m-d\TH:i:sPProperties->date=2019-04-23 06:32:40
date-1sec UTC
->timezone_type=1->timezone=+00:00
datenow UTC
Methods->__construct($time = null, $object = null)->__wakeup()::__set_state()::createFromFormat($format, $time, $object = null)::getLastErrors()->format($format)->modify($modify)->add($interval)->sub($interval)->getTimezone()->setTimezone($timezone)->getOffset()->setTime($hour, $minute, $second = null)->setDate($year, $month, $day)->setISODate($year, $week, $day = null)->setTimestamp($unixtimestamp)->getTimestamp()->diff($object, $absolute = null)
)
->image=Resource id #2(gdSize:1 x 1True Color:false)->curl=Resource id #3(curlUrl:http://localhost/
url::1:80 text/html 0.00ms (200)
Content Type:text/htmlHttp Code:200Header Size:254Request Size:48Filetime:-1Ssl Verify Result:0Redirect Count:0Total Time:0.004823Namelookup Time:0.004225Connect Time:0.004322Pretransfer Time:0.004376Size Upload:0Size Download:11510Speed Download:2386481Speed Upload:0Download Content Length:11510Upload Content Length:0Starttransfer Time:0.004799Redirect Time:0Redirect Url:Primary Ip:::1Certinfo:array()Primary Port:80Local Ip:::1Local Port:48316
)
->jsonString={"date":"2019-04-23 06:32:40","timezone_type":1,"timezone":"+00:00"}
jsonCstdClass object(Properties->date=2019-04-23 06:32:40
date-1sec UTC
->timezone_type=1->timezone=+00:00
datenow UTC
)

regex{"date":"2019-04-23 06:32:40","timezone_type":1,"timezone":"+00:00"}
->!privProp=asdf->Pstuff=array(20=>foo1=>bar)->PparentProp=true
Methods->__construct(array $list, $stuff, &$refTest = null, IIterator $classHintTest = null)->__destruct()->!normalizeList()->getList(CXTests\ClassTest $x = null, $regexToIgnore = "#special\tabc\n#", $const = self::BAR)->FP&setList(array $list)::Ffactory(array $list)->rewind()->current()->next()->key()->valid()->offsetExists($index)->offsetGet($index)->offsetSet($index, $newval)->offsetUnset($index)->append($value)->getArrayCopy()->count()->getFlags()->setFlags($flags)->asort()->ksort()->uasort($cmp_function)->uksort($cmp_function)->natsort()->natcasesort()->unserialize($serialized)->serialize()->getIterator()->exchangeArray($array)->setIteratorClass($iteratorClass)->getIteratorClass()
)
Cloneable
Iterateable
Internal - part of SPL (0.2)
Abstract
An example abstract classThis class implements PHP's iterator interface and can only be extended because it's abstract @since1.0@authorOne Trick PonyDefined inexample.class.php:29
An example concrete / child classThis class extends the example abstract class and implements the example interface @since1.0@authorOne Trick PonyDefined inexample.class.php:97
Iterator key: integer
string(3)
Internal - part of Core (5.5.9-1ubuntu4.24)
An example interfaceDescription of this interface goes here bla blah... @since1.0@authorOne Trick PonyDefined inexample.class.php:16
integer
Prototype defined byTests\AbstractTest
string(31)
Prototype defined byArrayObject
intA public variable that everyone can access
selfAnother one, to test recursivity
DateTimeDateTime objectTesting property description
Internal - part of date (5.5.9-1ubuntu4.24)
string(13)
string(16)
string(19)
string(6)
Internal - part of date (5.5.9-1ubuntu4.24)Prototype defined byDateTimeInterface
Image resource created with GDNo @var definition here
string(5)
boolean
resourceCurl resource
string(17)
string(9)
double
string(0)
stringA json-encoded object
string(68)
Private
arrayA private property
string(4)
Protected
arrayA protected variable that only this class and child classes can have access to
Key: integer
boolA property that will be inherited by children Declared inAbstractTest
Class constructor @since1.0@paramarray $listValue to set for "B"@parammixed &$refTestA referenced variable@paramIterator $classHintTestAn iterateable instance Two line comment testDefined inexample.class.php:185
arrayValue to set for "B"
mixedA referenced variable
Interface
IteratorAn iterateable instance Two line comment test
The destructor destroys the created image resource and the curl connection @since1.0Defined inexample.class.php:214
A private method @since1.0@returnarrayNormalized listDefined inexample.class.php:231
A public getter method @since1.0@returnarrayIndexed array containing list itemsDefined inexample.class.php:241Prototype defined byTests\AbstractTest
string(14)
Constant
Final
A protected setter method that returns a referenceAccessible only from classes that extend this class or from parent classes @since1.0@paramarray $listList as indexed arrayDefined inexample.class.php:254
arrayList as indexed array
A static method that creates a new instance @since1.0@paramarray $listIndexed array containing list items@returnstaticA new instance of this classDefined inexample.class.php:265
arrayIndexed array containing list items
A method that overrides parent::rewind() @since1.0Defined inexample.class.php:274Prototype defined byTests\AbstractTest
Example Iterator::current() methodDefined inexample.class.php:56Inherited fromAbstractTest
Example Iterator::next() methodDefined inexample.class.php:61Inherited fromAbstractTest
Example Iterator::key() methodDefined inexample.class.php:66Inherited fromAbstractTest
Example Iterator::valid() methodDefined inexample.class.php:71Inherited fromAbstractTest
Internal - part of SPL (0.2)Inherited fromArrayObjectPrototype defined byArrayAccess
Internal - part of SPL (0.2)Inherited fromArrayObject
Internal - part of SPL (0.2)Inherited fromArrayObjectPrototype defined byCountable
Internal - part of SPL (0.2)Inherited fromArrayObjectPrototype defined bySerializable
Internal - part of SPL (0.2)Inherited fromArrayObjectPrototype defined byIteratorAggregate
> new Cref()Cref object(Constants::MARKER_KEY=_phpRefArrayMarker_
regex_phpRefArrayMarker_
Properties::Ptime=0.52824974060059::Pconfig=array(14expLvl=>1maxDepth=>6showBacktrace=>falseshowIteratorContents=>trueshowResourceInfo=>trueshowMethods=>trueshowPrivateMembers=>trueshowStringMatches=>trueshortcutFunc=>array(20=>r1=>rt)formatters=>array()stylePath=>{:dir}/ref.cssscriptPath=>{:dir}/ref.jsshowUrls=>truetimeout=>10)::Penv=array(6is54=>trueis546=>trueis56=>falsecurlActive=>truembStr=>truesupportsDate=>true)::Ptimeout=-1->Pfmt=ARFormatter :: CRHtmlFormatter object(Properties->Pout=->Plevel=0->Ptips=array()->Pcache=array()::Pcounter=14::PdidAssets=trueMethods->flush()->didCache($id)->cacheLock($id)->sep($label = " ")->text($type, $text = null, $meta = null, $uri = null)->startContain($type, $label = false)->endContain()->emptyGroup($prefix = "")->startGroup($prefix = "")->endGroup()->sectionTitle($title)->startRow()->endRow()->colDiv($padLen = null)->bubbles(array $items)->startExp()->endExp()->startRoot()->endRoot()::getAssets()::Pescape($var))->PstartTime=0Methods->__construct($format = "html")->__get($name)->__set($name, $value)->query($subject, $expression = null)::timeFunc($iterations, $function, &$output = null)::timer($id = 1, $precision = 4)::parseComment($comment, $key = null)::splitRegex($pattern)::config($key, $value = null)::getTime($precision = 4)::getBacktrace()::getInputExpressions(array &$options = null)::PgetParentClasses(IReflector $class)->PfromReflector(IReflector $reflector, $single = "", IReflector $context = null)->Plinkify(IReflector $reflector, $constant = null)::getTimeoutPoint()->PhasInstanceTimedOut()->Pevaluate(&$subject, $specialStr = false)->PevaluateExp($expression = null)::PstrLen($string)::PstrPad($input, $padLen, $padStr = " ", $padType = STR_PAD_RIGHT)
)
Constructor @paramstring|RFormatter $formatOutput format ID, or formatter instance defaults to 'html'Defined inref.php:204
Cloneable
REF is a nicer alternative to PHP's print_r() / var_dump(). @version1.0@authordigitalnature - http://digitalnature.euDefined inref.php:93
string(19)
Protected
arrayCPU time used for processing
double
arrayConfiguration (+ default values)
Key: string(6)
integer
Key: string(8)
Key: string(13)
boolean
Key: string(20)
Key: string(16)
Key: string(11)
Key: string(18)
Key: string(17)
Key: string(12)
Key: integer
string(1)
string(2)
Key: string(10)
Key: string(9)
string(14)
string(13)
Key: string(7)
arraySome environment variables used to determine feature support
Key: string(4)
Key: string(5)
boolTimeout point
RFormatterOutput formatter of this instance
Abstract
Formatter abstractionDefined inref.php:2095
Generates the output in HTML5 formatDefined inref.php:2238
stringActual output
string(0)
intTracks current nesting level
arrayStores tooltip content for all entriesTo avoid having duplicate tooltip data in the HTML, we generate them once, and use references (the Q index) to pull data when required; this improves performance significantly
arrayUsed to cache output to speed up processing.Contains hashes as keys and string offsets as values. Cached objects will not be processed again in the same query
intInstance counter
boolTracks style/jscript inclusion state
Defined inref.php:2297Prototype defined byRFormatter
Defined inref.php:2305Prototype defined byRFormatter
Defined inref.php:2322Prototype defined byRFormatter
Defined inref.php:2327Prototype defined byRFormatter
Defined inref.php:2331Prototype defined byRFormatter
Defined inref.php:2374Prototype defined byRFormatter
Defined inref.php:2392Prototype defined byRFormatter
Defined inref.php:2396Prototype defined byRFormatter
Defined inref.php:2405Prototype defined byRFormatter
Defined inref.php:2427Prototype defined byRFormatter
Defined inref.php:2432Prototype defined byRFormatter
Defined inref.php:2436Prototype defined byRFormatter
Defined inref.php:2440Prototype defined byRFormatter
Defined inref.php:2444Prototype defined byRFormatter
Defined inref.php:2448Prototype defined byRFormatter
Defined inref.php:2461Prototype defined byRFormatter
Defined inref.php:2465Prototype defined byRFormatter
Defined inref.php:2472Prototype defined byRFormatter
Defined inref.php:2476Prototype defined byRFormatter
Get styles and javascript (only generated for the 1st call) @returnstringDefined inref.php:2550
Escapes variable for HTML output @paramstring|array $var@returnstring|arrayDefined inref.php:2590
string|array
floatStart time of the current instance
string|RFormatterOutput format ID, or formatter instance defaults to 'html'
string(4)
Enforce proper use of this class @paramstring $nameDefined inref.php:263
string
Enforce proper use of this class @paramstring $name@parammixed $valueDefined inref.php:275
mixed
Generate structured information about a variable/value/expression (subject)Output is flushed to the screen @parammixed $subject@paramstring $expressionDefined inref.php:289
Executes a function the given number of times and returns the elapsed time.Keep in mind that the returned time includes function call overhead (including microtime calls) x iteration count. This is why this is better suited for determining which of two or more functions is the fastest, rather than finding out how fast is a single function. @paramint $iterationsNumber of times the function will be executed@paramcallable $functionFunction to execute@parammixed &$outputIf given, last return value will be available in this variable@returndoubleElapsed timeDefined inref.php:323
intNumber of times the function will be executed
callableFunction to execute
mixedIf given, last return value will be available in this variable
Timer utilityFirst call of this function will start the timer. The second call will stop the timer and return the elapsed time since the timer started. Multiple timers can be controlled simultaneously by specifying a timer ID. @since1.0@paramint $idTimer ID, optional@paramint $precisionPrecision of the result, optional@returnvoid|doubleElapsed time, or void if the timer was just startedDefined inref.php:352
intTimer ID, optional
intPrecision of the result, optional
Parses a DocBlock comment into a data structure. @linkhttp://pear.php.net/manual/en/standards.sample.php@paramstring $commentDocBlock comment (must start with /**)@paramstring|null $keyField to return (optional)@returnarray|string|nullArray containing all fields, array/string with the contents of the requested field, or null if the comment is empty/invalidDefined inref.php:379
stringDocBlock comment (must start with /**)
string|nullField to return (optional)
Split a regex into its componentsBased on "Regex Colorizer" by Steven Levithan (this is a translation from javascript) @linkhttps://github.com/slevithan/regex-colorizer@linkhttps://github.com/symfony/Finder/blob/master/Expression/Regex.php#L64-74@paramstring $pattern@returnarrayDefined inref.php:504
Set or get configuration options @paramstring $key@parammixed|null $value@returnmixedDefined inref.php:759
mixed|null
Total CPU time used by the class @paramint precision@returndoubleDefined inref.php:781
Get relevant backtrace info for last ref call @returnarray|falseDefined inref.php:792
Determines the input expression(s) passed to the shortcut function @paramarray &$optionsOptional, options to gather (from operators)@returnarrayArray of string expressionsDefined inref.php:821
arrayOptional, options to gather (from operators)
Get all parent classes of a class @paramReflector $classReflection object@returnarrayArray of ReflectionClass objects (starts with the ancestor, ends with the given class)Defined inref.php:926
Interface
Internal - part of Reflection ($Id: 31d836a7ac92a37b5c580836d91ad4736fe2f376 $)
ReflectorReflection object
Generate class / function info @paramReflector $reflectorClass name or reflection object@paramstring $singleSkip parent classes@paramReflector|null $contextObject context (for methods)@returnstringDefined inref.php:945
ReflectorClass name or reflection object
stringSkip parent classes
Reflector|nullObject context (for methods)
Generates an URL that points to the documentation page relevant for the requested contextFor internal functions and classes, the URI will point to the local PHP manual if installed and configured, otherwise to php.net/manual (the english one) @paramReflector $reflectorReflector object (used to determine the URL scheme for internal stuff)@paramstring|null $constantConstant name, if this is a request to linkify a constant@returnstring|nullURLDefined inref.php:1043
ReflectorReflector object (used to determine the URL scheme for internal stuff)
string|nullConstant name, if this is a request to linkify a constant
Defined inref.php:1123
Defined inref.php:1129
Evaluates the given variable @parammixed &$subjectVariable to query@parambool $specialStrShould this be interpreted as a special string?@returnmixedResult (both HTML and text modes generate strings)Defined inref.php:1151
mixedVariable to query
boolShould this be interpreted as a special string?
Scans for known classes and functions inside the provided expression, and linkifies them when possible @paramstring $expressionExpression to format@returnstringFormatted outputDefined inref.php:1965
stringExpression to format
Calculates real string length @paramstring $string@returnintDefined inref.php:2067
Safe str_pad alternative @paramstring $string@paramint $padLen@paramstring $padStr@paramint $padType@returnstringDefined inref.php:2083
int
Constant