Upgrade to Pro — share decks privately, control downloads, hide ads and more …

90分間濃縮 PHPエラーの教室

90分間濃縮 PHPエラーの教室

エラーの種類と対処法を学ぼう。

Yusuke Ando

October 17, 2012
Tweet

More Decks by Yusuke Ando

Other Decks in Programming

Transcript

  1. 4IJNPLJUBQIQYusuke Ando (@yando) Τϥʔͷछྨ ॏେ౓ʹԠͯ͡Ϩϕϧ͕ଘࡏ छྨ ಺༰ &@&3303'BUBM ࣮ߦෆՄೳɿॲཧ͸ఀࢭɺനը໘ &@8"3/*/(8BSOJOH

    ܯࠂɿ࣮ߦ࣌ʹ໰୊ൃੜɺॲཧ͸ܧଓ &@1"34&1BSTF ղੳෆೳɿॲཧ͸࢝·Βͳ͍ɺനը໘ &@/05*$&/PUJDF ௨஌ɿ໰୊ʹͳΓ͏Δঢ়گɺॲཧ͸ܧଓ &@453*$5 &@%&13&$"5&% όʔδϣϯؒͷޓ׵ੑʹؔ͢ΔΤϥʔ
  2. 4IJNPLJUBQIQYusuke Ando (@yando) &@&3303'"5"- ίʔυ͕࣮ߦ͞Εͨ࣌ͷঢ়ଶ͕໰୊ PCK JG PCKOVMM \ PCKHFU0CKFDU

     ^ PCKNZ'VOD  wߏจ͸߹͍͕ͬͯͨɺ࣮ߦ͠Α͏ͱͨ͠ॲཧ͕ࣦഊ wؔ਺໊ؒҧ͍ɺΦϒδΣΫτͷऔΓҧ͍ w֎෦ϞδϡʔϧͷΤϥʔ
  3. 4IJNPLJUBQIQYusuke Ando (@yando) &@/05*$& ಈ͍͍ͯͨͱͯ͠΋ةݥੑ͋Γ JG EBUBOVMM \ FDIPb)FMMP` FDIP)0(&

    ^ wະఆٛͷม਺ɺఆ਺Λ࢖ͬͨ৔߹ wؔ਺΁ͷҾ਺͕ਖ਼͘͠ͳ͍ wߟྀͷ଍Γͳ͍ίʔυͰൃੜ͠΍͍͢
  4. 4IJNPLJUBQIQYusuke Ando (@yando) &@453*$5&@%&13&$"5&% ݹ͍Ҩ࢈Ͱൃੜ͠΍͘͢ɺෆՄආͳ৔߹΋ DMBTT4BNQMF \ GVODUJPOGPP \ FDIP)J

    ^ ^ 4BNQMFGPP  w1)1ͷจ๏Λ1)1Ͱར༻ͨ͠৔߹ wকདྷഇࢭ͞ΕΔ༧ఆͷػೳΛ࢖ͬͨ৔߹
  5. 4IJNPLJUBQIQYusuke Ando (@yando) ਖ਼͍͠ઃఆ FSSPS@SFQPSUJOH&@"-- EJTQMBZ@FSSPST0O EJTQMBZ@TUBSUVQ@FSSPST0O MPH@FSSPST0O FSSPS@MPHQBUIUPFSSPSMPH FSSPS@SFQPSUJOH&@"--d&@%&13&$"5&%d&@453*$5

    EJTQMBZ@FSSPST0⒎ EJTQMBZ@TUBSUVQ@FSSPST0⒎ MPH@FSSPST0O FSSPS@MPHQBUIUPFSSPSMPH ޓ׵ੑΤϥʔ͸ແࢹ શͯΛݕ஌ɺදࣔ දࣔ͸͠ͳ͍
  6. 4IJNPLJUBQIQYusuke Ando (@yando) ͜Ε΋μϝ  QIQ !USJHHFS@FSSPS )J  FDIP8PSME

    ڧ੍తʹແࢹ ͜ΕΛଟ༻͢Δͱো֐ൃੜ࣌ʹख͕͔Γ̌
  7. 4IJNPLJUBQIQYusuke Ando (@yando) ΤϥʔϋϯυϦϯάͷྫ ඪ४ͷॲཧҎ֎ͷରԠ͕Մೳ GVODUJPOIBOEMFS OP TUS \ FDIP&SSPSTUSaO

    SFUVSOUSVF ^ TFU@FSSPS@IBOEMFS IBOEMFS  FDIPB USJHHFS@FSSPS .Z&SSPS  wΤϥʔͷ৘ใΛҾ਺Ͱड͚औΔ wSFUVSOͰݩͷ৔ॴ΁෮ؼ͢Δ
  8. 4IJNPLJUBQIQYusuke Ando (@yando) ྫ֎ॲཧͷྫ ྫ֎ΦϒδΣΫτΛUISPX͢ΔͱDBUDIʹೖΔ GVODUJPOIPHF \ JG USVF \

    UISPXOFX&YDFQUJPO &SSPS  ^ ^ USZ\ IPHF  ^DBUDI &YDFQUJPOF \ FDIPFHFU.FTTBHF  FYJU ^
  9. 4IJNPLJUBQIQYusuke Ando (@yando) ྫ֎ॲཧͷࣦഊྫ ྫ֎ΦϒδΣΫτΛSFUVSO GVODUJPOIPHF \ JG USVF \

    SFUVSOOFX&YDFQUJPO &SSPS  ^ ^ USZ\ IPHF  ^DBUDI &YDFQUJPOF \ FDIPFHFU.FTTBHF  FYJU ^
  10. 4IJNPLJUBQIQYusuke Ando (@yando) ྫ֎ॲཧͷࣦഊྫ DBUDI͢Δྫ֎ͷܕ͕߹͍ͬͯͳ͍ GVODUJPOIPHF \ JG USVF \

    UISPXOFX&YDFQUJPO &SSPS  ^ ^ USZ\ IPHF  ^DBUDI &YDFQUPOF \ FDIPFHFU.FTTBHF  FYJU ^
  11. 4IJNPLJUBQIQYusuke Ando (@yando) ྫ֎ॲཧͷࣦഊྫ DBUDIͯ͠΋ͳʹ΋͍ͯ͠ͳ͍ GVODUJPOIPHF \ JG USVF \

    UISPXOFX&YDFQUJPO &SSPS  ^ ^ USZ\ IPHF  ^DBUDI &YDFQUJPOF \ ^
  12. 4IJNPLJUBQIQYusuke Ando (@yando) ·ͱΊ OPNPSFFSSPS@SFQPSUJOH   OPNPSF!IPHF  wʮը໘͕ന͘ͳΓ·ͨ͠ʯ͸ແҙຯ

    wΤϥʔͷ಺༰Λ֬ೝ͠ͳ͚Ε͹ରԠ͸ෆՄೳ w/PUJDF͕ଟ͍͔ΒΤϥʔΛফ͢͸ຊ຤స౗ w௨ৗՔಇத͸Τϥʔ͕ൃੜ͠ͳ͍ͷ͕ཧ૝ wϥΠϒϥϦ΍ϓϥάΠϯ͕/PUJDF΍8BSOJOHΛਨΕྲྀ͢ͷ ͸ඇৗʹ֐͕େ͖͘ɺഇΕΔݪҼ