php8.5
Home/ Manual/ random / randomizer/ Random\Randomizer::__serialize

Random\Randomizer::__serialize

PHP function Edit on GitHub ✎

(PHP 8 >= 8.2.0)

Serializes the Randomizer object

Description

Random\Randomizer::__serialize(): array

Func

Parameters Parameters

Return Values

Examples

Random\Randomizer::__serialize() example

php
<?php

/* ... */

?>

The above example will output something similar to:

output
...

Source: reference/random/random/randomizer/serialize.xml · from the official PHP manual (php/doc-en)