mirror of
https://github.com/danog/MagicalSerializer.git
synced 2024-11-26 11:54:48 +01:00
Update README.md
This commit is contained in:
parent
87b6ed05a8
commit
1226878bc2
@ -30,7 +30,7 @@ file_put_contents('test', serialize($a));
|
||||
```
|
||||
|
||||
As you can see, here `a` does not extend any class, and we are serializing an instance of it to the file `test`.
|
||||
This example also prints `Constructed!`, since the constructor function, __construct, is called.
|
||||
This example also prints `Constructed!`, since the constructor function, `__magic_construct`, is called.
|
||||
|
||||
```
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user