[[
   "php-start",
  ["support.php_tag","<?php"]
],[
   ["php-heredoc","EOD"],
  ["variable","$bar"],
  ["text"," "],
  ["keyword.operator","="],
  ["text"," "],
  ["markup.list","<<<EOD"]
],[
   ["php-heredoc","EOD"],
  ["string","highlightingWithNoSpaces"]
],[
   ["php-heredoc","EOD"],
  ["string","doesn't break"]
],[
   "php-start",
  ["markup.list","EOD"],
  ["punctuation.operator",";"]
],[
   "php-start"
],[
   ["php-heredoc","TEST"],
  ["identifier","lorem"],
  ["paren.lparen","("],
  ["string","'ipsum'"],
  ["punctuation.operator",","],
  ["text"," "],
  ["markup.list","<<<TEST"]
],[
   ["php-heredoc","TEST"],
  ["string","foo bar"]
],[
   "php-start",
  ["markup.list","TEST"]
],[
   "php-start",
  ["paren.rparen",")"],
  ["punctuation.operator",";"]
],[
   "php-start"
],[
   "php-start",
  ["keyword","function"],
  ["text"," "],
  ["identifier","nfact"],
  ["paren.lparen","("],
  ["variable","$n"],
  ["paren.rparen",")"],
  ["text"," "],
  ["paren.lparen","{"]
],[
   "php-start",
  ["text","    "],
  ["keyword","if"],
  ["text"," "],
  ["paren.lparen","("],
  ["variable","$n"],
  ["text"," "],
  ["keyword.operator","=="],
  ["text"," "],
  ["constant.numeric","0"],
  ["paren.rparen",")"],
  ["text"," "],
  ["paren.lparen","{"]
],[
   "php-start",
  ["text","        "],
  ["support.function","return"],
  ["text"," "],
  ["constant.numeric","1"],
  ["punctuation.operator",";"]
],[
   "php-start",
  ["text","    "],
  ["paren.rparen","}"]
],[
   "php-start",
  ["text","    "],
  ["keyword","else"],
  ["text"," "],
  ["paren.lparen","{"]
],[
   "php-start",
  ["text","        "],
  ["support.function","return"],
  ["text"," "],
  ["variable","$n"],
  ["text"," "],
  ["keyword.operator","*"],
  ["text"," "],
  ["identifier","nfact"],
  ["paren.lparen","("],
  ["variable","$n"],
  ["text"," "],
  ["keyword.operator","-"],
  ["text"," "],
  ["constant.numeric","1"],
  ["paren.rparen",")"],
  ["punctuation.operator",";"]
],[
   "php-start",
  ["text","    "],
  ["paren.rparen","}"]
],[
   "php-start",
  ["paren.rparen","}"]
],[
   "php-start"
],[
   "php-start",
  ["support.function","echo"],
  ["text"," "],
  ["string","\""],
  ["constant.language.escape","\\n\\n"],
  ["string","Please enter a whole number ... \""],
  ["punctuation.operator",";"]
],[
   "php-start",
  ["variable","$num"],
  ["text"," "],
  ["keyword.operator","="],
  ["text"," "],
  ["support.function","trim"],
  ["paren.lparen","("],
  ["support.function","fgets"],
  ["paren.lparen","("],
  ["constant.language","STDIN"],
  ["paren.rparen","))"],
  ["punctuation.operator",";"]
],[
   "php-start"
],[
   "php-start",
  ["comment","// ===== PROCESS - Determing the factorial of the input number ====="]
],[
   "php-start",
  ["variable","$output"],
  ["text"," "],
  ["keyword.operator","="],
  ["text"," "],
  ["string","\""],
  ["constant.language.escape","\\n\\n"],
  ["string","Factorial \""],
  ["text"," . "],
  ["variable","$num"],
  ["text"," . "],
  ["string","\" = \""],
  ["text"," . "],
  ["identifier","nfact"],
  ["paren.lparen","("],
  ["variable","$num"],
  ["paren.rparen",")"],
  ["text"," . "],
  ["string","\""],
  ["constant.language.escape","\\n\\n"],
  ["string","\""],
  ["punctuation.operator",";"]
],[
   "php-start",
  ["support.function","echo"],
  ["text"," "],
  ["variable","$output"],
  ["punctuation.operator",";"]
],[
   "php-start"
],[
   ["php-start","js-start"],
  ["support.php_tag","?>"],
  ["text.xml"," "],
  ["meta.tag.punctuation.tag-open.xml","<"],
  ["meta.tag.script.tag-name.xml","script"],
  ["meta.tag.punctuation.tag-close.xml",">"],
  ["text","  "],
  ["support.php_tag","<?php"]
],[
   ["#tmp","php-qstring","php-start","js-start"],
  ["support.function","echo"],
  ["text"," "],
  ["string","'"]
],[
   ["php-start","js-start"],
  ["string","'"],
  ["punctuation.operator",";"]
],[
   "js-start",
  ["support.php_tag","?>"]
],[
   "js-comment1",
  ["comment","/*this is js "],
  ["support.php_tag","<?php"],
  ["text"," "],
  ["support.function","echo"],
  ["text"," "],
  ["string","':)'"],
  ["punctuation.operator",";"],
  ["text"," "],
  ["support.php_tag","?>"]
],[
   "start",
  ["meta.tag.punctuation.end-tag-open.xml","</"],
  ["meta.tag.script.tag-name.xml","script"],
  ["meta.tag.punctuation.tag-close.xml",">"],
  ["text.xml"," not "],
  ["constant.language.escape.reference.xml","&js;"]
],[
   "start"
]]