Lines Matching refs:getMetadata
30 var_dump($phar->getMetadata());
38 echo "Calling getMetadata\n";
39 var_dump($phar->getMetadata());
40 echo "Calling getMetadata with no allowed_classes\n";
41 var_dump($phar->getMetadata(['allowed_classes' => []]));
42 echo "Calling getMetadata with EchoesOnWakeup allowed\n";
43 var_dump($phar->getMetadata(['allowed_classes' => [EchoesOnWakeup::class]]));
44 …his is a test that there are no unexpected behaviors when both selMetadata and getMetadata are used
46 echo "Calling getMetadata with too low max_depth\n";
47 var_dump($phar->getMetadata(['max_depth' => 1]));
48 echo "Calling getMetadata with some allowed classes\n";
49 var_dump($phar->getMetadata(['allowed_classes' => [EchoesOnWakeup::class]]));
50 echo "Calling getMetadata with no options returns the original metadata value\n";
51 var_dump($phar->getMetadata());
65 Calling getMetadata
69 Calling getMetadata with no allowed_classes
74 Calling getMetadata with EchoesOnWakeup allowed
78 Calling getMetadata with too low max_depth
80 Warning: Phar::getMetadata(): Maximum depth of 1 exceeded. The depth limit can be changed using the…
82 Notice: Phar::getMetadata(): Error at offset 34 of 59 bytes in %sphar_metadata_write3.php on line 39
84 Calling getMetadata with some allowed classes
96 Calling getMetadata with no options returns the original metadata value