Home
last modified time | relevance | path

Searched refs:__unserialize (Results 1 – 25 of 119) sorted by relevance

12345

/php-src/ext/date/tests/
H A DDateTime_serialization.phpt2 Test DateTime::__serialize and DateTime::__unserialize
23 echo "\n\nCalling __unserialize manually:\n";
25 $d->__unserialize(
34 echo "\n\nCalling __unserialize a few more times, with abbreviations:\n";
35 $d->__unserialize(
43 $d->__unserialize(
91 Calling __unserialize manually:
102 Calling __unserialize a few more times, with abbreviations:
H A DDateTimeImmutable_serialization.phpt2 Test DateTimeImmutable::__serialize and DateTimeImmutable::__unserialize
23 echo "\n\nCalling __unserialize manually:\n";
25 $d->__unserialize(
34 echo "\n\nCalling __unserialize a few more times, with abbreviations:\n";
35 $d->__unserialize(
43 $d->__unserialize(
91 Calling __unserialize manually:
102 Calling __unserialize a few more times, with abbreviations:
H A DDateTimeZone_serialization.phpt2 Test DateTimeZone::__serialize and DateTime::__unserialize
9 $tz->__unserialize(
17 $tz->__unserialize(
25 $tz->__unserialize(
H A Dbug-gh11416.phpt28 $dateperiod->__unserialize(['start' => $date]);
34 $dateperiod->__unserialize(['start' => $now, 'end' => $date]);
40 $dateperiod->__unserialize(['start' => $now, 'end' => $now, 'current' => $date]);
46 …$dateperiod->__unserialize(['start' => $now, 'end' => $now, 'current' => $now, 'interval' => $date…
52 $dateperiod->__unserialize([
56 echo "DatePeriod::__unserialize: SUCCESS\n";
69 DatePeriod::__unserialize: SUCCESS
H A DDateInterval_serialize-003.phpt2 Test DateInterval::__serialize and DateInterval::__unserialize
22 echo "\n\nCalling __unserialize manually:\n";
24 $d->__unserialize(
73 Calling __unserialize manually:
H A Ddate_period_unserialize2.phpt2 Test that calling DatePeriod::__unserialize() directly with missing arguments throws
12 $period->__unserialize(
H A Dbug66721.phpt2 Test for bug #66721: __unserialize of DateTime segfaults when invalid object data is supplied
13 #0 [internal function]: DateTime->__unserialize(Array)
H A DDateInterval_serialize-002.phpt2 Test DateInterval::__serialize and DateInterval::__unserialize
25 echo "\n\nCalling __unserialize manually:\n";
27 $d->__unserialize(
126 Calling __unserialize manually:
H A Ddate_interval_set_state_error1.phpt2 Test that DateInterval::__unserialize() doesn't modify state in case of a date_string format error
11 $interval->__unserialize(
H A Ddate_period_unserialize1.phpt2 Test that DatePeriod::__unserialize() can be called directly
11 $period->__unserialize(
/php-src/Zend/tests/magic_methods/
H A Dmagic_methods_unserialize.phpt2 __unserialize declaration
6 static function __unserialize($data, $value) {}
10 Fatal error: Method Foo::__unserialize() must take exactly 1 argument in %s on line %d
H A Dmagic_methods_019.phpt2 __unserialize first parameter must be an array
6 public function __unserialize(string $name) {}
10 Fatal error: Foo::__unserialize(): Parameter #1 ($name) must be of type array when declared in %s o…
/php-src/Zend/tests/enum/
H A D__unserialize.phpt2 Enum __unserialize
9 public function __unserialize(array $data) {
16 Fatal error: Enum Foo cannot include magic method __unserialize in %s on line %d
/php-src/Zend/tests/return_types/
H A D039.phpt2 __unserialize can only declare void return
6 public function __unserialize(array $data): array {}
10 Fatal error: Foo::__unserialize(): Return type must be void when declared in %s on line %d
/php-src/ext/standard/tests/serialize/
H A D__serialize_005.phpt2 __serialize() mechanism (005): parent::__unserialize() is safe
14 public function __unserialize(array $data) {
28 public function __unserialize(array $payload) {
30 parent::__unserialize($data);
H A D__serialize_004.phpt2 __serialize() mechanism (004): Delayed __unserialize() calls
28 public function __unserialize(array $data) {
30 echo "__unserialize() called\n";
43 __unserialize() called
57 __unserialize() called
H A D__serialize_003.phpt20 public function __unserialize(array $data) {
21 echo "__unserialize() called\n";
46 __unserialize() called
H A D__serialize_006.phpt2 Failure while parsing data array for __unserialize()
7 public function __unserialize(array $data) { }
H A Dbug36424.phpt46 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
48 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
50 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
/php-src/ext/random/
H A Drandom.stub.php54 public function __unserialize(array $data): void {} function in Random\\Engine\\Mt19937
75 public function __unserialize(array $data): void {} function in Random\\Engine\\PcgOneseq128XslRr64
99 public function __unserialize(array $data): void {} function in Random\\Engine\\Xoshiro256StarStar
156 public function __unserialize(array $data): void {} function in Random\\Randomizer
/php-src/ext/spl/tests/SplObjectStorage/
H A DSplObjectStorage_unserialize_reference.phpt2 SPL: Test that __unserialize converts references to non-references
10 $s->__unserialize([$x, []]);
/php-src/Zend/tests/
H A Dserializable_deprecation.phpt18 public function __unserialize(array $data) {}
23 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
/php-src/ext/dom/tests/
H A Dgh8996.phpt35 echo "=== __serialize and __unserialize ===\n";
44 public function __unserialize(array $data): void
97 === __serialize and __unserialize ===
110 …ializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or …
/php-src/ext/spl/tests/
H A Dbug45826.phpt38 public function __unserialize($s): void {
39 parent::__unserialize($s);
63 $o2->__unserialize($s2);
/php-src/ext/hash/tests/
H A Dhash_serialize_004.phpt9 $ctx->__unserialize($ctx->__serialize());
36 HashContext::__unserialize called on initialized object

Completed in 15 milliseconds

12345