15分でわかる!WBMPビューアー実装から始めるPHPバイナリ超初心者入門 / php_wbmp

15分でわかる!WBMPビューアー実装から始めるPHPバイナリ超初心者入門 / php_wbmp

presented on PHPerKaigi 2018 2018/03/10
https://phperkaigi.jp/2018/

6f36ff3943be908c5d2259f4aef09ea6?s=128

Jun Watanabe

March 10, 2018
Tweet

Transcript

  1. 1.

    /

  2. 2.
  3. 8.

    . ! ( )) (. ( # / 0 2

    3 3 # 8 )() 8 H : 3 / 0 2 3 3 2/ 2 .3
  4. 12.
  5. 17.

    ( A: 9C ( . 11 ( : 9CB B

    AD / N PMK O / I )) R / 11 ) ( :W T 9CC B : : : A : : :A BB : C: /A C
  6. 18.

    A . // ) . A . B ( I

    M H N 1 AA 2 C : 2 C : 2A A
  7. 19.

    A B: /1)22) . ) 1: C 1 C B

    -0 M IN 1 8 0 2 9 AC( A 5B C B : A
  8. 22.
  9. 23.

    A . // ) . A . B ( I

    M H N        AA 2 C : 2 C : 2A A
  10. 25.
  11. 29.

    A :C /0 11 -. 0 :C 08 8A 8

    _bh  A ) C C ) C8 C ) C8C C8) C W  - OW dk cli  j T I RI W = 8 a i N :CC ( E = 8 A E = 3 ge
  12. 30.

    /C = /! 4 55 12/ BB 4 = F

    4 F e lo  6 g 6 )g 6 ()g C: T h R O Nj ! . 00 (( _d bp F 8 I A 8 C = I A c^a ki!
  13. 31.

    ) = 56 ) /( ( ) ( / 56

    / . . N lhjp  6 = CCC =6= :2 A2 2 2 5A25 = 5 =6= . .   5 lhjp S d 5 Ov R T . .    T a e w T e yT a n og r IlhjpiHm R st u e P
  14. 34.

    ); = ) , (..($ )$ ( = $ NO

    ;1 R  ' ; $A =C '  T ' ;1 1; I
  15. 36.

    2 A @I "2 61 1 42 1 6A @I

    6= = = T * R _  $$ $ T * R _ $ 0 C A $ 0 =I I A ()()()()" $ ;IA A * AI" A N @= /  " A . AI / =8; = I" @= % ),% * . =I A I " ( % AI . O ) A = / AI
  16. 39.

    + B 78 + . )00) + ):: 78 A

    1 : 2 W ( ) I RNO ( (T R C
  17. 40.

    : A 7 .) ) )88 .7 = . =

    7 0     C I ( C C I ( C 17 I :2 17
  18. 41.

    / @ !/ 2 . . 01/ .AA @ ;

    b ad])hi c_ fl n  I@C om @C p n g I C;A I C =A @C =IC @ C 7I@C ! C;A I C , O @A != A ,, ! @C , = ! C;A @ , @C) @ ! @C I C , I ! @ $ ($ * e * @ @= ! @ ,, T R [ I C ! I C N N N
  19. 42.

    . C ><= !. 12 $ 0.$ 2><= 2 $

    O N R C I> = + ) I=> !; ++ ! 7>A + ;< ! = A 7 + 7>A 7> ! 7>A ) ; ! > + ) > + () > 1 :1 4 ? ( ) C I> = ) >; ! C I> = + I> = = A ) C I> = + ) 7 ) $ ? ' 8 004 2 ;40: 1
  20. 43.

    :T ] OMN $:% > 8AA8);=:) 8 OMN W W

    ) v ! N O [ ) N [O N21 N OMN 21 a aa aaa a aaa a aaaaa aaa aa a aa N W2 MO N )ITR ,.0+ N ([ R 47 N [ cI Oc ! $ N W O R $% I O % 7 2 4 6 ! O R ) OI 1¥1)[ R !N T $! O R ' % B <? ] ! ] M O $!N % !N O I$ O - O $ M I$!N %%% , TI ![O N M O $!N % !N OMN M O $!N % INT [O N2 ![O N_ N OMN 2 !N OMN _ ! _ ot !T [O N + [NO $ W $! O M I$!N %%% ! ] O - O $! O % T $!O + !O 4 0 !O % INT $! ] C!O % 7 2 a !T [O N O $!T [O N 6 ![O N% INT ! !T [O N + P _ _ _ I OT O - O $! O % !N ¥ O -N ¥$! O % ! O W IT $!N ¥' ,/' -% W O $ "+1W '! O % _ I OT M O $!N % ! [NO $ W $! O M I$!N %%% ! O O - O $! O % ! ) W W $! O ' ,' 0% pmsl kgrun O $! O C+ +% df ] ebih O I$! % _ _ _
  21. 45.

    (( .. ) 2. 4 ! 0 . 4 !

    ) ( 8 / . 4 ! 5
  22. 47.

    (( .. ) (( C  ORATTA( )A o ghI

    R s C T 8 e 100i p l rTd I O N
  23. 52.

    2 . ! ) ( . 5 5 A ghe

    I C O A C R d T O N A !