[{"data":1,"prerenderedAt":2107},["ShallowReactive",2],{"content-all-\u002Fphp\u002Fphp-fundamental\u002Fdatatypes":3,"related-\u002Fphp\u002Fphp-fundamental\u002Fdatatypes":1834,"sidebar-content":2062},[4],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"tags":11,"date":15,"weight":16,"body":17,"_type":1828,"_id":1829,"_source":1830,"_file":1831,"_stem":1832,"_extension":1833},"\u002Fphp\u002Fphp-fundamental\u002Fdatatypes","php-fundamental",false,"","PHP Data Types","Essential PHP data types and their usage",[12,13,14],"php","backend","data types","2026-05-30",5,{"type":18,"children":19,"toc":1812},"root",[20,29,35,216,223,479,485,506,598,604,616,668,674,679,739,912,918,923,952,956,1041,1045,1124,1130,1135,1209,1215,1220,1272,1278,1297,1345,1351,1356,1515,1521,1526,1713,1719,1744,1806],{"type":21,"tag":22,"props":23,"children":25},"element","h2",{"id":24},"data-types",[26],{"type":27,"value":28},"text","Data Types",{"type":21,"tag":30,"props":31,"children":32},"p",{},[33],{"type":27,"value":34},"In PHP, a data type is a classification that specifies which type of value a variable can hold. PHP supports several data types, including:",{"type":21,"tag":36,"props":37,"children":38},"table",{},[39,58],{"type":21,"tag":40,"props":41,"children":42},"thead",{},[43],{"type":21,"tag":44,"props":45,"children":46},"tr",{},[47,53],{"type":21,"tag":48,"props":49,"children":50},"th",{},[51],{"type":27,"value":52},"Type",{"type":21,"tag":48,"props":54,"children":55},{},[56],{"type":27,"value":57},"Description",{"type":21,"tag":59,"props":60,"children":61},"tbody",{},[62,81,98,115,148,165,182,199],{"type":21,"tag":44,"props":63,"children":64},{},[65,76],{"type":21,"tag":66,"props":67,"children":68},"td",{},[69],{"type":21,"tag":70,"props":71,"children":73},"code",{"className":72},[],[74],{"type":27,"value":75},"int",{"type":21,"tag":66,"props":77,"children":78},{},[79],{"type":27,"value":80},"Integer, a whole number without a decimal point.",{"type":21,"tag":44,"props":82,"children":83},{},[84,93],{"type":21,"tag":66,"props":85,"children":86},{},[87],{"type":21,"tag":70,"props":88,"children":90},{"className":89},[],[91],{"type":27,"value":92},"float",{"type":21,"tag":66,"props":94,"children":95},{},[96],{"type":27,"value":97},"Floating-point number, a number with a decimal point.",{"type":21,"tag":44,"props":99,"children":100},{},[101,110],{"type":21,"tag":66,"props":102,"children":103},{},[104],{"type":21,"tag":70,"props":105,"children":107},{"className":106},[],[108],{"type":27,"value":109},"string",{"type":21,"tag":66,"props":111,"children":112},{},[113],{"type":27,"value":114},"A sequence of characters.",{"type":21,"tag":44,"props":116,"children":117},{},[118,127],{"type":21,"tag":66,"props":119,"children":120},{},[121],{"type":21,"tag":70,"props":122,"children":124},{"className":123},[],[125],{"type":27,"value":126},"bool",{"type":21,"tag":66,"props":128,"children":129},{},[130,132,138,140,146],{"type":27,"value":131},"Boolean, a value that can be either ",{"type":21,"tag":70,"props":133,"children":135},{"className":134},[],[136],{"type":27,"value":137},"true",{"type":27,"value":139}," or ",{"type":21,"tag":70,"props":141,"children":143},{"className":142},[],[144],{"type":27,"value":145},"false",{"type":27,"value":147},".",{"type":21,"tag":44,"props":149,"children":150},{},[151,160],{"type":21,"tag":66,"props":152,"children":153},{},[154],{"type":21,"tag":70,"props":155,"children":157},{"className":156},[],[158],{"type":27,"value":159},"array",{"type":21,"tag":66,"props":161,"children":162},{},[163],{"type":27,"value":164},"An ordered map of key-value pairs.",{"type":21,"tag":44,"props":166,"children":167},{},[168,177],{"type":21,"tag":66,"props":169,"children":170},{},[171],{"type":21,"tag":70,"props":172,"children":174},{"className":173},[],[175],{"type":27,"value":176},"object",{"type":21,"tag":66,"props":178,"children":179},{},[180],{"type":27,"value":181},"An instance of a class.",{"type":21,"tag":44,"props":183,"children":184},{},[185,194],{"type":21,"tag":66,"props":186,"children":187},{},[188],{"type":21,"tag":70,"props":189,"children":191},{"className":190},[],[192],{"type":27,"value":193},"NULL",{"type":21,"tag":66,"props":195,"children":196},{},[197],{"type":27,"value":198},"A special type that represents a variable with no value.",{"type":21,"tag":44,"props":200,"children":201},{},[202,211],{"type":21,"tag":66,"props":203,"children":204},{},[205],{"type":21,"tag":70,"props":206,"children":208},{"className":207},[],[209],{"type":27,"value":210},"resource",{"type":21,"tag":66,"props":212,"children":213},{},[214],{"type":27,"value":215},"A special variable that holds a reference to an external resource.",{"type":21,"tag":217,"props":218,"children":220},"h3",{"id":219},"example-usage",[221],{"type":27,"value":222},"Example Usage",{"type":21,"tag":224,"props":225,"children":228},"pre",{"className":226,"code":227,"language":12,"meta":8,"style":8},"language-php shiki shiki-themes github-light github-dark","$integer = 42;\n$float = 3.14;\n$string = \"Hello, World!\";\n$boolean = true;\n$array = [1, 2, 3];\nclass MyClass {\n    public $property = \"I am an object.\";\n}\n$object = new MyClass();\n$nullValue = NULL;\n",[229],{"type":21,"tag":70,"props":230,"children":231},{"__ignoreMap":8},[232,261,283,306,328,374,394,421,430,457],{"type":21,"tag":233,"props":234,"children":237},"span",{"class":235,"line":236},"line",1,[238,244,250,256],{"type":21,"tag":233,"props":239,"children":241},{"style":240},"--shiki-default:#24292E;--shiki-dark:#E1E4E8",[242],{"type":27,"value":243},"$integer ",{"type":21,"tag":233,"props":245,"children":247},{"style":246},"--shiki-default:#D73A49;--shiki-dark:#F97583",[248],{"type":27,"value":249},"=",{"type":21,"tag":233,"props":251,"children":253},{"style":252},"--shiki-default:#005CC5;--shiki-dark:#79B8FF",[254],{"type":27,"value":255}," 42",{"type":21,"tag":233,"props":257,"children":258},{"style":240},[259],{"type":27,"value":260},";\n",{"type":21,"tag":233,"props":262,"children":264},{"class":235,"line":263},2,[265,270,274,279],{"type":21,"tag":233,"props":266,"children":267},{"style":240},[268],{"type":27,"value":269},"$float ",{"type":21,"tag":233,"props":271,"children":272},{"style":246},[273],{"type":27,"value":249},{"type":21,"tag":233,"props":275,"children":276},{"style":252},[277],{"type":27,"value":278}," 3.14",{"type":21,"tag":233,"props":280,"children":281},{"style":240},[282],{"type":27,"value":260},{"type":21,"tag":233,"props":284,"children":286},{"class":235,"line":285},3,[287,292,296,302],{"type":21,"tag":233,"props":288,"children":289},{"style":240},[290],{"type":27,"value":291},"$string ",{"type":21,"tag":233,"props":293,"children":294},{"style":246},[295],{"type":27,"value":249},{"type":21,"tag":233,"props":297,"children":299},{"style":298},"--shiki-default:#032F62;--shiki-dark:#9ECBFF",[300],{"type":27,"value":301}," \"Hello, World!\"",{"type":21,"tag":233,"props":303,"children":304},{"style":240},[305],{"type":27,"value":260},{"type":21,"tag":233,"props":307,"children":309},{"class":235,"line":308},4,[310,315,319,324],{"type":21,"tag":233,"props":311,"children":312},{"style":240},[313],{"type":27,"value":314},"$boolean ",{"type":21,"tag":233,"props":316,"children":317},{"style":246},[318],{"type":27,"value":249},{"type":21,"tag":233,"props":320,"children":321},{"style":252},[322],{"type":27,"value":323}," true",{"type":21,"tag":233,"props":325,"children":326},{"style":240},[327],{"type":27,"value":260},{"type":21,"tag":233,"props":329,"children":330},{"class":235,"line":16},[331,336,340,345,350,355,360,364,369],{"type":21,"tag":233,"props":332,"children":333},{"style":240},[334],{"type":27,"value":335},"$array ",{"type":21,"tag":233,"props":337,"children":338},{"style":246},[339],{"type":27,"value":249},{"type":21,"tag":233,"props":341,"children":342},{"style":240},[343],{"type":27,"value":344}," [",{"type":21,"tag":233,"props":346,"children":347},{"style":252},[348],{"type":27,"value":349},"1",{"type":21,"tag":233,"props":351,"children":352},{"style":240},[353],{"type":27,"value":354},", ",{"type":21,"tag":233,"props":356,"children":357},{"style":252},[358],{"type":27,"value":359},"2",{"type":21,"tag":233,"props":361,"children":362},{"style":240},[363],{"type":27,"value":354},{"type":21,"tag":233,"props":365,"children":366},{"style":252},[367],{"type":27,"value":368},"3",{"type":21,"tag":233,"props":370,"children":371},{"style":240},[372],{"type":27,"value":373},"];\n",{"type":21,"tag":233,"props":375,"children":377},{"class":235,"line":376},6,[378,383,389],{"type":21,"tag":233,"props":379,"children":380},{"style":246},[381],{"type":27,"value":382},"class",{"type":21,"tag":233,"props":384,"children":386},{"style":385},"--shiki-default:#6F42C1;--shiki-dark:#B392F0",[387],{"type":27,"value":388}," MyClass",{"type":21,"tag":233,"props":390,"children":391},{"style":240},[392],{"type":27,"value":393}," {\n",{"type":21,"tag":233,"props":395,"children":397},{"class":235,"line":396},7,[398,403,408,412,417],{"type":21,"tag":233,"props":399,"children":400},{"style":246},[401],{"type":27,"value":402},"    public",{"type":21,"tag":233,"props":404,"children":405},{"style":240},[406],{"type":27,"value":407}," $property ",{"type":21,"tag":233,"props":409,"children":410},{"style":246},[411],{"type":27,"value":249},{"type":21,"tag":233,"props":413,"children":414},{"style":298},[415],{"type":27,"value":416}," \"I am an object.\"",{"type":21,"tag":233,"props":418,"children":419},{"style":240},[420],{"type":27,"value":260},{"type":21,"tag":233,"props":422,"children":424},{"class":235,"line":423},8,[425],{"type":21,"tag":233,"props":426,"children":427},{"style":240},[428],{"type":27,"value":429},"}\n",{"type":21,"tag":233,"props":431,"children":433},{"class":235,"line":432},9,[434,439,443,448,452],{"type":21,"tag":233,"props":435,"children":436},{"style":240},[437],{"type":27,"value":438},"$object ",{"type":21,"tag":233,"props":440,"children":441},{"style":246},[442],{"type":27,"value":249},{"type":21,"tag":233,"props":444,"children":445},{"style":246},[446],{"type":27,"value":447}," new",{"type":21,"tag":233,"props":449,"children":450},{"style":252},[451],{"type":27,"value":388},{"type":21,"tag":233,"props":453,"children":454},{"style":240},[455],{"type":27,"value":456},"();\n",{"type":21,"tag":233,"props":458,"children":460},{"class":235,"line":459},10,[461,466,470,475],{"type":21,"tag":233,"props":462,"children":463},{"style":240},[464],{"type":27,"value":465},"$nullValue ",{"type":21,"tag":233,"props":467,"children":468},{"style":246},[469],{"type":27,"value":249},{"type":21,"tag":233,"props":471,"children":472},{"style":252},[473],{"type":27,"value":474}," NULL",{"type":21,"tag":233,"props":476,"children":477},{"style":240},[478],{"type":27,"value":260},{"type":21,"tag":22,"props":480,"children":482},{"id":481},"string-data-type",[483],{"type":27,"value":484},"String Data Type",{"type":21,"tag":30,"props":486,"children":487},{},[488,490,496,498,504],{"type":27,"value":489},"Strings in PHP are sequences of characters enclosed in either single quotes (",{"type":21,"tag":70,"props":491,"children":493},{"className":492},[],[494],{"type":27,"value":495},"'",{"type":27,"value":497},") or double quotes (",{"type":21,"tag":70,"props":499,"children":501},{"className":500},[],[502],{"type":27,"value":503},"\"",{"type":27,"value":505},"). The choice between single and double quotes affects how the string is processed, particularly with regard to variable interpolation and escape sequences.",{"type":21,"tag":224,"props":507,"children":509},{"className":226,"code":508,"language":12,"meta":8,"style":8},"$name = \"John\";\n$message1 = \"Hello, $name!\"; \u002F\u002F Parses variable\n$message2 = 'Hello, $name!'; \u002F\u002F Literal string\n",[510],{"type":21,"tag":70,"props":511,"children":512},{"__ignoreMap":8},[513,534,572],{"type":21,"tag":233,"props":514,"children":515},{"class":235,"line":236},[516,521,525,530],{"type":21,"tag":233,"props":517,"children":518},{"style":240},[519],{"type":27,"value":520},"$name ",{"type":21,"tag":233,"props":522,"children":523},{"style":246},[524],{"type":27,"value":249},{"type":21,"tag":233,"props":526,"children":527},{"style":298},[528],{"type":27,"value":529}," \"John\"",{"type":21,"tag":233,"props":531,"children":532},{"style":240},[533],{"type":27,"value":260},{"type":21,"tag":233,"props":535,"children":536},{"class":235,"line":263},[537,542,546,551,556,561,566],{"type":21,"tag":233,"props":538,"children":539},{"style":240},[540],{"type":27,"value":541},"$message1 ",{"type":21,"tag":233,"props":543,"children":544},{"style":246},[545],{"type":27,"value":249},{"type":21,"tag":233,"props":547,"children":548},{"style":298},[549],{"type":27,"value":550}," \"Hello, ",{"type":21,"tag":233,"props":552,"children":553},{"style":240},[554],{"type":27,"value":555},"$name",{"type":21,"tag":233,"props":557,"children":558},{"style":298},[559],{"type":27,"value":560},"!\"",{"type":21,"tag":233,"props":562,"children":563},{"style":240},[564],{"type":27,"value":565},"; ",{"type":21,"tag":233,"props":567,"children":569},{"style":568},"--shiki-default:#6A737D;--shiki-dark:#6A737D",[570],{"type":27,"value":571},"\u002F\u002F Parses variable\n",{"type":21,"tag":233,"props":573,"children":574},{"class":235,"line":285},[575,580,584,589,593],{"type":21,"tag":233,"props":576,"children":577},{"style":240},[578],{"type":27,"value":579},"$message2 ",{"type":21,"tag":233,"props":581,"children":582},{"style":246},[583],{"type":27,"value":249},{"type":21,"tag":233,"props":585,"children":586},{"style":298},[587],{"type":27,"value":588}," 'Hello, $name!'",{"type":21,"tag":233,"props":590,"children":591},{"style":240},[592],{"type":27,"value":565},{"type":21,"tag":233,"props":594,"children":595},{"style":568},[596],{"type":27,"value":597},"\u002F\u002F Literal string\n",{"type":21,"tag":217,"props":599,"children":601},{"id":600},"string-concatenation",[602],{"type":27,"value":603},"String Concatenation",{"type":21,"tag":30,"props":605,"children":606},{},[607,609,614],{"type":27,"value":608},"You can concatenate strings using the dot operator (",{"type":21,"tag":70,"props":610,"children":612},{"className":611},[],[613],{"type":27,"value":147},{"type":27,"value":615},"):",{"type":21,"tag":224,"props":617,"children":619},{"className":226,"code":618,"language":12,"meta":8,"style":8},"$greeting = \"Hello, \" . $name . \"!\"; \u002F\u002F \"Hello, John!\"\n",[620],{"type":21,"tag":70,"props":621,"children":622},{"__ignoreMap":8},[623],{"type":21,"tag":233,"props":624,"children":625},{"class":235,"line":236},[626,631,635,640,645,650,654,659,663],{"type":21,"tag":233,"props":627,"children":628},{"style":240},[629],{"type":27,"value":630},"$greeting ",{"type":21,"tag":233,"props":632,"children":633},{"style":246},[634],{"type":27,"value":249},{"type":21,"tag":233,"props":636,"children":637},{"style":298},[638],{"type":27,"value":639}," \"Hello, \"",{"type":21,"tag":233,"props":641,"children":642},{"style":246},[643],{"type":27,"value":644}," .",{"type":21,"tag":233,"props":646,"children":647},{"style":240},[648],{"type":27,"value":649}," $name ",{"type":21,"tag":233,"props":651,"children":652},{"style":246},[653],{"type":27,"value":147},{"type":21,"tag":233,"props":655,"children":656},{"style":298},[657],{"type":27,"value":658}," \"!\"",{"type":21,"tag":233,"props":660,"children":661},{"style":240},[662],{"type":27,"value":565},{"type":21,"tag":233,"props":664,"children":665},{"style":568},[666],{"type":27,"value":667},"\u002F\u002F \"Hello, John!\"\n",{"type":21,"tag":217,"props":669,"children":671},{"id":670},"string-manipulation-functions",[672],{"type":27,"value":673},"String Manipulation Functions",{"type":21,"tag":30,"props":675,"children":676},{},[677],{"type":27,"value":678},"PHP provides a wide range of built-in functions for string manipulation. Here are some common ones:",{"type":21,"tag":680,"props":681,"children":682},"ul",{},[683,695,706,717,728],{"type":21,"tag":684,"props":685,"children":686},"li",{},[687,693],{"type":21,"tag":70,"props":688,"children":690},{"className":689},[],[691],{"type":27,"value":692},"strlen()",{"type":27,"value":694},": Get the length of a string.",{"type":21,"tag":684,"props":696,"children":697},{},[698,704],{"type":21,"tag":70,"props":699,"children":701},{"className":700},[],[702],{"type":27,"value":703},"strtolower()",{"type":27,"value":705},": Convert a string to lowercase.",{"type":21,"tag":684,"props":707,"children":708},{},[709,715],{"type":21,"tag":70,"props":710,"children":712},{"className":711},[],[713],{"type":27,"value":714},"strtoupper()",{"type":27,"value":716},": Convert a string to uppercase.",{"type":21,"tag":684,"props":718,"children":719},{},[720,726],{"type":21,"tag":70,"props":721,"children":723},{"className":722},[],[724],{"type":27,"value":725},"substr()",{"type":27,"value":727},": Get a substring from a string.",{"type":21,"tag":684,"props":729,"children":730},{},[731,737],{"type":21,"tag":70,"props":732,"children":734},{"className":733},[],[735],{"type":27,"value":736},"str_replace()",{"type":27,"value":738},": Replace all occurrences of a search string with a replacement string.",{"type":21,"tag":224,"props":740,"children":742},{"className":226,"code":741,"language":12,"meta":8,"style":8},"$string = \"Hello, World!\";\necho strlen($string); \u002F\u002F 13\necho strtolower($string); \u002F\u002F \"hello, world!\"\necho strtoupper($string); \u002F\u002F \"HELLO, WORLD!\"\necho substr($string, 0, 5); \u002F\u002F \"Hello\"\necho str_replace(\"World\", \"PHP\", $string); \u002F\u002F \"Hello, PHP!\"\n",[743],{"type":21,"tag":70,"props":744,"children":745},{"__ignoreMap":8},[746,765,788,809,830,871],{"type":21,"tag":233,"props":747,"children":748},{"class":235,"line":236},[749,753,757,761],{"type":21,"tag":233,"props":750,"children":751},{"style":240},[752],{"type":27,"value":291},{"type":21,"tag":233,"props":754,"children":755},{"style":246},[756],{"type":27,"value":249},{"type":21,"tag":233,"props":758,"children":759},{"style":298},[760],{"type":27,"value":301},{"type":21,"tag":233,"props":762,"children":763},{"style":240},[764],{"type":27,"value":260},{"type":21,"tag":233,"props":766,"children":767},{"class":235,"line":263},[768,773,778,783],{"type":21,"tag":233,"props":769,"children":770},{"style":252},[771],{"type":27,"value":772},"echo",{"type":21,"tag":233,"props":774,"children":775},{"style":252},[776],{"type":27,"value":777}," strlen",{"type":21,"tag":233,"props":779,"children":780},{"style":240},[781],{"type":27,"value":782},"($string); ",{"type":21,"tag":233,"props":784,"children":785},{"style":568},[786],{"type":27,"value":787},"\u002F\u002F 13\n",{"type":21,"tag":233,"props":789,"children":790},{"class":235,"line":285},[791,795,800,804],{"type":21,"tag":233,"props":792,"children":793},{"style":252},[794],{"type":27,"value":772},{"type":21,"tag":233,"props":796,"children":797},{"style":252},[798],{"type":27,"value":799}," strtolower",{"type":21,"tag":233,"props":801,"children":802},{"style":240},[803],{"type":27,"value":782},{"type":21,"tag":233,"props":805,"children":806},{"style":568},[807],{"type":27,"value":808},"\u002F\u002F \"hello, world!\"\n",{"type":21,"tag":233,"props":810,"children":811},{"class":235,"line":308},[812,816,821,825],{"type":21,"tag":233,"props":813,"children":814},{"style":252},[815],{"type":27,"value":772},{"type":21,"tag":233,"props":817,"children":818},{"style":252},[819],{"type":27,"value":820}," strtoupper",{"type":21,"tag":233,"props":822,"children":823},{"style":240},[824],{"type":27,"value":782},{"type":21,"tag":233,"props":826,"children":827},{"style":568},[828],{"type":27,"value":829},"\u002F\u002F \"HELLO, WORLD!\"\n",{"type":21,"tag":233,"props":831,"children":832},{"class":235,"line":16},[833,837,842,847,852,856,861,866],{"type":21,"tag":233,"props":834,"children":835},{"style":252},[836],{"type":27,"value":772},{"type":21,"tag":233,"props":838,"children":839},{"style":252},[840],{"type":27,"value":841}," substr",{"type":21,"tag":233,"props":843,"children":844},{"style":240},[845],{"type":27,"value":846},"($string, ",{"type":21,"tag":233,"props":848,"children":849},{"style":252},[850],{"type":27,"value":851},"0",{"type":21,"tag":233,"props":853,"children":854},{"style":240},[855],{"type":27,"value":354},{"type":21,"tag":233,"props":857,"children":858},{"style":252},[859],{"type":27,"value":860},"5",{"type":21,"tag":233,"props":862,"children":863},{"style":240},[864],{"type":27,"value":865},"); ",{"type":21,"tag":233,"props":867,"children":868},{"style":568},[869],{"type":27,"value":870},"\u002F\u002F \"Hello\"\n",{"type":21,"tag":233,"props":872,"children":873},{"class":235,"line":376},[874,878,883,888,893,897,902,907],{"type":21,"tag":233,"props":875,"children":876},{"style":252},[877],{"type":27,"value":772},{"type":21,"tag":233,"props":879,"children":880},{"style":252},[881],{"type":27,"value":882}," str_replace",{"type":21,"tag":233,"props":884,"children":885},{"style":240},[886],{"type":27,"value":887},"(",{"type":21,"tag":233,"props":889,"children":890},{"style":298},[891],{"type":27,"value":892},"\"World\"",{"type":21,"tag":233,"props":894,"children":895},{"style":240},[896],{"type":27,"value":354},{"type":21,"tag":233,"props":898,"children":899},{"style":298},[900],{"type":27,"value":901},"\"PHP\"",{"type":21,"tag":233,"props":903,"children":904},{"style":240},[905],{"type":27,"value":906},", $string); ",{"type":21,"tag":233,"props":908,"children":909},{"style":568},[910],{"type":27,"value":911},"\u002F\u002F \"Hello, PHP!\"\n",{"type":21,"tag":217,"props":913,"children":915},{"id":914},"heredoc-and-nowdoc",[916],{"type":27,"value":917},"Heredoc and Nowdoc",{"type":21,"tag":30,"props":919,"children":920},{},[921],{"type":27,"value":922},"Heredoc and Nowdoc are special string syntaxes in PHP that allow for multi-line strings without the need for concatenation.",{"type":21,"tag":30,"props":924,"children":925},{},[926,928,934,936,942,944,950],{"type":27,"value":927},"The ",{"type":21,"tag":70,"props":929,"children":931},{"className":930},[],[932],{"type":27,"value":933},"Heredoc",{"type":27,"value":935}," syntax ",{"type":21,"tag":937,"props":938,"children":939},"strong",{},[940],{"type":27,"value":941},"allows",{"type":27,"value":943}," for variable parsing and special characters, while the ",{"type":21,"tag":70,"props":945,"children":947},{"className":946},[],[948],{"type":27,"value":949},"Nowdoc",{"type":27,"value":951}," syntax treats the string as literal text without parsing.",{"type":21,"tag":30,"props":953,"children":954},{},[955],{"type":27,"value":933},{"type":21,"tag":224,"props":957,"children":959},{"className":226,"code":958,"language":12,"meta":8,"style":8},"$name = \"John\";\n$heredoc = \u003C\u003C\u003CEOD\nThis is a heredoc string. It can span multiple lines and parse variables like $name.\nEOD;\n\u002F\u002F Output: This is a heredoc string. It can span multiple lines and parse variables like John.\n",[960],{"type":21,"tag":70,"props":961,"children":962},{"__ignoreMap":8},[963,982,1004,1021,1033],{"type":21,"tag":233,"props":964,"children":965},{"class":235,"line":236},[966,970,974,978],{"type":21,"tag":233,"props":967,"children":968},{"style":240},[969],{"type":27,"value":520},{"type":21,"tag":233,"props":971,"children":972},{"style":246},[973],{"type":27,"value":249},{"type":21,"tag":233,"props":975,"children":976},{"style":298},[977],{"type":27,"value":529},{"type":21,"tag":233,"props":979,"children":980},{"style":240},[981],{"type":27,"value":260},{"type":21,"tag":233,"props":983,"children":984},{"class":235,"line":263},[985,990,994,999],{"type":21,"tag":233,"props":986,"children":987},{"style":240},[988],{"type":27,"value":989},"$heredoc ",{"type":21,"tag":233,"props":991,"children":992},{"style":246},[993],{"type":27,"value":249},{"type":21,"tag":233,"props":995,"children":996},{"style":298},[997],{"type":27,"value":998}," \u003C\u003C\u003C",{"type":21,"tag":233,"props":1000,"children":1001},{"style":246},[1002],{"type":27,"value":1003},"EOD\n",{"type":21,"tag":233,"props":1005,"children":1006},{"class":235,"line":285},[1007,1012,1016],{"type":21,"tag":233,"props":1008,"children":1009},{"style":298},[1010],{"type":27,"value":1011},"This is a heredoc string. It can span multiple lines and parse variables like ",{"type":21,"tag":233,"props":1013,"children":1014},{"style":240},[1015],{"type":27,"value":555},{"type":21,"tag":233,"props":1017,"children":1018},{"style":298},[1019],{"type":27,"value":1020},".\n",{"type":21,"tag":233,"props":1022,"children":1023},{"class":235,"line":308},[1024,1029],{"type":21,"tag":233,"props":1025,"children":1026},{"style":246},[1027],{"type":27,"value":1028},"EOD",{"type":21,"tag":233,"props":1030,"children":1031},{"style":240},[1032],{"type":27,"value":260},{"type":21,"tag":233,"props":1034,"children":1035},{"class":235,"line":16},[1036],{"type":21,"tag":233,"props":1037,"children":1038},{"style":568},[1039],{"type":27,"value":1040},"\u002F\u002F Output: This is a heredoc string. It can span multiple lines and parse variables like John.\n",{"type":21,"tag":30,"props":1042,"children":1043},{},[1044],{"type":27,"value":949},{"type":21,"tag":224,"props":1046,"children":1048},{"className":226,"code":1047,"language":12,"meta":8,"style":8},"$name = \"John\";\n$nowdoc = \u003C\u003C\u003C'EOD'\nThis is a nowdoc string. It can span multiple lines but does not parse variables like $name.\nEOD;\n\u002F\u002F Output: This is a nowdoc string. It can span multiple lines but does not parse variables like $name.\n",[1049],{"type":21,"tag":70,"props":1050,"children":1051},{"__ignoreMap":8},[1052,1071,1097,1105,1116],{"type":21,"tag":233,"props":1053,"children":1054},{"class":235,"line":236},[1055,1059,1063,1067],{"type":21,"tag":233,"props":1056,"children":1057},{"style":240},[1058],{"type":27,"value":520},{"type":21,"tag":233,"props":1060,"children":1061},{"style":246},[1062],{"type":27,"value":249},{"type":21,"tag":233,"props":1064,"children":1065},{"style":298},[1066],{"type":27,"value":529},{"type":21,"tag":233,"props":1068,"children":1069},{"style":240},[1070],{"type":27,"value":260},{"type":21,"tag":233,"props":1072,"children":1073},{"class":235,"line":263},[1074,1079,1083,1088,1092],{"type":21,"tag":233,"props":1075,"children":1076},{"style":240},[1077],{"type":27,"value":1078},"$nowdoc ",{"type":21,"tag":233,"props":1080,"children":1081},{"style":246},[1082],{"type":27,"value":249},{"type":21,"tag":233,"props":1084,"children":1085},{"style":298},[1086],{"type":27,"value":1087}," \u003C\u003C\u003C'",{"type":21,"tag":233,"props":1089,"children":1090},{"style":246},[1091],{"type":27,"value":1028},{"type":21,"tag":233,"props":1093,"children":1094},{"style":298},[1095],{"type":27,"value":1096},"'\n",{"type":21,"tag":233,"props":1098,"children":1099},{"class":235,"line":285},[1100],{"type":21,"tag":233,"props":1101,"children":1102},{"style":298},[1103],{"type":27,"value":1104},"This is a nowdoc string. It can span multiple lines but does not parse variables like $name.\n",{"type":21,"tag":233,"props":1106,"children":1107},{"class":235,"line":308},[1108,1112],{"type":21,"tag":233,"props":1109,"children":1110},{"style":246},[1111],{"type":27,"value":1028},{"type":21,"tag":233,"props":1113,"children":1114},{"style":240},[1115],{"type":27,"value":260},{"type":21,"tag":233,"props":1117,"children":1118},{"class":235,"line":16},[1119],{"type":21,"tag":233,"props":1120,"children":1121},{"style":568},[1122],{"type":27,"value":1123},"\u002F\u002F Output: This is a nowdoc string. It can span multiple lines but does not parse variables like $name.\n",{"type":21,"tag":22,"props":1125,"children":1127},{"id":1126},"integer-data-type",[1128],{"type":27,"value":1129},"Integer Data Type",{"type":21,"tag":30,"props":1131,"children":1132},{},[1133],{"type":27,"value":1134},"Integers in PHP are whole numbers without a decimal point. They can be positive, negative, or zero. The size of an integer depends on the platform, but it is typically 32 or 64 bits.",{"type":21,"tag":224,"props":1136,"children":1138},{"className":226,"code":1137,"language":12,"meta":8,"style":8},"$positiveInt = 42;\n$negativeInt = -42;\n$zeroInt = 0;\n",[1139],{"type":21,"tag":70,"props":1140,"children":1141},{"__ignoreMap":8},[1142,1162,1188],{"type":21,"tag":233,"props":1143,"children":1144},{"class":235,"line":236},[1145,1150,1154,1158],{"type":21,"tag":233,"props":1146,"children":1147},{"style":240},[1148],{"type":27,"value":1149},"$positiveInt ",{"type":21,"tag":233,"props":1151,"children":1152},{"style":246},[1153],{"type":27,"value":249},{"type":21,"tag":233,"props":1155,"children":1156},{"style":252},[1157],{"type":27,"value":255},{"type":21,"tag":233,"props":1159,"children":1160},{"style":240},[1161],{"type":27,"value":260},{"type":21,"tag":233,"props":1163,"children":1164},{"class":235,"line":263},[1165,1170,1174,1179,1184],{"type":21,"tag":233,"props":1166,"children":1167},{"style":240},[1168],{"type":27,"value":1169},"$negativeInt ",{"type":21,"tag":233,"props":1171,"children":1172},{"style":246},[1173],{"type":27,"value":249},{"type":21,"tag":233,"props":1175,"children":1176},{"style":246},[1177],{"type":27,"value":1178}," -",{"type":21,"tag":233,"props":1180,"children":1181},{"style":252},[1182],{"type":27,"value":1183},"42",{"type":21,"tag":233,"props":1185,"children":1186},{"style":240},[1187],{"type":27,"value":260},{"type":21,"tag":233,"props":1189,"children":1190},{"class":235,"line":285},[1191,1196,1200,1205],{"type":21,"tag":233,"props":1192,"children":1193},{"style":240},[1194],{"type":27,"value":1195},"$zeroInt ",{"type":21,"tag":233,"props":1197,"children":1198},{"style":246},[1199],{"type":27,"value":249},{"type":21,"tag":233,"props":1201,"children":1202},{"style":252},[1203],{"type":27,"value":1204}," 0",{"type":21,"tag":233,"props":1206,"children":1207},{"style":240},[1208],{"type":27,"value":260},{"type":21,"tag":22,"props":1210,"children":1212},{"id":1211},"float-data-type",[1213],{"type":27,"value":1214},"Float Data Type",{"type":21,"tag":30,"props":1216,"children":1217},{},[1218],{"type":27,"value":1219},"Floats, also known as floating-point numbers, are numbers that contain a decimal point. They can represent a wider range of values than integers but may have precision issues due to the way they are stored in memory.",{"type":21,"tag":224,"props":1221,"children":1223},{"className":226,"code":1222,"language":12,"meta":8,"style":8},"$floatValue = 3.14;\n$negativeFloat = -3.14;\n",[1224],{"type":21,"tag":70,"props":1225,"children":1226},{"__ignoreMap":8},[1227,1247],{"type":21,"tag":233,"props":1228,"children":1229},{"class":235,"line":236},[1230,1235,1239,1243],{"type":21,"tag":233,"props":1231,"children":1232},{"style":240},[1233],{"type":27,"value":1234},"$floatValue ",{"type":21,"tag":233,"props":1236,"children":1237},{"style":246},[1238],{"type":27,"value":249},{"type":21,"tag":233,"props":1240,"children":1241},{"style":252},[1242],{"type":27,"value":278},{"type":21,"tag":233,"props":1244,"children":1245},{"style":240},[1246],{"type":27,"value":260},{"type":21,"tag":233,"props":1248,"children":1249},{"class":235,"line":263},[1250,1255,1259,1263,1268],{"type":21,"tag":233,"props":1251,"children":1252},{"style":240},[1253],{"type":27,"value":1254},"$negativeFloat ",{"type":21,"tag":233,"props":1256,"children":1257},{"style":246},[1258],{"type":27,"value":249},{"type":21,"tag":233,"props":1260,"children":1261},{"style":246},[1262],{"type":27,"value":1178},{"type":21,"tag":233,"props":1264,"children":1265},{"style":252},[1266],{"type":27,"value":1267},"3.14",{"type":21,"tag":233,"props":1269,"children":1270},{"style":240},[1271],{"type":27,"value":260},{"type":21,"tag":22,"props":1273,"children":1275},{"id":1274},"boolean-data-type",[1276],{"type":27,"value":1277},"Boolean Data Type",{"type":21,"tag":30,"props":1279,"children":1280},{},[1281,1283,1288,1290,1295],{"type":27,"value":1282},"Booleans in PHP represent two possible values: ",{"type":21,"tag":70,"props":1284,"children":1286},{"className":1285},[],[1287],{"type":27,"value":137},{"type":27,"value":1289}," and ",{"type":21,"tag":70,"props":1291,"children":1293},{"className":1292},[],[1294],{"type":27,"value":145},{"type":27,"value":1296},". They are often used in conditional statements and logical operations.",{"type":21,"tag":224,"props":1298,"children":1300},{"className":226,"code":1299,"language":12,"meta":8,"style":8},"$isTrue = true;\n$isFalse = false;\n",[1301],{"type":21,"tag":70,"props":1302,"children":1303},{"__ignoreMap":8},[1304,1324],{"type":21,"tag":233,"props":1305,"children":1306},{"class":235,"line":236},[1307,1312,1316,1320],{"type":21,"tag":233,"props":1308,"children":1309},{"style":240},[1310],{"type":27,"value":1311},"$isTrue ",{"type":21,"tag":233,"props":1313,"children":1314},{"style":246},[1315],{"type":27,"value":249},{"type":21,"tag":233,"props":1317,"children":1318},{"style":252},[1319],{"type":27,"value":323},{"type":21,"tag":233,"props":1321,"children":1322},{"style":240},[1323],{"type":27,"value":260},{"type":21,"tag":233,"props":1325,"children":1326},{"class":235,"line":263},[1327,1332,1336,1341],{"type":21,"tag":233,"props":1328,"children":1329},{"style":240},[1330],{"type":27,"value":1331},"$isFalse ",{"type":21,"tag":233,"props":1333,"children":1334},{"style":246},[1335],{"type":27,"value":249},{"type":21,"tag":233,"props":1337,"children":1338},{"style":252},[1339],{"type":27,"value":1340}," false",{"type":21,"tag":233,"props":1342,"children":1343},{"style":240},[1344],{"type":27,"value":260},{"type":21,"tag":22,"props":1346,"children":1348},{"id":1347},"array-data-type",[1349],{"type":27,"value":1350},"Array Data Type",{"type":21,"tag":30,"props":1352,"children":1353},{},[1354],{"type":27,"value":1355},"Arrays in PHP are ordered maps that can hold multiple values. They can be indexed by integers or associative keys (strings).",{"type":21,"tag":224,"props":1357,"children":1359},{"className":226,"code":1358,"language":12,"meta":8,"style":8},"\u002F\u002F Indexed array\n$fruits = [\"Apple\", \"Banana\", \"Cherry\"];\n\n\u002F\u002F Associative array\n$person = [\n    \"name\" => \"John\",\n    \"age\" => 30,\n    \"city\" => \"New York\"\n];\n",[1360],{"type":21,"tag":70,"props":1361,"children":1362},{"__ignoreMap":8},[1363,1371,1414,1423,1431,1448,1470,1491,1508],{"type":21,"tag":233,"props":1364,"children":1365},{"class":235,"line":236},[1366],{"type":21,"tag":233,"props":1367,"children":1368},{"style":568},[1369],{"type":27,"value":1370},"\u002F\u002F Indexed array\n",{"type":21,"tag":233,"props":1372,"children":1373},{"class":235,"line":263},[1374,1379,1383,1387,1392,1396,1401,1405,1410],{"type":21,"tag":233,"props":1375,"children":1376},{"style":240},[1377],{"type":27,"value":1378},"$fruits ",{"type":21,"tag":233,"props":1380,"children":1381},{"style":246},[1382],{"type":27,"value":249},{"type":21,"tag":233,"props":1384,"children":1385},{"style":240},[1386],{"type":27,"value":344},{"type":21,"tag":233,"props":1388,"children":1389},{"style":298},[1390],{"type":27,"value":1391},"\"Apple\"",{"type":21,"tag":233,"props":1393,"children":1394},{"style":240},[1395],{"type":27,"value":354},{"type":21,"tag":233,"props":1397,"children":1398},{"style":298},[1399],{"type":27,"value":1400},"\"Banana\"",{"type":21,"tag":233,"props":1402,"children":1403},{"style":240},[1404],{"type":27,"value":354},{"type":21,"tag":233,"props":1406,"children":1407},{"style":298},[1408],{"type":27,"value":1409},"\"Cherry\"",{"type":21,"tag":233,"props":1411,"children":1412},{"style":240},[1413],{"type":27,"value":373},{"type":21,"tag":233,"props":1415,"children":1416},{"class":235,"line":285},[1417],{"type":21,"tag":233,"props":1418,"children":1420},{"emptyLinePlaceholder":1419},true,[1421],{"type":27,"value":1422},"\n",{"type":21,"tag":233,"props":1424,"children":1425},{"class":235,"line":308},[1426],{"type":21,"tag":233,"props":1427,"children":1428},{"style":568},[1429],{"type":27,"value":1430},"\u002F\u002F Associative array\n",{"type":21,"tag":233,"props":1432,"children":1433},{"class":235,"line":16},[1434,1439,1443],{"type":21,"tag":233,"props":1435,"children":1436},{"style":240},[1437],{"type":27,"value":1438},"$person ",{"type":21,"tag":233,"props":1440,"children":1441},{"style":246},[1442],{"type":27,"value":249},{"type":21,"tag":233,"props":1444,"children":1445},{"style":240},[1446],{"type":27,"value":1447}," [\n",{"type":21,"tag":233,"props":1449,"children":1450},{"class":235,"line":376},[1451,1456,1461,1465],{"type":21,"tag":233,"props":1452,"children":1453},{"style":298},[1454],{"type":27,"value":1455},"    \"name\"",{"type":21,"tag":233,"props":1457,"children":1458},{"style":246},[1459],{"type":27,"value":1460}," =>",{"type":21,"tag":233,"props":1462,"children":1463},{"style":298},[1464],{"type":27,"value":529},{"type":21,"tag":233,"props":1466,"children":1467},{"style":240},[1468],{"type":27,"value":1469},",\n",{"type":21,"tag":233,"props":1471,"children":1472},{"class":235,"line":396},[1473,1478,1482,1487],{"type":21,"tag":233,"props":1474,"children":1475},{"style":298},[1476],{"type":27,"value":1477},"    \"age\"",{"type":21,"tag":233,"props":1479,"children":1480},{"style":246},[1481],{"type":27,"value":1460},{"type":21,"tag":233,"props":1483,"children":1484},{"style":252},[1485],{"type":27,"value":1486}," 30",{"type":21,"tag":233,"props":1488,"children":1489},{"style":240},[1490],{"type":27,"value":1469},{"type":21,"tag":233,"props":1492,"children":1493},{"class":235,"line":423},[1494,1499,1503],{"type":21,"tag":233,"props":1495,"children":1496},{"style":298},[1497],{"type":27,"value":1498},"    \"city\"",{"type":21,"tag":233,"props":1500,"children":1501},{"style":246},[1502],{"type":27,"value":1460},{"type":21,"tag":233,"props":1504,"children":1505},{"style":298},[1506],{"type":27,"value":1507}," \"New York\"\n",{"type":21,"tag":233,"props":1509,"children":1510},{"class":235,"line":432},[1511],{"type":21,"tag":233,"props":1512,"children":1513},{"style":240},[1514],{"type":27,"value":373},{"type":21,"tag":22,"props":1516,"children":1518},{"id":1517},"object-data-type",[1519],{"type":27,"value":1520},"Object Data Type",{"type":21,"tag":30,"props":1522,"children":1523},{},[1524],{"type":27,"value":1525},"Objects in PHP are instances of classes. They can have properties and methods that define their behavior.",{"type":21,"tag":224,"props":1527,"children":1529},{"className":226,"code":1528,"language":12,"meta":8,"style":8},"class MyClass {\n    public $property = \"I am an object.\";\n    \n    public function myMethod() {\n        return \"This is a method.\";\n    }\n}\n$object = new MyClass();\necho $object->property; \u002F\u002F Output: I am an object.\necho $object->myMethod(); \u002F\u002F Output: This is a method.\n",[1530],{"type":21,"tag":70,"props":1531,"children":1532},{"__ignoreMap":8},[1533,1548,1571,1579,1601,1618,1626,1633,1656,1683],{"type":21,"tag":233,"props":1534,"children":1535},{"class":235,"line":236},[1536,1540,1544],{"type":21,"tag":233,"props":1537,"children":1538},{"style":246},[1539],{"type":27,"value":382},{"type":21,"tag":233,"props":1541,"children":1542},{"style":385},[1543],{"type":27,"value":388},{"type":21,"tag":233,"props":1545,"children":1546},{"style":240},[1547],{"type":27,"value":393},{"type":21,"tag":233,"props":1549,"children":1550},{"class":235,"line":263},[1551,1555,1559,1563,1567],{"type":21,"tag":233,"props":1552,"children":1553},{"style":246},[1554],{"type":27,"value":402},{"type":21,"tag":233,"props":1556,"children":1557},{"style":240},[1558],{"type":27,"value":407},{"type":21,"tag":233,"props":1560,"children":1561},{"style":246},[1562],{"type":27,"value":249},{"type":21,"tag":233,"props":1564,"children":1565},{"style":298},[1566],{"type":27,"value":416},{"type":21,"tag":233,"props":1568,"children":1569},{"style":240},[1570],{"type":27,"value":260},{"type":21,"tag":233,"props":1572,"children":1573},{"class":235,"line":285},[1574],{"type":21,"tag":233,"props":1575,"children":1576},{"style":240},[1577],{"type":27,"value":1578},"    \n",{"type":21,"tag":233,"props":1580,"children":1581},{"class":235,"line":308},[1582,1586,1591,1596],{"type":21,"tag":233,"props":1583,"children":1584},{"style":246},[1585],{"type":27,"value":402},{"type":21,"tag":233,"props":1587,"children":1588},{"style":246},[1589],{"type":27,"value":1590}," function",{"type":21,"tag":233,"props":1592,"children":1593},{"style":385},[1594],{"type":27,"value":1595}," myMethod",{"type":21,"tag":233,"props":1597,"children":1598},{"style":240},[1599],{"type":27,"value":1600},"() {\n",{"type":21,"tag":233,"props":1602,"children":1603},{"class":235,"line":16},[1604,1609,1614],{"type":21,"tag":233,"props":1605,"children":1606},{"style":246},[1607],{"type":27,"value":1608},"        return",{"type":21,"tag":233,"props":1610,"children":1611},{"style":298},[1612],{"type":27,"value":1613}," \"This is a method.\"",{"type":21,"tag":233,"props":1615,"children":1616},{"style":240},[1617],{"type":27,"value":260},{"type":21,"tag":233,"props":1619,"children":1620},{"class":235,"line":376},[1621],{"type":21,"tag":233,"props":1622,"children":1623},{"style":240},[1624],{"type":27,"value":1625},"    }\n",{"type":21,"tag":233,"props":1627,"children":1628},{"class":235,"line":396},[1629],{"type":21,"tag":233,"props":1630,"children":1631},{"style":240},[1632],{"type":27,"value":429},{"type":21,"tag":233,"props":1634,"children":1635},{"class":235,"line":423},[1636,1640,1644,1648,1652],{"type":21,"tag":233,"props":1637,"children":1638},{"style":240},[1639],{"type":27,"value":438},{"type":21,"tag":233,"props":1641,"children":1642},{"style":246},[1643],{"type":27,"value":249},{"type":21,"tag":233,"props":1645,"children":1646},{"style":246},[1647],{"type":27,"value":447},{"type":21,"tag":233,"props":1649,"children":1650},{"style":252},[1651],{"type":27,"value":388},{"type":21,"tag":233,"props":1653,"children":1654},{"style":240},[1655],{"type":27,"value":456},{"type":21,"tag":233,"props":1657,"children":1658},{"class":235,"line":432},[1659,1663,1668,1673,1678],{"type":21,"tag":233,"props":1660,"children":1661},{"style":252},[1662],{"type":27,"value":772},{"type":21,"tag":233,"props":1664,"children":1665},{"style":240},[1666],{"type":27,"value":1667}," $object",{"type":21,"tag":233,"props":1669,"children":1670},{"style":246},[1671],{"type":27,"value":1672},"->",{"type":21,"tag":233,"props":1674,"children":1675},{"style":240},[1676],{"type":27,"value":1677},"property; ",{"type":21,"tag":233,"props":1679,"children":1680},{"style":568},[1681],{"type":27,"value":1682},"\u002F\u002F Output: I am an object.\n",{"type":21,"tag":233,"props":1684,"children":1685},{"class":235,"line":459},[1686,1690,1694,1698,1703,1708],{"type":21,"tag":233,"props":1687,"children":1688},{"style":252},[1689],{"type":27,"value":772},{"type":21,"tag":233,"props":1691,"children":1692},{"style":240},[1693],{"type":27,"value":1667},{"type":21,"tag":233,"props":1695,"children":1696},{"style":246},[1697],{"type":27,"value":1672},{"type":21,"tag":233,"props":1699,"children":1700},{"style":385},[1701],{"type":27,"value":1702},"myMethod",{"type":21,"tag":233,"props":1704,"children":1705},{"style":240},[1706],{"type":27,"value":1707},"(); ",{"type":21,"tag":233,"props":1709,"children":1710},{"style":568},[1711],{"type":27,"value":1712},"\u002F\u002F Output: This is a method.\n",{"type":21,"tag":22,"props":1714,"children":1716},{"id":1715},"null-data-type",[1717],{"type":27,"value":1718},"NULL Data Type",{"type":21,"tag":30,"props":1720,"children":1721},{},[1722,1723,1728,1730,1735,1737,1742],{"type":27,"value":927},{"type":21,"tag":70,"props":1724,"children":1726},{"className":1725},[],[1727],{"type":27,"value":193},{"type":27,"value":1729}," data type represents a variable with no value. A variable is considered ",{"type":21,"tag":70,"props":1731,"children":1733},{"className":1732},[],[1734],{"type":27,"value":193},{"type":27,"value":1736}," if it has been assigned the value ",{"type":21,"tag":70,"props":1738,"children":1740},{"className":1739},[],[1741],{"type":27,"value":193},{"type":27,"value":1743},", has not been set, or has been unset.",{"type":21,"tag":224,"props":1745,"children":1747},{"className":226,"code":1746,"language":12,"meta":8,"style":8},"$nullValue = NULL; \u002F\u002F $nullValue is explicitly set to NULL\n$unsetValue; \u002F\u002F $unsetValue is also considered NULL because it has not been set\nunset($nullValue); \u002F\u002F $nullValue is now NULL\n",[1748],{"type":21,"tag":70,"props":1749,"children":1750},{"__ignoreMap":8},[1751,1775,1788],{"type":21,"tag":233,"props":1752,"children":1753},{"class":235,"line":236},[1754,1758,1762,1766,1770],{"type":21,"tag":233,"props":1755,"children":1756},{"style":240},[1757],{"type":27,"value":465},{"type":21,"tag":233,"props":1759,"children":1760},{"style":246},[1761],{"type":27,"value":249},{"type":21,"tag":233,"props":1763,"children":1764},{"style":252},[1765],{"type":27,"value":474},{"type":21,"tag":233,"props":1767,"children":1768},{"style":240},[1769],{"type":27,"value":565},{"type":21,"tag":233,"props":1771,"children":1772},{"style":568},[1773],{"type":27,"value":1774},"\u002F\u002F $nullValue is explicitly set to NULL\n",{"type":21,"tag":233,"props":1776,"children":1777},{"class":235,"line":263},[1778,1783],{"type":21,"tag":233,"props":1779,"children":1780},{"style":240},[1781],{"type":27,"value":1782},"$unsetValue; ",{"type":21,"tag":233,"props":1784,"children":1785},{"style":568},[1786],{"type":27,"value":1787},"\u002F\u002F $unsetValue is also considered NULL because it has not been set\n",{"type":21,"tag":233,"props":1789,"children":1790},{"class":235,"line":285},[1791,1796,1801],{"type":21,"tag":233,"props":1792,"children":1793},{"style":252},[1794],{"type":27,"value":1795},"unset",{"type":21,"tag":233,"props":1797,"children":1798},{"style":240},[1799],{"type":27,"value":1800},"($nullValue); ",{"type":21,"tag":233,"props":1802,"children":1803},{"style":568},[1804],{"type":27,"value":1805},"\u002F\u002F $nullValue is now NULL\n",{"type":21,"tag":1807,"props":1808,"children":1809},"style",{},[1810],{"type":27,"value":1811},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":8,"searchDepth":285,"depth":285,"links":1813},[1814,1817,1822,1823,1824,1825,1826,1827],{"id":24,"depth":263,"text":28,"children":1815},[1816],{"id":219,"depth":285,"text":222},{"id":481,"depth":263,"text":484,"children":1818},[1819,1820,1821],{"id":600,"depth":285,"text":603},{"id":670,"depth":285,"text":673},{"id":914,"depth":285,"text":917},{"id":1126,"depth":263,"text":1129},{"id":1211,"depth":263,"text":1214},{"id":1274,"depth":263,"text":1277},{"id":1347,"depth":263,"text":1350},{"id":1517,"depth":263,"text":1520},{"id":1715,"depth":263,"text":1718},"markdown","content:php:php-fundamental:datatypes.md","content","php\u002Fphp-fundamental\u002Fdatatypes.md","php\u002Fphp-fundamental\u002Fdatatypes","md",[1835,1843,1851,1856,1862,1871,1875,1880,1885,1890,1895,1904,1910,1915,1920,1925,1930,1935,1941,1949,1957,1962,1969,1974,1981,1987,1995,2001,2007,2014,2020,2026,2033,2045,2051,2056],{"_path":1836,"title":1837,"description":1838,"tags":1839,"date":1842},"\u002Fcpp","C++ \u002F CPP","C++ notes, snippets, and references",[1840,1841],"cpp","c++","2026-05-05",{"_path":1844,"title":1845,"description":1846,"tags":1847,"date":1850},"\u002Fdata-structure-algorithm\u002Farray-manipulation\u002Ffor-looping","For Looping in Python","Using for loops to manipulate arrays in Python.",[1848,13,1849],"python","arrays","2026-03-18",{"_path":1852,"title":1853,"description":1854,"tags":1855,"date":1850},"\u002Fdata-structure-algorithm\u002Farray-manipulation\u002Fwhile-looping","While Looping in Python","Using while loops to manipulate arrays in Python.",[1848,13,1849],{"_path":1857,"title":1858,"description":1859,"tags":1860,"date":1861},"\u002Fdata-structure-algorithm\u002Fassignments","Assignments","Assignments in Python for competitive programming.",[1848,13],"2026-04-10",{"_path":1863,"title":1864,"description":1865,"tags":1866,"date":1870},"\u002Fdata-structure-algorithm\u002Fbuzzword","Buzzword List DSA","Common terms and concepts in data structures and algorithms.",[1867,1868,1869],"dsa","algorithms","data-structures","2026-04-03",{"_path":1872,"title":28,"description":1873,"tags":1874,"date":1861},"\u002Fdata-structure-algorithm\u002Fdata-type","Data types in Python for competitive programming.",[1848,13],{"_path":1876,"title":1877,"description":1878,"tags":1879,"date":1861},"\u002Fdata-structure-algorithm\u002Fhash-map","Hash Map","Hash map implementation in Python for competitive programming.",[1848,13],{"_path":1881,"title":1882,"description":1883,"tags":1884,"date":1861},"\u002Fdata-structure-algorithm\u002Finput-output","Input and Output","Handling input and output in Python for competitive programming.",[1848,13],{"_path":1886,"title":1887,"description":1888,"tags":1889,"date":1850},"\u002Fdata-structure-algorithm\u002Fmath-library\u002Fsum","Sum Elements","Using for loops to sum elements in Python.",[1848,13,1849],{"_path":1891,"title":1892,"description":1893,"tags":1894,"date":1850},"\u002Fdata-structure-algorithm\u002Fmath-library\u002Fsummary","Summary","Summary of the math library in Python.",[1848,13,1849],{"_path":1896,"title":1897,"description":1898,"tags":1899,"date":1903},"\u002Fdocker\u002Fcheat-sheets","Docker Cheat Sheets","Cheat sheets for frequently used Docker commands and concepts",[1900,1901,1902],"docker","devops","infrastructure","2026-05-01",{"_path":1905,"title":1906,"description":1907,"tags":1908,"date":1909},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-container","Docker Container","Introduction to Docker containers and their usage",[1900,1901,1902],"2026-03-12",{"_path":1911,"title":1912,"description":1913,"tags":1914,"date":1909},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-execution","Docker Execution","Introduction to Docker execution and their usage",[1900,1901,1902],{"_path":1916,"title":1917,"description":1918,"tags":1919,"date":1909},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-image","Docker Image","Introduction to Docker images and their usage",[1900,1901,1902],{"_path":1921,"title":1922,"description":1923,"tags":1924,"date":1909},"\u002Fdocker\u002Fdocker-dasar\u002Fdocker-logging","Docker Logging","Introduction to Docker logging and their usage",[1900,1901,1902],{"_path":1926,"title":1927,"description":1928,"tags":1929,"date":1909},"\u002Fdocker\u002Fdocker-prerequisites\u002Fdocker-installation","Docker Installation","Introduction to Docker installation and their usage",[1900,1901,1902],{"_path":1931,"title":1932,"description":1933,"tags":1934,"date":1909},"\u002Fdocker\u002Fresources","Docker Resources","Collection of Docker resources for learning and reference",[1900,1901,1902],{"_path":1936,"title":1937,"description":1938,"tags":1939,"date":1842},"\u002Fjava","Java","Java notes, snippets, and references",[1940],"java",{"_path":1942,"title":1943,"description":1944,"tags":1945,"date":1909},"\u002Fjavascript\u002Fpromises","Promise Patterns","Common JavaScript promise patterns and async\u002Fawait usage",[1946,1947,1948],"javascript","frontend","async",{"_path":1950,"title":1951,"description":1952,"tags":1953,"date":1842},"\u002Fjenkins","Jenkins","Jenkins notes, snippets, and references",[1954,1955,1956],"jenkins","ci","cd",{"_path":1958,"title":1959,"description":1960,"tags":1961,"date":1850},"\u002Fphp\u002Farrays","PHP Array Functions","Essential PHP array functions and patterns",[12,13,1849],{"_path":1963,"title":1964,"description":1965,"tags":1966,"date":1968},"\u002Fphp\u002Fpatterns\u002Fsingleton","Singleton Pattern","Implementing the singleton pattern in PHP",[12,1967,13],"patterns","2026-03-13",{"_path":1970,"title":1971,"description":1972,"tags":1973,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Farray-map","PHP Array and Map","Essential PHP array and map functions and their usage",[12,13,1849],{"_path":1975,"title":1976,"description":1977,"tags":1978,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fcasting-convertions","PHP Casting and Conversions","Learning about PHP casting and conversions",[12,13,1979,1980],"casting","conversions",{"_path":1982,"title":1983,"description":1984,"tags":1985,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fcomments","PHP Comments","Essential PHP comment operations",[12,13,1986],"comments",{"_path":1988,"title":1989,"description":1990,"tags":1991,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fexpression-statement-block","PHP Expressions, Statements, and Blocks","Essential PHP expressions, statements, and blocks",[12,13,1992,1993,1994],"expressions","statements","blocks",{"_path":1996,"title":1997,"description":1998,"tags":1999,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fflow-control","PHP Flow Control","Essential PHP flow control structures and patterns",[12,13,2000],"flow control",{"_path":2002,"title":2003,"description":2004,"tags":2005,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Ffunctions","PHP Functions","Essential PHP functions and their usage",[12,13,2006],"functions",{"_path":2008,"title":2009,"description":2010,"tags":2011,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Finclude-require","PHP Include and Require","Understanding PHP include and require statements",[12,13,2012,2013],"include","require",{"_path":2015,"title":2016,"description":2017,"tags":2018,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fintroduction","PHP Introduction","An introduction to PHP programming language and its fundamentals",[12,13,2019],"introduction",{"_path":2021,"title":2022,"description":2023,"tags":2024,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Foperator","PHP Operators","Essential PHP operators and their usage",[12,13,2025],"operators",{"_path":2027,"title":2028,"description":2029,"tags":2030,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Foutput-input","PHP Output & Input","Learning about PHP output and input methods",[12,13,2031,2032],"output","input",{"_path":2034,"title":2035,"description":2036,"tags":2037,"date":15},"\u002Fphp\u002Fphp-fundamental\u002Fvariables","PHP Variables","Essential PHP variables, constants, magic constants, and variable scope",[12,13,2038,2039,2040,2041,2042,2043,2044],"variables","constants","magic constants","scope","global","local","static",{"_path":2046,"title":2047,"description":2048,"tags":2049,"date":2050},"\u002Fphp\u002Freferences","PHP References (&)","Useful PHP reference snippets and patterns",[12,13],"2026-03-19",{"_path":2052,"title":2053,"description":2054,"tags":2055,"date":1842},"\u002Fpython","Python","Python notes, snippets, and references",[1848],{"_path":2057,"title":2058,"description":2059,"tags":2060,"date":1842},"\u002Frust","Rust","Rust notes, snippets, and references",[2061],"rust",[2063,2064,2065,2066,2067,2068,2069,2070,2071,2073,2074,2076,2077,2079,2081,2083,2084,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2098,2100,2101,2102,2103,2104,2105,2106],{"_path":1836,"title":1837,"weight":236},{"_path":1844,"title":1845,"weight":459},{"_path":1852,"title":1853,"weight":459},{"_path":1857,"title":1858,"weight":285},{"_path":1863,"title":1864,"weight":236},{"_path":1872,"title":28,"weight":263},{"_path":1876,"title":1877,"weight":459},{"_path":1881,"title":1882,"weight":236},{"_path":1886,"title":1887,"weight":2072},20,{"_path":1891,"title":1892,"weight":459},{"_path":1896,"title":1897,"weight":2075},100,{"_path":1905,"title":1906,"weight":2072},{"_path":1911,"title":1912,"weight":2078},22,{"_path":1916,"title":1917,"weight":2080},21,{"_path":1921,"title":1922,"weight":2082},23,{"_path":1926,"title":1927,"weight":459},{"_path":1931,"title":1932,"weight":236},{"_path":1936,"title":1937,"weight":236},{"_path":1942,"title":1943},{"_path":1950,"title":1951,"weight":236},{"_path":1958,"title":1959,"weight":236},{"_path":1963,"title":1964},{"_path":1970,"title":1971,"weight":432},{"_path":1975,"title":1976,"weight":376},{"_path":1982,"title":1983,"weight":285},{"_path":5,"title":9,"weight":16},{"_path":1988,"title":1989,"weight":423},{"_path":1996,"title":1997,"weight":459},{"_path":2002,"title":2003,"weight":2097},11,{"_path":2008,"title":2009,"weight":2099},12,{"_path":2015,"title":2016,"weight":236},{"_path":2021,"title":2022,"weight":396},{"_path":2027,"title":2028,"weight":263},{"_path":2034,"title":2035,"weight":308},{"_path":2046,"title":2047,"weight":263},{"_path":2052,"title":2053,"weight":236},{"_path":2057,"title":2058,"weight":236},1780160028245]