/PHP-5.5/ext/phar/tests/ |
H A D | 022.phpt | 24 echo 'fseek($fp, 1)';var_dump(fseek($fp, 1)); 26 echo 'fseek($fp, 1, SEEK_CUR)';var_dump(fseek($fp, 1, SEEK_CUR)); 28 echo 'fseek($fp, -1, SEEK_CUR)';var_dump(fseek($fp, -1, SEEK_CUR)); 42 echo 'fseek($fp, 6)';var_dump(fseek($fp, 6)); 44 echo 'fseek($fp, 8)';var_dump(fseek($fp, 8)); 46 echo 'fseek($fp, -1)';var_dump(fseek($fp, -1)); 49 fseek($fp, 4); 53 fseek($fp, 4); 57 fseek($fp, 4); 61 fseek($fp, 4); [all …]
|
H A D | open_for_write_existing.phpt | 20 $fp = fopen($pname . '/b/c.php', 'wb'); 21 fwrite($fp, b'extra'); 22 fclose($fp);
|
H A D | open_for_write_existing_b.phpt | 29 $fp = fopen($pname . '/b/c.php', 'wb'); 30 fwrite($fp, 'extra'); 31 fclose($fp);
|
H A D | open_for_write_existing_b_5_2.phpt | 27 $fp = fopen($pname . '/b/c.php', 'wb'); 28 fwrite($fp, 'extra'); 29 fclose($fp);
|
H A D | open_for_write_existing_c.phpt | 23 $fp = fopen($pname . '/b/c.php', 'wb'); 24 fwrite($fp, 'extra'); 25 fclose($fp);
|
H A D | open_for_write_existing_c_5_2.phpt | 21 $fp = fopen($pname . '/b/c.php', 'wb'); 22 fwrite($fp, 'extra'); 23 fclose($fp);
|
H A D | open_for_write_newfile.phpt | 20 $fp = fopen($pname . '/b/new.php', 'wb'); 21 fwrite($fp, b'extra'); 22 fclose($fp);
|
H A D | open_for_write_newfile_b.phpt | 29 $fp = fopen($pname . '/b/new.php', 'wb'); 30 fwrite($fp, 'extra'); 31 fclose($fp);
|
H A D | open_for_write_newfile_b_5_2.phpt | 27 $fp = fopen($pname . '/b/new.php', 'wb'); 28 fwrite($fp, 'extra'); 29 fclose($fp);
|
H A D | open_for_write_newfile_c.phpt | 23 $fp = fopen($pname . '/b/new.php', 'wb'); 24 fwrite($fp, 'extra'); 25 fclose($fp);
|
H A D | open_for_write_newfile_c_5_2.phpt | 21 $fp = fopen($pname . '/b/new.php', 'wb'); 22 fwrite($fp, 'extra'); 23 fclose($fp);
|
H A D | phar_createdefaultstub.phpt | 151 $fp = fopen(__FILE__, 'rb'); 152 fseek($fp, self::LEN); 282 $data .= @fread($fp, $c); 286 $data .= @fread($fp, 8192); 445 $fp = fopen(__FILE__, 'rb'); 446 fseek($fp, self::LEN); 576 $data .= @fread($fp, $c); 580 $data .= @fread($fp, 8192); 748 fseek($fp, self::LEN); 878 $data .= @fread($fp, $c); [all …]
|
H A D | phar_ctx_001.phpt | 52 $fp = fopen($pname . '/b', 'r+', 0, $context2); 53 fclose($fp);
|
H A D | phar_setdefaultstub.phpt | 171 $fp = fopen(__FILE__, 'rb'); 172 fseek($fp, self::LEN); 302 $data .= @fread($fp, $c); 306 $data .= @fread($fp, 8192); 466 $fp = fopen(__FILE__, 'rb'); 467 fseek($fp, self::LEN); 597 $data .= @fread($fp, $c); 601 $data .= @fread($fp, 8192); 762 fseek($fp, self::LEN); 892 $data .= @fread($fp, $c); [all …]
|
H A D | phar_stub.phpt | 25 fclose($fp); 33 fclose($fp); 38 fwrite($fp, $file); 39 fclose($fp); 43 $phar->setStub($fp); 44 fclose($fp); 48 fclose($fp); 52 fclose($fp); 59 fclose($fp); 66 fclose($fp); [all …]
|
H A D | refcount1.phpt | 22 $fp = fopen($pname . '/b/c.php', 'wb'); 23 fwrite($fp, b"extra"); 24 fclose($fp);
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 115 $fp = fopen(__FILE__, 'rb'); 116 fseek($fp, self::LEN); 117 $L = unpack('V', $a = (binary)fread($fp, 4)); 125 $last = (binary)fread($fp, $read); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 239 static function extractFile($path, $entry, $fp) 246 $data .= @fread($fp, $c); 250 $data .= @fread($fp, 8192);
|
H A D | openssl.phar | 115 $fp = fopen(__FILE__, 'rb'); 116 fseek($fp, self::LEN); 117 $L = unpack('V', $a = (binary)fread($fp, 4)); 125 $last = (binary)fread($fp, $read); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 239 static function extractFile($path, $entry, $fp) 246 $data .= @fread($fp, $c); 250 $data .= @fread($fp, 8192);
|
H A D | phar_test.inc | 67 $fp = gzopen($fname, 'w'); 68 fwrite($fp, $file); 69 fclose($fp); 73 $fp = bzopen($fname, 'w'); 74 fwrite($fp, $file); 75 fclose($fp);
|
H A D | write24.phar | 4 $fp = fopen("phar://" . __FILE__ . "/newname", "w"); 5 fwrite($fp, b"hi"); 6 fclose($fp);
|
H A D | write24.phar.inc | 10 $fp = fopen("phar://" . __FILE__ . "/newname", "w"); 11 fwrite($fp, b"hi"); 12 fclose($fp);
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | include_path2.phar | 115 $fp = fopen(__FILE__, 'rb'); 116 fseek($fp, self::LEN); 117 $L = unpack('V', $a = (binary)fread($fp, 4)); 125 $last = (binary)fread($fp, $read); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 239 static function extractFile($path, $entry, $fp) 246 $data .= @fread($fp, $c); 250 $data .= @fread($fp, 8192);
|
H A D | nophar.phar | 115 $fp = fopen(__FILE__, 'rb'); 116 fseek($fp, self::LEN); 117 $L = unpack('V', $a = (binary)fread($fp, 4)); 125 $last = (binary)fread($fp, $read); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 239 static function extractFile($path, $entry, $fp) 246 $data .= @fread($fp, $c); 250 $data .= @fread($fp, 8192);
|
H A D | openssl.phar | 115 $fp = fopen(__FILE__, 'rb'); 116 fseek($fp, self::LEN); 117 $L = unpack('V', $a = (binary)fread($fp, 4)); 125 $last = (binary)fread($fp, $read); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 239 static function extractFile($path, $entry, $fp) 246 $data .= @fread($fp, $c); 250 $data .= @fread($fp, 8192);
|
H A D | phar_test.inc | 67 $fp = gzopen($fname, 'w'); 68 fwrite($fp, $file); 69 fclose($fp); 73 $fp = bzopen($fname, 'w'); 74 fwrite($fp, $file); 75 fclose($fp);
|