/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | set_magic_quotes_runtime_basic.phpt | 14 echo "\n-- magic quotes runtime set in INI file: " . $g . "--\n"; 16 echo "\n-- Set magic quotes runtime to 0: --\n"; 19 echo "\n-- magic quotes runtime after set: " . $g . " --\n"; 21 echo "\n-- Set magic quotes runtime to 1: --\n"; 24 echo "\n-- magic quotes runtime after set: " . $g . " --\n"; 31 -- magic quotes runtime set in INI file: -- 33 -- Set magic quotes runtime to 0: -- 38 -- magic quotes runtime after set: -- 40 -- Set magic quotes runtime to 1: --
|
/PHP-5.6/ext/fileinfo/ |
H A D | fileinfo.c | 48 struct magic_set *magic; member 86 magic_close(intern->ptr->magic); in finfo_objects_free() 182 options, magic_errno(magic), magic_error(magic)); \ 194 magic_close(finfo->magic); in finfo_resource_destructor() 340 if (finfo->magic == NULL) { in PHP_FUNCTION() 349 magic_close(finfo->magic); in PHP_FUNCTION() 423 struct magic_set *magic = NULL; in _php_finfo_get_type() local 459 magic = finfo->magic; in _php_finfo_get_type() 465 magic = finfo->magic; in _php_finfo_get_type() 470 FINFO_SET_OPTION(magic, options) in _php_finfo_get_type() [all …]
|
H A D | magicdata.patch | 13 magic/Magdir/commands | 5 +++-- 16 diff --git a/magic/Magdir/commands b/magic/Magdir/commands 18 --- a/magic/Magdir/commands 19 +++ b/magic/Magdir/commands 42 diff --git a/magic/Magdir/commands b/magic/Magdir/commands 44 --- a/magic/Magdir/commands 45 +++ b/magic/Magdir/commands 68 diff --git a/magic/Magdir/msooxml b/magic/Magdir/msooxml 70 --- a/magic/Magdir/msooxml 71 +++ b/magic/Magdir/msooxml [all …]
|
H A D | libmagic.patch | 16 #include "magic.h" 200 + if (map->magic[j]) { 447 if (map->magic[j]) 467 struct magic *nm; 667 map->magic[0] = CAST(struct magic *, map->p) + 1; 670 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; 1837 #include "magic.h" 2167 diff -u libmagic.orig/magic.c libmagic/magic.c 2183 #include "magic.h" 2506 diff -u libmagic.orig/magic.h libmagic/magic.h [all …]
|
/PHP-5.6/ext/date/tests/ |
H A D | DateTimeZone_clone_basic4.phpt | 2 Test clone of DateTimeZone derived objects with __clone magic method 10 echo "-- DateTimeExt1 __clone magic method called --\n"; 14 echo "*** Testing clone of objects derived from DateTimeZone class with __clone magic method***\n"; 25 *** Testing clone of objects derived from DateTimeZone class with __clone magic method*** 26 -- DateTimeExt1 __clone magic method called --
|
H A D | DateTime_clone_basic4.phpt | 2 Test clone of DateTime derived objects with __clone magic method 13 echo "-- DateTimeExt1 __clone magic method called --\n"; 17 echo "*** Testing clone of objects derived from DateTime class with __clone magic method***\n"; 28 *** Testing clone of objects derived from DateTime class with __clone magic method*** 29 -- DateTimeExt1 __clone magic method called --
|
H A D | DateTime_extends_basic2.phpt | 2 Test DateTime class inheritance : with user space __construct magic method 9 echo "*** Testing new DateTime() : with user space __construct magic method ***\n"; 29 *** Testing new DateTime() : with user space __construct magic method ***
|
/PHP-5.6/ext/fileinfo/tests/ |
H A D | bug71527.phpt | 2 Bug #71527 Buffer over-write in finfo_open with malformed magic file 11 $finfo = finfo_open(FILEINFO_NONE, dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug71527.magic"); 16 Warning: finfo_open(): Failed to load magic database at '%sbug71527.magic'. in %sbug71527.php on li…
|
H A D | finfo_file_regex.phpt | 10 * $ file -m magic resources/test.awk 13 $magicFile = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'magic';
|
H A D | cve-2014-1943.phpt | 10 $fm = __DIR__.'/cve-2014-1943.magic'; 32 @unlink(__DIR__.'/cve-2014-1943.magic');
|
H A D | finfo_open_001.phpt | 26 Warning: finfo_open(): Failed to load magic database at '%s123'. in %s on line %d 33 Warning: finfo_open(): Failed to load magic database at '%s1'. in %s on line %d 40 Warning: finfo_open(): Failed to load magic database at '%sinexistent'. in %s on line %d
|
H A D | finfo_open_error.phpt | 13 $magicFile = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'magic'; 34 Warning: finfo_open(): Failed to load magic database at '%sfoobarfile'. in %sfinfo_open_error.php o… 43 Notice: finfo_open(): Warning: using regular magic file `%smagic' in %sfinfo_open_error.php on line…
|
H A D | bug61964.phpt | 8 $magic_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'magic'; 16 $magic_file_copy = $dir . "/magic.copy"; 71 Warning: finfo_open(): Failed to load magic database at '%stest-folder'. in %sbug61964.php on line …
|
/PHP-5.6/Zend/tests/ |
H A D | bug47801.phpt | 10 echo("magic method called: $name\n"); 30 magic method called: getFoo 31 magic method called: getFoo
|
H A D | bug61025.phpt | 23 Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025… 25 Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025…
|
/PHP-5.6/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 92 struct magic *mp; 106 struct magic *magic[MAGIC_SETS]; member 378 ml->magic = map->magic[idx]; in add_mlist() 818 struct magic *m = &ml->magic[magindex]; in apprentice_list() 846 set_test_type(struct magic *mstart, struct magic *m) in set_test_type() 1502 struct magic *m; in parse() 2706 map->magic[0] = CAST(struct magic *, map->p) + 1; in apprentice_map() 2714 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in apprentice_map() 2866 byteswap(struct magic *magic, uint32_t nmagic) argument 2870 bs1(&magic[i]); [all …]
|
H A D | softmagic.c | 129 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, in match() argument 148 struct magic *m = &magic[magindex]; in match() 198 magic[magindex + 1].cont_level != 0) in match() 232 m = &magic[magindex]; in match() 357 check_fmt(struct magic_set *ms, struct magic *m) in check_fmt() 378 mprint(struct magic_set *ms, struct magic *m) in mprint() 653 moffset(struct magic_set *ms, struct magic *m) in moffset() 830 cvt_8(union VALUETYPE *p, const struct magic *m) in cvt_8() 836 cvt_16(union VALUETYPE *p, const struct magic *m) in cvt_16() 842 cvt_32(union VALUETYPE *p, const struct magic *m) in cvt_32() [all …]
|
H A D | file.h | 160 struct magic { struct 351 struct magic *magic; /* array of magic entries */ member 441 protected uint64_t file_signextend(struct magic_set *, struct magic *, 443 protected void file_delmagic(struct magic *, int type, size_t entries); 457 protected size_t file_pstring_length_size(const struct magic *); 458 protected size_t file_pstring_get_length(const struct magic *, const char *);
|
H A D | is_tar.c | 118 if (strcmp(header->header.magic, GNUTMAGIC) == 0) in is_tar() 120 if (strcmp(header->header.magic, TMAGIC) == 0) in is_tar()
|
H A D | tar.h | 63 char magic[8]; member
|
/PHP-5.6/ext/phar/tests/bug64931/ |
H A D | bug64931.phpt | 53 CAUGHT: Cannot create any files in magic ".phar" directory 54 CAUGHT: Cannot create any files in magic ".phar" directory 55 CAUGHT: Cannot create any files in magic ".phar" directory 56 CAUGHT: Cannot create any files in magic ".phar" directory
|
/PHP-5.6/ext/ereg/regex/ |
H A D | regfree.c | 23 if (g == NULL || g->magic != MAGIC2) /* oops again */ 26 g->magic = 0; /* mark it invalid */
|
/PHP-5.6/ext/zlib/tests/ |
H A D | zlib_scheme_copy_variation2.phpt | 35 //also need to look for the magic number (x1f x8b) to prove it 38 $magic = fread($h, 2); 41 if ($org_data == $copied_data && bin2hex($magic) === '1f8b') {
|
/PHP-5.6/ext/standard/tests/class_object/ |
H A D | property_exists_variation1.phpt | 20 echo "\ntesting __get magic method\n"; 31 testing __get magic method
|
/PHP-5.6/Zend/tests/traits/ |
H A D | static_004.phpt | 2 Traits with __callStatic magic method.
|