Lines Matching refs:r
44 $r = $s->fetch();
47 echo 'Read '.stream_get_contents($r['data'], 1, 1)."$\n"; // b
48 echo 'Read '.stream_get_contents($r['data'], 2, 1)."$\n"; // cd
49 echo 'Read '.stream_get_contents($r['data'], 2, 0)."$\n"; // ab
50 echo 'Read '.stream_get_contents($r['data'], 26, 0)."$\n"; // abcdefghijklmnopqrstuvwxyz
51 echo 'Read '.stream_get_contents($r['data'], 27, 0)."$\n"; // abcdefghijklmnopqrstuvwxyz
52 echo 'Read '.stream_get_contents($r['data'], 27, 1)."$\n"; // bcdefghijklmnopqrstuvwxyz
53 echo 'Read '.stream_get_contents($r['data'], 1, 20)."$\n"; // u
54 echo 'Read '.stream_get_contents($r['data'], 1, 25)."$\n"; // z
55 echo 'Read '.stream_get_contents($r['data'], 1, 26)."$\n"; // <blank>
56 echo 'Read '.stream_get_contents($r['data'], 1, 0)."$\n"; // a
62 $r = $s->fetch();
64 echo 'Read '.stream_get_contents($r['data'], 5, 0)."\n"; // abcjj
65 echo 'Read '.stream_get_contents($r['data'], 5, 2)."\n"; // cjjjj
66 echo 'Read '.stream_get_contents($r['data'], 6, 1)."\n"; // bcjjjj
67 echo 'Read '.strlen(stream_get_contents($r['data'], -1,0))."\n"; // 30006
68 echo 'Read '.strlen(stream_get_contents($r['data'], 0,0))."\n"; // 0
69 echo 'Read '.strlen(stream_get_contents($r['data'], 0,1))."\n"; // 0
70 echo 'Read '.strlen(stream_get_contents($r['data'], 10,100))."\n"; // 10
71 echo 'Read '.stream_get_contents($r['data'], 6, 30000)."\n"; // jjjxyz
72 echo 'Read '.stream_get_contents($r['data'], 7, 30000)."\n"; // jjjxyz
73 echo 'Read '.strlen(stream_get_contents($r['data']))."\n"; // 0
74 echo 'Read '.strlen(stream_get_contents($r['data'], 0))."\n"; // 0
75 echo 'Read '.strlen(stream_get_contents($r['data'], -1))."\n"; // 0
76 echo 'Read '.stream_get_contents($r['data'], -1, 30000)."\n"; // jjjxyz