ebook img

PHP 7. В подлиннике PDF

1073 Pages·2016·178.871 MB·Russian
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview PHP 7. В подлиннике

iRMHTPHH KoTepoa, Mropb CHMARHOB HOBOBB0,Q0HIASI PHP 7 06b0KTHO-OplA0HTIAposaHHOe nporpaMM111posaH111e KoMnoHeHTbl PHP 111 Composer CTaH,QapTbl PSR PHP-FPM M nginx L-1cxo.QHble KOAbl Ha GitHub AMMTpMM Korepoe 1!1ropb CMMARHOB CaHKT-nerep6ypr « 6XB-nerep6ypr» 2016 YW 004.438 PHP 66K 32.973.26-018.I K73 .n;. KoTepoe, B. K73 PHP 7 I ,n;. B. Korepos, 11. B. CHM.!UIHOB. - CII6.: EXB-IleTep6ypr, 2016. - 1088 C.: HJJ. -(B IlO.!lJIHHHHKe) ISBN 978-5-9775-3725-4 PaccMOTpeH&I ocHOBbl JIJblKa PHP H ero pa6o11ero OKpYJKeHHJI s Windows, Mac OS X H Linux. OTpIDKeHbl pa,nHK8.II&H&1e HJMeHeHHJI s JIJI:.IKe PHP, npoHJowe.11wHe c MOMeHTa s&1- xo.11a npe.11&1.11ymero H3.llaHHJI: TpeITTbl, npOCTpaHCTBO HMeH, aHOHHMHble «l>YHKUHH, Ja MblKaHHJI, 3JJeMeHTI:.I CTporoA THnHJaUHH, reHeparop&1, BCTpOeHH&IH Web-cepsep H MHOrHe .11pyrHe BOJMOJKHOCTH. IlpHse.11etto onHcaHHe CHHTaKCHca PHP 7, a TaIOKe cl>YHKUHA .l1JlJI pa6or&1 c MaCCHBaMH, ct>aH.naMH, CYE,n: MySQL, memcached, perynJip H&IMH B&IpIDKeHHJIMH, rpacl>H11eCKHMH npnMHTifBaMH, no11ToA, ceccHJIMH n T. .11. Oco6oe BHHMaHHe y.11eJJeHo pa6o11eMY oKpYJKettmo: c6opKe PHP-FPM H Web-cepsepa nginx, CYE,n: MySQL, npOTOKOJJY SSH, BHPTYaJI&H&IM MawHHaM VirtualBox H MeHe.ll)Kepy BHPTYaJI&H&IX MaIDHH Vagrant. PaccMoTpeHI:.I cospeMeHHI:.Ie no.11Xo.11&1 K Web-paJpa- 6oTKe, cHCTeMa KOHTpOJlll sepcHA Git, GitHub H .11pyrHe 6ecnJiaTHble Git-xoCTHHrH, Ho BaJI CHCTCMa pacnpOCTpaHeHHJI nporpaMMHblX 6H6JJHOTeK H HX pa3pa60TKH, c6opKa Web-npHJJoJKeHHA MeHe.ll)KepoM Composer, CTaH.llapTbl PSR H .11pyrHe HHCTpYMCHT&I H npHeMI:.I pa6or&1 cospeMeHHoro PHP-coo6meCTsa. B TpeTbeM H3.118HHH .1106aBJieHbl 24 HOBble fJlaBbl, OCTaJibH&Ie rJJaBbl o6HOBJieHbl HJIH nepepa60TaH&1. Ha caATe HJ.llaTeJJbCTBa H8XO.l1JITCJI HCXOllHbie KO.llbl scex JJHCTHHrOB. /(11R Web-npozpaMMucmoe Y D.K 004.438 PHP 66K 32.973.26-018.1 rpynna noaroTOBKH HlllBHHH: r.1asHL1A pe.aairrop EKamepw1a KoHOyKOtJa 3aM. rnasHoro peaairropa Et12eHuii Pb16aK06 3as. peJiaKUHeA EKamepuHa Kana,11>1zuHa Pellairrop AHHa Ky11>1.1uHa KoMnblOTepHIUI eepcnca o,1bZU CepzueHKO KoppeKTOp 3uHauOa Jlwumpuesa ,UnJaAH cepHH J1HHb1 Ta'luHoii Olj>opt.1.1eHHe o6JJOlKKH MapuHbl J!a,w6uesoii noAnMcaHO B ne<i&Tb 29.04. 16. ~pMaT 70x1001110. ne-iarb o¢ceTHaA. Yen. nl!'I. n. 87,72. TMp8ll< 1500 31<3. 3aKa3 Na 4063. "6XB-nerepl5ypr", 191036, CaHKT-nerepl5ypr. foH11apHaA yn., 20. nepaaA AKSA8MM48CK8A TMnorpaq>MA "HayKa" 199034, CaHKT-nerepl5ypr, 9 nMHMA, 12128 ISBN 978-5-9775-3725-4 0 Korepos ,Ll. B., CHM.!VIHOB Ii. B .. 2016 0 O<j>op•rneuue. H3Jl3TCJI•CT110 "liXB-Oerep6ypr", 2016 OrnaeneHMe Ilpe,llHCJIOBHe ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 29 LLnR Koro HaIIHcaHa Jra KHHra .........................................................................................................2 9 ~1CXO.UHbie KO,Ubl ..............................................................................................................................3 0 T pene HJ.UaHne ............................................................................................................................... 3 l 06mM CTJ>yinypa KHnrn ................................................................................................................. 31 qacTb I .....................................................................................................................................3 1 qacTb II ....................................................................................................................................3 2 l:JacTb III ..................................................................................................................................3 2 qacTb IV ..................................................................................................................................3 2 qaCTb V ....................................................................................................................................3 3 l:Jacn VI ..................................................................................................................................3 3 qacTb VII ................................................................................................................................. 33 l:JacTb VIII ................................................................................................................................3 3 l:JacTb IX ..................................................................................................................................3 3 l:JacTb X ....................................................................................................................................3 3 .TfHCTHHrn .........................................................................................................................................3 4 npe.!lMeTHbIH )'Ka3aTeJib .................................................................................................................. 34 5.1aro.uapHocrn OT ,[(MHTJ>HR KoTeposa .......................................................................................... 34 6naro.uapHOCTH OT liropJI CHMMHOBa ............................................................................................ 35 Ilpe)lHCJIOBHe K nepeoMy Hl.llBHHJO ............................................................................... 39 11ACTb I. OCHOBbl WEB-IlPOrPA MMHPOBAHIDI .......................................... 41 r JIBBB 1. IlpHHQHDhl pa60Thl HeTepeeTa .................................................................... 43 CTpoTOKOJibI nepe.uaqn .uaHHbIX ....................................................................................................... .43 CeMeAcTBo TCP/IP ..........................................................................................................................4 5 A..upecaunJI B CeTn ...........................................................................................................................4 6 IP-a.upec ...................................................................................................................................4 6 Bepc"" npoTOKoJia IP ............................................................................................................. .47 JJ:oMeHHoe HMJI ......................................................................................................................... 48 flopT ........................................................................................................................................5 0 Yc TaHOBKa coe.unHeHHR .................................................................................................. 51 06MeH .uaHHbIMH ............................................................................................................. 52 4 OznaeneHue TepMHHonor1U1 ................................................................................................................................5 2 CepBep .....................................................................................................................................5 2 YleJI .........................................................................................................................................5 3 IlopT ........................................................................................................................................5 3 CereBoit .neMoH, cepBHC, CJl)')l(fia ............................................................................................. 53 XocT .........................................................................................................................................5 4 BupzyanhHLiii xocT .................................................................................................................. 54 IlpoBaH.uep ...............................................................................................................................5 5 XocTHHr-npoBai\.nep (xocTep) ................................................................................................. 55 XocTHHr ...................................................................................................................................5 5 BupzyanhHhlii cepBep .............................................................................................................. 55 CattT .........................................................................................................................................5 6 HTML-.noK)'MeHT .....................................................................................................................5 6 CTPaHHUa (HJIH HTML-cTPaHHUa) .......................................................................................... 56 CKpum, cueHapun ...................................................................................................................5 6 Web-nporpaMMHpOBaHHe ........................................................................................................ 56 83aHMOCBJl3h TepMHHOB .................................................................................................................. 57 World Wide Web H URL ................................................................................................................. 57 IlpOTOKOJl .................................................................................................................................5 8 l1MH xocra ................................................................................................................................5 8 IlopT ........................................................................................................................................ 58 Ilyrh K CTPaHHUe ...................................................................................................................... 59 PeJK>Me ............................................................................................................................................ 59 r Jl8B8 2. HeTepcl>eiic CGI B npOTOKOJI HTTP ............................................................. 60 qTo raKoe CGI? ...............................................................................................................................6 0 CeKpeThl URL ..................................................................................................................................6 1 3aroJIOBKH Janpoca u MeTo.n GET ................................................................................................... 62 GET. ......................................................................................................................................... 63 POST. ....................................................................................................................................... 64 Content-Type ........................................................................................................................... 64 Host. ......................................................................................................................................... 64 User-Agent ............................................................................................................................... 65 Referer ······························································································:······································65 Content-length ......................................................................................................................... 65 Cookie ...................................................................................................................................... 66 Accept ...................................................................................................................................... 66 3M)'JUIUHJI 6paYJepa 11epe3 telnet. ............................................................................................6 6 Mero.n POST ...................................................................................................................................6 7 URL-Ko.nupoBaHHe ..........................................................................................................................6 8 qTo TaKoe $opMhI H .[{JUI 11ero OHH H)')KHhI? .................................................................................... 68 Ilepe.na11a napaMeTPOB "BPY'lffY10" ..........................................................................................6 9 HcnoJihlOBaHHe $opMhl ...........................................................................................................6 9 A6coJIK>THhlii H OTHOCHTeJlhHhdt nyru K cueHapmo ................................................................ 70 MeTo.n POST H $opMhl ............................................................................................................ 71 PeJK>Me ............................................................................................................................................7 1 OenaaneHue 5 rJJaea 3. CGI HlHyYpH •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 72 .H3b!K C .............................................................................................................................................7 2 Pa6ora c HCXOD.HbIMH reKcraMH Ha C ...................................................................................... 73 KoMnHJU11UU1 nporpaMM .......................................................................................................... 73 Ilepe.11.aqa .11.oK)'MeHTa nonbJoaareJDO ..............................................................................................7 4 3aronoBKH OTBeTa ....................................................................................................................7 4 3aronoBOK KO.II.a OTBeTa ..................................................................................................7 4 "IloMeJibIBaHHe" JaronoBKa oraera ............................................................................... 75 Content-type ................................................................................................................... 75 Pragma ........................................................................................................................... 75 Location .......................................................................................................................... 75 Set-cookie ....................................................................................................................... 76 Date ................................................................................................................................ 76 Server .............................................................................................................................. 76 IlpHMepb1 CGI-cueHap11ea Ha C .............................................................................................. 76 Bb!B0.11. 6ttHapHoro <f>al\Jia ............................................................................................... 77 Ilepe.11.aqa HH<f>opMaUHH CG 1-cueHapHlO ......................................................................................... 78 IlepeMeHHh1e oKp)')KeHIUI ........................................................................................................7 8 nepe.11.aqa napaMerpOB MeT0.11.0M GET. .................................................................................... 80 Ilepe.11.a'la napaMerpoB Mero.11.oM POST. .................................................................................. 81 Pacum<f>poBKa URL-K0.11.HpOBaHHbIX .11.aHHbIX .......................................................................... 83 <l>OpMbl. ............................................................................................................................................8 6 Ter <input> - paJnH'IHhie noJUI aso.11.a ................................................................................. 87 TeKcroaoe none (text) ..................................................................................................... 87 Ilone BB0.11.a napOJUI (password) ...................................................................................... 87 CKpbnoe reKcroaoe none (hidden) ................................................................................. 88 HeJaBHCHMbIB nepeKJIJOqarenb (checkbox) .................................................................... 89 3aBHCHMbIB nepeKJUO'!arenb (radio) ............................................................................... 89 KHonKa ornpaBKH <f>opMbI (submit) ................................................................................ 90 KHonKa c6poca <f>opMbI (reset) ....................................................................................... 90 PHC)'HOK )lJUI ornpaBKH <f>opMbI (image) ......................................................................... 90 Ter <textarea> - MHorocrpoqHoe none BBo.11.a reKcra ......................................................... 90 Ter <select> - CnHCOK ..........................................................................................................9 1 CnttCKH MHmKeCTBeHHoro Bb16opa (multiple) ................................................................. 92 :-i TML-cymHocrH ...........................................................................................................................•9 2 33.rpy"JKa <f>aBJIOB .............................................................................................................................9 3 <l>opMaT .11.aHHhlX ......................................................................................................................9 4 Ter JarpyJKH <f>aBJla (file) ........................................................................................................ 95 -'. :-o raKoe cookies H "c qeM HX e.11JIT"? ............................................................................................9 6 Y craHOBKa cookie .................................................................................................................... 98 IlonyqeHHe cookies H3 6payJepa ........................................................................................... 100 rlpHMep nporpaMMbl )lJUI pa6orb1 c cookies .......................................................................... 100 !_ :-1-.~HTH<f>HKaUIUI .......................................................................................................................... 101 = -:310\le ..............................................................•...............•...................................................•....... 103 r .1aea 4. BCTpoeHHLiii cepeep PHP ............................................................................ 104 · -:-3.HOBKa PHP B Windows .......................................................................................................... 104 rlepeMeHHM OKp}')KeHIUI PATH ............................................................................................ 105 6 OanaeneHue Y cTaHOBKa PHP B Mac OS X ........................................................................................................ 107 YcraHOBKa PHP B Linux (Ubuntu) ................................................................................................ 109 3anycK BC'rpoeHHoro cepsepa ........................................................................................................ 109 cI>attrr hosts ..................................................................................................................................... 110 BeruaHue BOBHe ............................................................................................................................. 110 KoH4nrrypupoeaHHe PHP .............................................................................................................. 111 Pe3toMe .......................................................................................................................................... 111 ~CTL II. OCHOBhl .B3L.IKA PHP ......................................................................... 113 r Jiaea 5. XapaK1'epRCTHK8 RlhlK8 PHP ...................................................................... 115 11CTOPHJI PHP ................................................................................................................................ 115 qyo HOBoro B PHP 7? .................................................................................................................... 119 TipHMep PHP-nporpaMMbl ............................................................................................................. 120 l1cnoJI1>3oBaHHe PHP B Web .......................................................................................................... 124 Pe3toMe .......................................................................................................................................... 126 rJl&BB 6. IlepeMeBBLle, KOBCTBBTbl, TBDbl Jl,BBBbIX .................................................. 127 TiepeMeHHble .................................................................................................................................. 127 KonHpoBaHHe nepeMeHHJ>IX ................................................................................................... 128 THn1>1 nepeMeHHblx .................... :. .......................................................................................... 128 integer (uenoe qucno) ................................................................................................... 128 double (semecmeHHoe 'IHCJio) ..................................................................................... 129 string (cypoKa TeKcra) .................................................................................................. 130 array (accounaTHBHblA MaccHB) ................................................................................... 130 object ( ccblJIKa Ha o6'beKT) ............................................................................................ l 31 resource (pecypc) ......................................................................................................... 131 boolean (JIOJ'HqeCKHA THn) ........................................................................................... 131 null ( cneunaJil>Hoe 3Ha'leHHe) ....................................................................................... 132 callable (cp}'HKUHJI o6paTHoro BhI30Ba) ........................................................................ 132 ,[(eACTBIUI c nepeMCHHblMH .................................................................................................... 132 TipHCBOeHHe 3HaqeHHJI .................................................................................................. 132 TiposepKa CYilleCTBOBaHHJI ........................................................................................... 132 Y HH'ITO)f(CHHe ............................................................................................................... 133 OnpeneneHHe THna nepeMeHHOA ........................................................................................... 133 y CTaHOBKa THna nepeMeHHoA ................................................................................................ 134 OnepaTop npucsaHBaHHJI .............................................................................................................. 136 CcblJloqHJ>1e nepeMeHHble .............................................................................................................. 136 )l(ecTKHe CChIJIKH ................................................................................................................... 136 "C6op M)'COpa" ............................................................................................................. 137 CHMBOJIH'leCKHe ccblJIKH ....................................................................................................... 138 CcbIJIKH Ha o6'beKTbl .............................................................................................................. 138 HeKoTopble ycnoBHble 060JHa11eHHJ1 ............................................................................................. 139 KoHCTaHTbl .................................................................................................................................... 141 TipenonpeneneHHble KOHCTaHTbl ............................................................................................ 142 OnpeneneHHe KoHcTaHT ......................................................................................................... 143 TipoBepKa CYilleCTBOBaHHJI KOHCTaHTbl .................................................................................. 143 KoHCTaHTbl c JlHH!lMH'leCKHMH HMCH!lMH .............................................................................. 143 OTnano'IHble cp}'HKUUH ................................................................................................................. 144 Pe3toMe .......................................................................................................................................... 146 OanaeneHue 7 rJJaea 7. BblpB*eHHR H onepaQBB PllP ..................................................................... 147 BbipIDKeHHR ................................................................................................................................... 147 JlorH11eCKHe BblpIDKeHHJl ........................................................................................................ 148 CTJlOKOBble BbipIDKeHHR ......................................................................................................... 148 C'TpoKa B anoc'Tpo<f>ax ................................................................................................... 149 C'TpoKa B KaBbl'IKax ...................................................................................................... 149 Here-.uoK)'MeHT ............................................................................................................. 150 Now-.uoK)'MeHT ............................................................................................................. 151 BbIJOB BHewHeA nporpaMMbl ....................................................................................... 151 Onepauuu ...................................................................................................................................... 151 Apu<f>MeTH'JecKHe onepauuu ................................................................................................. 151 CTJlOKOBbie onepauuu ............................................................................................................ 152 Onepauuu npucsausaHHR ...................................................................................................... 152 Onepauuu HHKpeMeHTa u .ueKpeMeHTa .................................................................................. 153 liHTOBble onepauuu ................................................................................................................ 153 Onepauuu cpasHeHHR ............................................................................................................ 15 8 Oco6eHHOCTH onepaTopos == u != ............................................................................. 159 CpasHeHue CJIO)l(Hb!X nepeMeHHbIX .............................................................................. 160 OnepllUIUI 3KBHBaJieHTHocrn ........................................................................................ 160 OnepaTop < => ............................................................................................................. 162 JlorH'leCKHe onepauuu .......................................................................................................... 162 OnepaIUUI OTKJTIOqeHHJI npe.uynpe)l(,lleHHA ............................................................................ 163 Oco6eHHoCTH onepaTopa @ ......................................................................................... 164 ITpoTHBonoKa:JaHIDI K ucnoJibJOBaHmo ........................................................................ 165 Yc JIOBHbie onepauuu ............................................................................................................. 165 PeJK>Me .......................................................................................................................................... 167 rJiaea 8. PafioTa c JlBHBhlMH topMbl .......................................................................... 168 ITepe.uaqa .uaHHblX KOMaH.llHOA CTJ'OKH ......................................................................................... 168 <l>OpMbI ........................................................................................................................................... 170 TpaHCJUIUHH noneA <f>opMbI .................................................................................................... 171 TpaHCJUIIUUI nepeMeHHbIX OKp}')keHHR .................................................................................. 173 TpaHCJUIIUUI cookies .............................................................................................................. 173 06pa60TKa CTIHCKOB ...................................................................................................................... 17 4 06pa60TKa MaCCHBOB .................................................................................................................... 175 LJ;uarHOCTHKa ................................................................................................................................. 176 f10pH,llOK 'TpaHCJUIUHH nepeMeHHbIX .............................................................................................. 177 Oco6eHHoCTH <f>JIIDKKOB checkbox ................................................................................................. 177 PeJK>Me .......................................................................................................................................... 179 r Jl8BB 9. KoecTpyJCQHH RlblKB ••..••••••••••••••••••••••••••••••••.•.••••••••••.•.•.•...•••••...•.••••....•..••••• 180 HHC'Tp)'KIUUI if-else ........................................................................................................................ 180 HcnoJibJOBaHHe aJibTepHaTHBHoro cHHTaKcuca ............................................................................ 181 UHKJI c npe.uycnosueM while ......................................................................................................... 182 UHKJI c nocrycnosueM do-while .................................................................................................... 183 YHHBepcaJibHblA UHKJifor ............................................................................................................. 183 liHCTJl)'KUHH break H continue ....................................................................................................... 184 He'Tpa.umrnoHHoe ucnoJihJOBaHue do-while u break ............................................................. 185 8 OenaeneHue IJ;HKJiforeach ................................................................................................................................. 187 KoHCTpYJCIUUI switch-case ............................................................................................................. 188 11HCTpYKUHH goto .......................................................................................................................... 188 11HCTpYJCll,HH require H include ...................................................................................................... 189 11HCTpYJCll,HH 0.IUIOKp3THOro BKJilOqeHHJl ....................................................................................... 190 CyYb npo6neMbI ..................................................................................................................... 191 PeweHHe: require_ once ......................................................................................................... 192 ~yrne HHCTp)'KUHH ...................................................................................................................... 193 Pe3IDMe .......................................................................................................................................... 193 r JI&Ba 10. Acco ..e aTHBHble M8CCHBbl ......................................................................... 194 C03.1laHHe MaccHBa "Ha nezy". ABToMaccHBbI ............................................................................... 195 KoHcTpyKUIUI /istQ ......................................................................................................................... 196 CrrucKH H acco!lHaTHBHble MaccHBbI: IIyYaHHUa? .......................................................................... 197 KoHCTpYJCIUUI arrayO H MHOroMepHble MaCCHBbl .......................................................................... 197 MaccHBbI-KoHcTaHTbI .................................................................................................................... 199 Onepall,HH HM MaccHBaMH ............................................................................................................ 199 .LJ:ocyYII no KJI10qy .................................................................................................................. 199 <l>yHKIUUI countO .................................................................................................................... 199 CnHJ1HHe MaccHBos ................................................................................................................2 00 CJIHJIHHe crrHCKOB .........................................................................................................2 00 06HoBJieHHe 3JieMeHTOB ............................................................................................... 200 KocseHHh!A rrepe6op JJieMeHTos MaccHBa ............................................................................. 201 ilepe6op cIIHcKa ...........................................................................................................2 01 ilepe6op 3CCOilH3THBHOfO M3CCHB3 ............................................................................. 202 He.uocrnTKH KocseHHoro nepe6opa .............................................................................. 203 BJioJl(eHHh!e IlHKJlbl .............................................................................................. 203 HynesoA KJIK)q .....................................................................................................2 03 ilpllMOA nepe6op MaCCHBa .....................................................................................................2 04 CTapb1A cnoco6 nepe6opa ............................................................................................ 204 ITepe6op IlHKJIOMforeach ............................................................................................. 204 CcbIJIOqHblA CHHTaKcHcforeach ................................................................................... 204 CrrHCKH H CTpOKH ...........................................................................................................................2 05 CepHaJIH3aIUUI ...............................................................................................................................2 06 YnaKosKa ...............................................................................................................................2 07 PacnaKOBKa ............................................................................................................................2 07 Pe310Me ..........................................................................................................................................2 08 rJiaBa 11. cJ>yeK. .H H H 06JI&CTH BH.Z.BMOCTH ............................................................... 209 ITpHMep cpyHKUHH ..........................................................................................................................2 09 06IUHA CHHT3KCHC onpeneJieHJUI «PYffKll,HH ................................................................................... 211 11HCTpYJCIUUI return ................................................................................................................ 211 06bl!BJieHHe H Bbl30B «liYHKilffH ............................................................................................. 213 napaMeTpbl no YMOJiqaHHI0 ...................................................................................................2 13 Tiepe.uaqa napaMeTpOB no ccblJIKe ......................................................................................... 214 ilepeMeHHOe 'l:HCJIO napaMeTpOB ........................................................................................... 215 TH1Ib1 apryMeHTos u so3spamaeMoro 3HaqeHHJI ................................................................... 217 JloKaJibHble nepeMeHHbie ...............................................................................................................2 18 02naeneHue 9 fJI06aJibHl>Ie nepeMeHHh!e .............................................................................................................2 19 MaccHB $GLOBALS .............................................................................................................. 220 CaMoBJIO:llCeHHocTb .......................................................................................................2 21 KaK pa6oraeT HHCTPYJCUIUI global ......................................................................................... 221 CTaTH'IeCKHe nepeMeHHb1e ............................................................................................................2 22 PeK)'PCIUI .......................................................................................................................................2 23 <l>aKTOpHaJI .............................................................................................................................2 23 flpHMep QlyHKUHH: dumperO ................................................................................................. 223 BJio:llCeHHb1e QlyHKUHll ...................................................................................................................2 25 YcJIOBHo onpe.n:eJU1eMbie QlyHKUHH ................................................................................................ 226 3M)'JUIIJ.lUI QlyHKUHH virtualO ................................................................................................ 227 flepe.n:aqa Q>yHKrurl\ no cchIJIKe ..................................................................................................... 228 Hcnorrb30BaHHe call_ user JuncO .......................................................................................... 228 HcnoRb30BaHHe call_ user June_a rrayO ............................................................................... 229 AHOHHMHl>Ie QlyHKUHH ...........................................................................................................2 29 3aMbIKaHHH ............................................................................................................................2 30 Bo3spaT QlyHKUHett CCbIJIKH ...........................................................................................................2 32 TexHorronui: OTJIO:llCeHHoro KOrIHpOBaHIUI ..................................................................................... 233 HecKOJibKO coseros no Hcnorrb30BaHHIO Q>)'HKUHl\ ....................................................................... 235 Pe3IOMe ..........................................................................................................................................2 36 r JIBB8 12. reeep&TOpLI ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 237 0TJIO:llCeHHl>Ie BbltJHCJieHIUI ............................................................................................................2 37 MaHHnyJUIIJ.lUI MaccHBaMH .............................................................................................................2 40 Ll:errerttpoBaHHe reHepaTopoB ........................................................................................................2 42 3KOHOMH.ll pecypcoB ......................................................................................................................2 43 HcnoJib30BaHHe KJIIOtJett ................................................................................................................2 44 Hcnorrh30BaHHe CCbIJIKH ....._ .. .........................................................................................................2 44 Ce.11Jb reHepaTopoB c o6'beKTaMH .................................................................................................. 245 Pe310Me ..........................................................................................................................................2 47 'IACTL ill. CTAJmAPTllLIE cr-YllKIJ;HH PHP ................................................... 249 r JIBB8 13. CTpOKOBble fYRKQBH ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 251 Ko.n:ttpoBKH ....................................................................................................................................2 51 UTF-8 H PHP .................................................................................................................................2 55 KoHKaTeHaUH.11 crpoK .....................................................................................................................2 58 0 cpaBHeHHH crpoK .......................................................................................................................2 58 Oco6eHHOCTH strposO ............................................................................................................ 259 OrpeJaHHe npo6erros .....................................................................................................................2 60 6aJOBbie QlyHKUHH .........................................................................................................................2 61 Pa6oTa c no.n:crpoKaMH ..................................................................................................................2 62 3aMeHa ...................................................................................................................................2 62 ITo.n:cTaHOBKa .........................................................................................................................2 63 npeo6paJOBaHHH CHMBOJIOB ..........................................................................................................2 67 113MeHeHHe perttcrpa .....................................................................................................................2 69 YcTaHOBKa JIOKaJIH (rroKaJibHhIX HacrpoeK) ................................................................................... 270 <l>yHKUHH Q>opMaTHl>IX npeo6pa.30BaHHtt ....................................................................................... 271 ct>opMaTHpOBaHHe TeKCTa ..............................................................................................................2 73

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.