> $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 classCDateTimematching file=>file.txt file-rw-r--r-- 0.26Kincomplete 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-13hr UTCurl=>http://google.com url2607:f8b0:4023:100b::8b:80 text/html 0.02ms (301)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)doubleKey: string(25)string(86)Key: string(5)Key: integerintegerstring(313)Key: string(14)string(8)CloneableInternal - 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)IterateableInternal - part of SPL (0.2)AbstractAn 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:29An example concrete / child classThis class extends the example abstract class and implements
the example interface
@since1.0@authorOne Trick PonyDefined inexample.class.php:97FinalTest classDefined inindex.php:20Test function
@param$test Test argument@returnvoidNothingDefined inindex.php:30Key: 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: integerstring(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)booleanstring(3)string(5)string(1)integerstring(11)
> function($x, $d){}FCClosure object(Methods->!__construct()::bind($closure, $newthis, $newscope)->bindTo($newthis, $newscope)->__invoke($x, $d))FinalCloneableInternal - part of Core (5.5.9-1ubuntu4.24)PrivateInternal
> $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=2024-12-19 13:09:52 datenow UTC->timezone_type=1->timezone=+00:00 datenow UTCMethods->__construct($time, $object)->__wakeup()::__set_state()::createFromFormat($format, $time, $object)::getLastErrors()->format($format)->modify($modify)->add($interval)->sub($interval)->getTimezone()->setTimezone($timezone)->getOffset()->setTime($hour, $minute, $second)->setDate($year, $month, $day)->setISODate($year, $week, $day)->setTimestamp($unixtimestamp)->getTimestamp()->diff($object, $absolute))->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.008104Namelookup Time:0.004999Connect Time:0.005951Pretransfer Time:0.006037Size Upload:0Size Download:11510Speed Download:1420286Speed Upload:0Download Content Length:11510Upload Content Length:0Starttransfer Time:0.007921Redirect Time:0Redirect Url:Primary Ip:::1Certinfo:array()Primary Port:80Local Ip:::1Local Port:44168)->jsonString={"date":"2024-12-19 13:09:52","timezone_type":1,"timezone":"+00:00"} jsonCstdClass object(Properties->date=2024-12-19 13:09:52 datenow UTC->timezone_type=1->timezone=+00:00 datenow UTC)->!privProp=asdf->Pstuff=array(20=>foo1=>bar)->PparentProp=trueMethods->__construct(array$list, $stuff, &$refTest, IIterator$classHintTest)->__destruct()->!normalizeList()->getList(CXTests\ClassTest$x, $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())CloneableIterateableInternal - part of SPL (0.2)AbstractAn 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:29An example concrete / child classThis class extends the example abstract class and implements
the example interface
@since1.0@authorOne Trick PonyDefined inexample.class.php:97Iterator key: integerstring(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:16integerPrototype defined byTests\AbstractTeststring(31)Prototype defined byArrayObjectintA 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)Image resource created with GDNo @var definition herestring(5)booleanresourceCurl resource
string(17)string(9)doublestring(0)stringA json-encoded object
string(68)PrivatearrayA private property
string(4)ProtectedarrayA protected variable that only this class and child classes can have access to
Key: integerboolA property that will be inherited by children
Declared inAbstractTestClass constructor
@since1.0@paramarray $listValue to set for "B"@parammixed &$refTestA referenced variable@paramIterator $classHintTestAn iterateable instance
Two line comment testDefined inexample.class.php:185arrayValue to set for "B"mixedA referenced variableInterfaceIteratorAn iterateable instance
Two line comment testThe destructor destroys the created image resource and the curl connection
@since1.0Defined inexample.class.php:214A private method
@since1.0@returnarrayNormalized listDefined inexample.class.php:231A public getter method
@since1.0@returnarrayIndexed array containing list itemsDefined inexample.class.php:241Prototype defined byTests\AbstractTeststring(14)ConstantFinalA 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:254arrayList as indexed arrayA static method that creates a new instance
@since1.0@paramarray $listIndexed array containing list items@returnstaticA new instance of this classDefined inexample.class.php:265arrayIndexed array containing list itemsA method that overrides parent::rewind()
@since1.0Defined inexample.class.php:274Prototype defined byTests\AbstractTestExample Iterator::current() methodDefined inexample.class.php:56Inherited fromAbstractTestExample Iterator::next() methodDefined inexample.class.php:61Inherited fromAbstractTestExample Iterator::key() methodDefined inexample.class.php:66Inherited fromAbstractTestExample Iterator::valid() methodDefined inexample.class.php:71Inherited fromAbstractTestInternal - part of SPL (0.2)Inherited fromArrayObject
> newCref()Cref object(Constants::MARKER_KEY=_phpRefArrayMarker_ regex_phpRefArrayMarker_Properties::Ptime=0.072674751281738::Pconfig=array(15expLvl=>1maxDepth=>6showBacktrace=>falseshowIteratorContents=>trueshowResourceInfo=>trueshowMethods=>trueshowPrivateMembers=>trueshowStringMatches=>trueshortcutFunc=>array(20=>r1=>rt)formatters=>array()stylePath=>{:dir}/ref.cssscriptPath=>{:dir}/ref.jsshowUrls=>truetimeout=>10validHtml=>false)::Penv=array(7is54=>trueis546=>trueis56=>falseis7=>falsecurlActive=>truembStr=>truesupportsDate=>true)::Ptimeout=-1::Pdebug=array(4cacheHits=>1objects=>0arrays=>0scalars=>0)->Pfmt=ARFormatter :: CRHtmlFormatter object(Properties->Pout=->Plevel=0->Ptips=array()->Pcache=array()->Pdef=array(9base=>rtip=>tcell=>ctable=>trow=>rgroup=>ggLabel=>glmatch=>mtipRef=>h)::Pcounter=14::PdidAssets=trueMethods->__construct()->flush()->didCache($id)->cacheLock($id)->sep($label = "")->text($type, $text, $meta, $uri)->startContain($type, $label = false)->endContain()->emptyGroup($prefix = "")->startGroup($prefix = "")->endGroup()->sectionTitle($title)->startRow()->endRow()->colDiv($padLen)->bubbles(array$items)->startExp()->endExp()->startRoot()->endRoot()::getAssets()::Pescape($var))->PstartTime=0->PintObjects=nullMethods->__construct($format = "html")->__get($name)->__set($name, $value)->query($subject, $expression)::timeFunc($iterations, $function, &$output)::timer($id = 1, $precision = 4)::parseComment($comment, $key)::splitRegex($pattern)::config($key, $value)::getTime($precision = 4)::getBacktrace()::getInputExpressions(array&$options)::PgetParentClasses(IReflector$class)->PfromReflector(IReflector$reflector, $single = "", IReflector$context)->Plinkify(IReflector$reflector, $constant)::getTimeoutPoint()::getDebugInfo()->PhasInstanceTimedOut()->Pevaluate(&$subject, $specialStr = false)->PevaluateExp($expression)::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:225CloneableREF is a nicer alternative to PHP's print_r() / var_dump().
@version1.0@authordigitalnature - http://digitalnature.euDefined inref.php:96string(19)ProtectedarrayCPU time used for processing
doublearrayConfiguration (+ default values)
Key: string(6)integerKey: string(8)Key: string(13)booleanKey: string(20)Key: string(16)Key: string(11)Key: string(18)Key: string(17)Key: string(12)Key: integerstring(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)Key: string(3)boolTimeout point
RFormatterOutput formatter of this instance
AbstractFormatter abstractionDefined inref.php:2213Generates the output in HTML5 formatDefined inref.php:2356stringActual 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
stringMap of used HTML tag and attributes
intInstance counter
boolTracks style/jscript inclusion state
Defined inref.php:2421Defined inref.php:2458Prototype defined byRFormatterDefined inref.php:2466Prototype defined byRFormatterDefined inref.php:2483Prototype defined byRFormatterDefined inref.php:2488Prototype defined byRFormatterDefined inref.php:2492Prototype defined byRFormatterDefined inref.php:2535Prototype defined byRFormatterDefined inref.php:2553Prototype defined byRFormatterDefined inref.php:2557Prototype defined byRFormatterDefined inref.php:2566Prototype defined byRFormatterDefined inref.php:2588Prototype defined byRFormatterDefined inref.php:2593Prototype defined byRFormatterDefined inref.php:2597Prototype defined byRFormatterDefined inref.php:2601Prototype defined byRFormatterDefined inref.php:2605Prototype defined byRFormatterDefined inref.php:2609Prototype defined byRFormatterDefined inref.php:2622Prototype defined byRFormatterDefined inref.php:2626Prototype defined byRFormatterDefined inref.php:2636Prototype defined byRFormatterDefined inref.php:2640Prototype defined byRFormatterGet styles and javascript (only generated for the 1st call)
@returnstringDefined inref.php:2714Escapes variable for HTML output
@paramstring|array $var@returnstring|arrayDefined inref.php:2754string|arrayfloatStart time of the current instance
SplObjectStorageInternally created objects
string|RFormatterOutput format ID, or formatter instance defaults to 'html'string(4)Enforce proper use of this class
@paramstring $nameDefined inref.php:286stringEnforce proper use of this class
@paramstring $name@parammixed $valueDefined inref.php:298mixedGenerate structured information about a variable/value/expression (subject)Output is flushed to the screen
@parammixed $subject@paramstring $expressionDefined inref.php:312Executes 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:348intNumber of times the function will be executedcallableFunction to executemixedIf given, last return value will be available in this variableTimer 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:377intTimer ID, optionalintPrecision of the result, optionalParses 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:404stringDocBlock 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:529Set or get configuration options
@paramstring $key@parammixed|null $value@returnmixedDefined inref.php:784mixed|nullTotal CPU time used by the class
@paramint precision@returndoubleDefined inref.php:806Get relevant backtrace info for last ref call
@returnarray|falseDefined inref.php:817Determines the input expression(s) passed to the shortcut function
@paramarray &$optionsOptional, options to gather (from operators)@returnarrayArray of string expressionsDefined inref.php:846arrayOptional, 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:952InterfaceInternal - part of Reflection ($Id: 31d836a7ac92a37b5c580836d91ad4736fe2f376 $)ReflectorReflection objectGenerate class / function info
@paramReflector $reflectorClass name or reflection object@paramstring $singleSkip parent classes@paramReflector|null $contextObject context (for methods)@returnstringDefined inref.php:971ReflectorClass name or reflection objectstringSkip parent classesReflector|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:1076ReflectorReflector object (used to determine the URL scheme for internal stuff)string|nullConstant name, if this is a request to linkify a constantDefined inref.php:1156Defined inref.php:1161Defined inref.php:1167Evaluates 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:1189mixedVariable to queryboolShould 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:2083stringExpression to formatCalculates real string length
@paramstring $string@returnintDefined inref.php:2185Safe str_pad alternative
@paramstring $string@paramint $padLen@paramstring $padStr@paramint $padType@returnstringDefined inref.php:2201intConstant