diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-04-12 12:53:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-04-12 12:53:27 +0900 |
| commit | a0374d44adeeabaa4f109649810871a324aed3f5 (patch) | |
| tree | 4de6d8e6e31e797d514463ecd1544f072138f291 | |
| parent | 989992278475aefa0f4679d89896cba462f5de9a (diff) | |
| download | phpstudy-151-slides-a0374d44adeeabaa4f109649810871a324aed3f5.tar.gz phpstudy-151-slides-a0374d44adeeabaa4f109649810871a324aed3f5.tar.zst phpstudy-151-slides-a0374d44adeeabaa4f109649810871a324aed3f5.zip | |
| -rw-r--r-- | slide.pdf | bin | 205906 -> 202360 bytes | |||
| -rw-r--r-- | slide.saty | 60 |
2 files changed, 4 insertions, 56 deletions
| Binary files differ @@ -64,19 +64,7 @@ assert($xs[3] === 42); `#); > - +frame{PHP クイズ}< - +code-block-php(`<?php - -$xs = [ - "a" => 1, - "b" => 2, - "c" => 3, -]; -$xs[] = 42; -`); - > - - +frame{PHP クイズ}< + +frame{末尾はどこ?}< +code-block-php(`<?php $xs = [ @@ -85,23 +73,10 @@ $xs = [ "c" => 3, ]; $xs[] = 42; -assert($xs[0] === 42); -`); - > - - +frame{PHP クイズ}< - +code-block-php(`<?php - -$xs = [ - 0 => 1, - 1 => 2, - 3 => 4, -]; -$xs[] = 42; `); > - +frame{PHP クイズ}< + +frame{末尾はどこ?}< +code-block-php(`<?php $xs = [ @@ -110,23 +85,10 @@ $xs = [ 3 => 4, ]; $xs[] = 42; -assert($xs[4] === 42); -`); - > - - +frame{PHP クイズ}< - +code-block-php(`<?php - -$xs = [ - -10 => 1, - -7 => 2, - -5 => 4, -]; -$xs[] = 42; `); > - +frame{PHP クイズ}< + +frame{末尾はどこ?}< +code-block-php(`<?php $xs = [ @@ -135,22 +97,10 @@ $xs = [ -5 => 4, ]; $xs[] = 42; -assert($xs[-4] === 42); -`); - > - - +frame{PHP クイズ}< - +code-block-php(`<?php - -$xs = []; -$xs[10] = 1; -$xs[] = 42; -$xs[5] = 2; -$xs[] = 57; `); > - +frame{PHP クイズ}< + +frame{末尾はどこ?}< +code-block-php(`<?php $xs = []; @@ -158,8 +108,6 @@ $xs[10] = 1; $xs[] = 42; $xs[5] = 2; $xs[] = 57; -assert($xs[11] === 42); -assert($xs[12] === 57); `); > |
