Generator::__wakeup
(PHP 5 >= 5.5.0)
Generator::__wakeup — Serialize callback
Description
public void Generator::__wakeup
( void
)
Throws an exception as generators can't be serialized.
Parameters
This function has no parameters.
Return Values
No value is returned.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник языка
- Встроенные интерфейсы и классы
- Функция Generator::current() - Get the yielded value
- Generator::getReturn
- Функция Generator::key() - Get the yielded key
- Функция Generator::next() - Resume execution of the generator
- Функция Generator::rewind() - Rewind the iterator
- Функция Generator::send() - Send a value to the generator
- Функция Generator::throw() - Throw an exception into the generator
- Функция Generator::valid() - Check if the iterator has been closed
- Функция Generator::__wakeup() - Serialize callback
Коментарии
404 Not Found