{"payload":{"allShortcutsEnabled":false,"fileTree":{"tests/strings":{"items":[{"name":"001.phpt","path":"tests/strings/001.phpt","contentType":"file"},{"name":"002.phpt","path":"tests/strings/002.phpt","contentType":"file"},{"name":"004.phpt","path":"tests/strings/004.phpt","contentType":"file"},{"name":"bug22592.phpt","path":"tests/strings/bug22592.phpt","contentType":"file"},{"name":"bug26703.phpt","path":"tests/strings/bug26703.phpt","contentType":"file"},{"name":"offsets_chaining_1.phpt","path":"tests/strings/offsets_chaining_1.phpt","contentType":"file"},{"name":"offsets_chaining_2.phpt","path":"tests/strings/offsets_chaining_2.phpt","contentType":"file"},{"name":"offsets_chaining_3.phpt","path":"tests/strings/offsets_chaining_3.phpt","contentType":"file"},{"name":"offsets_chaining_4.phpt","path":"tests/strings/offsets_chaining_4.phpt","contentType":"file"},{"name":"offsets_chaining_5.phpt","path":"tests/strings/offsets_chaining_5.phpt","contentType":"file"},{"name":"offsets_general.phpt","path":"tests/strings/offsets_general.phpt","contentType":"file"}],"totalCount":11},"tests":{"items":[{"name":"basic","path":"tests/basic","contentType":"directory"},{"name":"classes","path":"tests/classes","contentType":"directory"},{"name":"func","path":"tests/func","contentType":"directory"},{"name":"lang","path":"tests/lang","contentType":"directory"},{"name":"output","path":"tests/output","contentType":"directory"},{"name":"run-test","path":"tests/run-test","contentType":"directory"},{"name":"security","path":"tests/security","contentType":"directory"},{"name":"strings","path":"tests/strings","contentType":"directory"},{"name":"quicktester.inc","path":"tests/quicktester.inc","contentType":"file"}],"totalCount":9},"":{"items":[{"name":"TSRM","path":"TSRM","contentType":"directory"},{"name":"Zend","path":"Zend","contentType":"directory"},{"name":"build","path":"build","contentType":"directory"},{"name":"ext","path":"ext","contentType":"directory"},{"name":"main","path":"main","contentType":"directory"},{"name":"netware","path":"netware","contentType":"directory"},{"name":"pear","path":"pear","contentType":"directory"},{"name":"sapi","path":"sapi","contentType":"directory"},{"name":"scripts","path":"scripts","contentType":"directory"},{"name":"tests","path":"tests","contentType":"directory"},{"name":"win32","path":"win32","contentType":"directory"},{"name":".gdbinit","path":".gdbinit","contentType":"file"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"CODING_STANDARDS","path":"CODING_STANDARDS","contentType":"file"},{"name":"CREDITS","path":"CREDITS","contentType":"file"},{"name":"EXTENSIONS","path":"EXTENSIONS","contentType":"file"},{"name":"INSTALL","path":"INSTALL","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"Makefile.frag","path":"Makefile.frag","contentType":"file"},{"name":"Makefile.gcov","path":"Makefile.gcov","contentType":"file"},{"name":"Makefile.global","path":"Makefile.global","contentType":"file"},{"name":"NEWS","path":"NEWS","contentType":"file"},{"name":"README.EXTENSIONS","path":"README.EXTENSIONS","contentType":"file"},{"name":"README.EXT_SKEL","path":"README.EXT_SKEL","contentType":"file"},{"name":"README.GIT-RULES","path":"README.GIT-RULES","contentType":"file"},{"name":"README.MAILINGLIST_RULES","path":"README.MAILINGLIST_RULES","contentType":"file"},{"name":"README.PARAMETER_PARSING_API","path":"README.PARAMETER_PARSING_API","contentType":"file"},{"name":"README.PHP4-TO-PHP5-THIN-CHANGES","path":"README.PHP4-TO-PHP5-THIN-CHANGES","contentType":"file"},{"name":"README.REDIST.BINS","path":"README.REDIST.BINS","contentType":"file"},{"name":"README.RELEASE_PROCESS","path":"README.RELEASE_PROCESS","contentType":"file"},{"name":"README.SELF-CONTAINED-EXTENSIONS","path":"README.SELF-CONTAINED-EXTENSIONS","contentType":"file"},{"name":"README.STREAMS","path":"README.STREAMS","contentType":"file"},{"name":"README.SUBMITTING_PATCH","path":"README.SUBMITTING_PATCH","contentType":"file"},{"name":"README.TESTING","path":"README.TESTING","contentType":"file"},{"name":"README.TESTING2","path":"README.TESTING2","contentType":"file"},{"name":"README.UNIX-BUILD-SYSTEM","path":"README.UNIX-BUILD-SYSTEM","contentType":"file"},{"name":"README.WIN32-BUILD-SYSTEM","path":"README.WIN32-BUILD-SYSTEM","contentType":"file"},{"name":"README.input_filter","path":"README.input_filter","contentType":"file"},{"name":"README.namespaces","path":"README.namespaces","contentType":"file"},{"name":"TODO","path":"TODO","contentType":"file"},{"name":"TODO-5.1","path":"TODO-5.1","contentType":"file"},{"name":"TODO-PHP5","path":"TODO-PHP5","contentType":"file"},{"name":"UPGRADING","path":"UPGRADING","contentType":"file"},{"name":"UPGRADING.INTERNALS","path":"UPGRADING.INTERNALS","contentType":"file"},{"name":"acconfig.h.in","path":"acconfig.h.in","contentType":"file"},{"name":"acinclude.m4","path":"acinclude.m4","contentType":"file"},{"name":"buildconf","path":"buildconf","contentType":"file"},{"name":"buildconf.bat","path":"buildconf.bat","contentType":"file"},{"name":"config.guess","path":"config.guess","contentType":"file"},{"name":"config.sub","path":"config.sub","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"footer","path":"footer","contentType":"file"},{"name":"genfiles","path":"genfiles","contentType":"file"},{"name":"header","path":"header","contentType":"file"},{"name":"ltmain.sh","path":"ltmain.sh","contentType":"file"},{"name":"makedist","path":"makedist","contentType":"file"},{"name":"makerpm","path":"makerpm","contentType":"file"},{"name":"php.gif","path":"php.gif","contentType":"file"},{"name":"php.ini-development","path":"php.ini-development","contentType":"file"},{"name":"php.ini-production","path":"php.ini-production","contentType":"file"},{"name":"php5.spec.in","path":"php5.spec.in","contentType":"file"},{"name":"run-tests.php","path":"run-tests.php","contentType":"file"},{"name":"server-tests-config.php","path":"server-tests-config.php","contentType":"file"},{"name":"server-tests.php","path":"server-tests.php","contentType":"file"},{"name":"snapshot","path":"snapshot","contentType":"file"},{"name":"stamp-h.in","path":"stamp-h.in","contentType":"file"},{"name":"stub.c","path":"stub.c","contentType":"file"},{"name":"svnclean.bat","path":"svnclean.bat","contentType":"file"},{"name":"vcsclean","path":"vcsclean","contentType":"file"}],"totalCount":71}},"fileTreeProcessingTime":23.430179,"foldersToFetch":[],"repo":{"id":1903522,"defaultBranch":"master","name":"php-src","ownerLogin":"php","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2011-06-16T01:52:25.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/25158?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"PHP-5.3.25","listCacheKey":"v0:1710596212.0","canEdit":false,"refType":"branch","currentOid":"ae3a37659f93bb16ca813a39d2cdd0a96a63bea8"},"path":"tests/strings/004.phpt","currentUser":null,"blob":{"rawLines":["--TEST--","highlight_string() buffering","--INI--","highlight.string=#DD0000","highlight.comment=#FF9900","highlight.keyword=#007700","highlight.bg=#FFFFFF","highlight.default=#0000BB","highlight.html=#000000","--FILE--","
\");","$var = highlight_string(\"
\", TRUE);","echo \"\\n[$var]\\n\";","?>","--EXPECT--","","<br /><?php echo \"foo\"; ?><br />","
","[","<br /><?php echo \"bar\"; ?><br />","
]"],"stylingDirectives":[[],[],[],[],[],[],[],[],[],[],[{"start":0,"end":5,"cssClass":"pl-ent"}],[{"start":0,"end":4,"cssClass":"pl-s1"},{"start":0,"end":1,"cssClass":"pl-c1"},{"start":25,"end":42,"cssClass":"pl-s"},{"start":44,"end":47,"cssClass":"pl-s"},{"start":49,"end":59,"cssClass":"pl-s"}],[{"start":0,"end":4,"cssClass":"pl-s1"},{"start":0,"end":1,"cssClass":"pl-c1"},{"start":25,"end":42,"cssClass":"pl-s"},{"start":44,"end":47,"cssClass":"pl-s"},{"start":49,"end":59,"cssClass":"pl-s"},{"start":62,"end":66,"cssClass":"pl-c1"}],[{"start":0,"end":4,"cssClass":"pl-k"},{"start":8,"end":9,"cssClass":"pl-s"},{"start":9,"end":13,"cssClass":"pl-s1"},{"start":9,"end":10,"cssClass":"pl-c1"},{"start":13,"end":14,"cssClass":"pl-s"}],[{"start":0,"end":2,"cssClass":"pl-ent"}],[],[{"start":0,"end":1,"cssClass":"pl-kos"},{"start":1,"end":5,"cssClass":"pl-ent"},{"start":5,"end":6,"cssClass":"pl-kos"},{"start":6,"end":7,"cssClass":"pl-kos"},{"start":7,"end":11,"cssClass":"pl-ent"},{"start":12,"end":17,"cssClass":"pl-c1"},{"start":19,"end":33,"cssClass":"pl-s"},{"start":34,"end":35,"cssClass":"pl-kos"}],[{"start":17,"end":18,"cssClass":"pl-kos"},{"start":18,"end":22,"cssClass":"pl-ent"},{"start":23,"end":28,"cssClass":"pl-c1"},{"start":30,"end":44,"cssClass":"pl-s"},{"start":45,"end":46,"cssClass":"pl-kos"},{"start":60,"end":62,"cssClass":"pl-kos"},{"start":62,"end":66,"cssClass":"pl-ent"},{"start":66,"end":67,"cssClass":"pl-kos"},{"start":67,"end":68,"cssClass":"pl-kos"},{"start":68,"end":72,"cssClass":"pl-ent"},{"start":73,"end":78,"cssClass":"pl-c1"},{"start":80,"end":94,"cssClass":"pl-s"},{"start":95,"end":96,"cssClass":"pl-kos"},{"start":106,"end":108,"cssClass":"pl-kos"},{"start":108,"end":112,"cssClass":"pl-ent"},{"start":112,"end":113,"cssClass":"pl-kos"},{"start":113,"end":114,"cssClass":"pl-kos"},{"start":114,"end":118,"cssClass":"pl-ent"},{"start":119,"end":124,"cssClass":"pl-c1"},{"start":126,"end":140,"cssClass":"pl-s"},{"start":141,"end":142,"cssClass":"pl-kos"},{"start":147,"end":149,"cssClass":"pl-kos"},{"start":149,"end":153,"cssClass":"pl-ent"},{"start":153,"end":154,"cssClass":"pl-kos"},{"start":154,"end":155,"cssClass":"pl-kos"},{"start":155,"end":159,"cssClass":"pl-ent"},{"start":160,"end":165,"cssClass":"pl-c1"},{"start":167,"end":181,"cssClass":"pl-s"},{"start":182,"end":183,"cssClass":"pl-kos"},{"start":190,"end":192,"cssClass":"pl-kos"},{"start":192,"end":196,"cssClass":"pl-ent"},{"start":196,"end":197,"cssClass":"pl-kos"},{"start":197,"end":198,"cssClass":"pl-kos"},{"start":198,"end":202,"cssClass":"pl-ent"},{"start":203,"end":208,"cssClass":"pl-c1"},{"start":210,"end":224,"cssClass":"pl-s"},{"start":225,"end":226,"cssClass":"pl-kos"},{"start":231,"end":233,"cssClass":"pl-kos"},{"start":233,"end":237,"cssClass":"pl-ent"},{"start":237,"end":238,"cssClass":"pl-kos"},{"start":255,"end":257,"cssClass":"pl-kos"},{"start":257,"end":261,"cssClass":"pl-ent"},{"start":261,"end":262,"cssClass":"pl-kos"}],[{"start":0,"end":2,"cssClass":"pl-kos"},{"start":2,"end":6,"cssClass":"pl-ent"},{"start":6,"end":7,"cssClass":"pl-kos"}],[{"start":1,"end":2,"cssClass":"pl-kos"},{"start":2,"end":6,"cssClass":"pl-ent"},{"start":6,"end":7,"cssClass":"pl-kos"},{"start":7,"end":8,"cssClass":"pl-kos"},{"start":8,"end":12,"cssClass":"pl-ent"},{"start":13,"end":18,"cssClass":"pl-c1"},{"start":20,"end":34,"cssClass":"pl-s"},{"start":35,"end":36,"cssClass":"pl-kos"}],[{"start":17,"end":18,"cssClass":"pl-kos"},{"start":18,"end":22,"cssClass":"pl-ent"},{"start":23,"end":28,"cssClass":"pl-c1"},{"start":30,"end":44,"cssClass":"pl-s"},{"start":45,"end":46,"cssClass":"pl-kos"},{"start":60,"end":62,"cssClass":"pl-kos"},{"start":62,"end":66,"cssClass":"pl-ent"},{"start":66,"end":67,"cssClass":"pl-kos"},{"start":67,"end":68,"cssClass":"pl-kos"},{"start":68,"end":72,"cssClass":"pl-ent"},{"start":73,"end":78,"cssClass":"pl-c1"},{"start":80,"end":94,"cssClass":"pl-s"},{"start":95,"end":96,"cssClass":"pl-kos"},{"start":106,"end":108,"cssClass":"pl-kos"},{"start":108,"end":112,"cssClass":"pl-ent"},{"start":112,"end":113,"cssClass":"pl-kos"},{"start":113,"end":114,"cssClass":"pl-kos"},{"start":114,"end":118,"cssClass":"pl-ent"},{"start":119,"end":124,"cssClass":"pl-c1"},{"start":126,"end":140,"cssClass":"pl-s"},{"start":141,"end":142,"cssClass":"pl-kos"},{"start":147,"end":149,"cssClass":"pl-kos"},{"start":149,"end":153,"cssClass":"pl-ent"},{"start":153,"end":154,"cssClass":"pl-kos"},{"start":154,"end":155,"cssClass":"pl-kos"},{"start":155,"end":159,"cssClass":"pl-ent"},{"start":160,"end":165,"cssClass":"pl-c1"},{"start":167,"end":181,"cssClass":"pl-s"},{"start":182,"end":183,"cssClass":"pl-kos"},{"start":190,"end":192,"cssClass":"pl-kos"},{"start":192,"end":196,"cssClass":"pl-ent"},{"start":196,"end":197,"cssClass":"pl-kos"},{"start":197,"end":198,"cssClass":"pl-kos"},{"start":198,"end":202,"cssClass":"pl-ent"},{"start":203,"end":208,"cssClass":"pl-c1"},{"start":210,"end":224,"cssClass":"pl-s"},{"start":225,"end":226,"cssClass":"pl-kos"},{"start":231,"end":233,"cssClass":"pl-kos"},{"start":233,"end":237,"cssClass":"pl-ent"},{"start":237,"end":238,"cssClass":"pl-kos"},{"start":255,"end":257,"cssClass":"pl-kos"},{"start":257,"end":261,"cssClass":"pl-ent"},{"start":261,"end":262,"cssClass":"pl-kos"}],[{"start":0,"end":2,"cssClass":"pl-kos"},{"start":2,"end":6,"cssClass":"pl-ent"},{"start":6,"end":7,"cssClass":"pl-kos"}]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/php/php-src/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"004.phpt","displayUrl":"https://github.com/php/php-src/blob/PHP-5.3.25/tests/strings/004.phpt?raw=true","headerInfo":{"blobSize":"990 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"a283fda","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fphp%2Fphp-src%2Fblob%2FPHP-5.3.25%2Ftests%2Fstrings%2F004.phpt","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"22","truncatedSloc":"22"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"PHP","languageID":272,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/php/php-src/blob/PHP-5.3.25/tests/strings/004.phpt","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/php/php-src/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/php/php-src/raw/PHP-5.3.25/tests/strings/004.phpt","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/php/php-src/branches":{"post":"UGv6-l5cx1wDjX8zqVOrAqLIPIGyneLxshYSsaRr8NveE2vw2ru42r8M1TOpGHzmeHpKA7lyNA3itecFzAXb2w"},"/repos/preferences":{"post":"GT-YIGNnlCsEnZ6DVJJjC539PCV5cE0KXTiR4Y5LusCsrJ3-cJnrXnzol9cjkj4YvuUj1BTCxZiegbGLKvm-Lg"}}},"title":"php-src/tests/strings/004.phpt at PHP-5.3.25 ยท php/php-src"}