time_nanosleep
  • References/PHP/Language/Misc.

(PHP 5, PHP 7) Delay for a number of seconds and nanoseconds

2025-01-10 15:47:30
glob://
  • References/PHP/Language/Supported Protocols and Wrappers

Find pathnames matching pattern The glob: stream wrapper is available since PHP

2025-01-10 15:47:30
Generator syntax
  • References/PHP/Language/Generators

Examples: A simple example of yielding values The heart of a generator function

2025-01-10 15:47:30
Iterator::valid
  • References/PHP/Language/Predefined Interfaces and Classes/Iterator

(PHP 5 >= 5.0.0, PHP 7) Checks if current position is valid

2025-01-10 15:47:30
Exception::getLine
  • References/PHP/Language/Predefined Exceptions/Exception

(PHP 5 >= 5.1.0, PHP 7) Gets the line in which the exception occurred

2025-01-10 15:47:30
Comparing generators with Iterator objects
  • References/PHP/Language/Generators

Examples: The primary advantage of generators is their simplicity. Much less boilerplate code has to be written

2025-01-10 15:47:30
Basics
  • References/PHP/Language/Classes and Objects

Basic class definitions begin with the keyword class, followed by a class name, followed by a pair of curly braces which enclose the definitions of the properties

2025-01-10 15:47:30
foreach
  • References/PHP/Language/Control Structures

(PHP 4, PHP 5, PHP 7) Examples:

2025-01-10 15:47:30
declare
  • References/PHP/Language/Control Structures

(PHP 4, PHP 5, PHP 7) Examples:

2025-01-10 15:47:30
connection_aborted
  • References/PHP/Language/Misc.

(PHP 4, PHP 5, PHP 7) Check whether client disconnected

2025-01-10 15:47:30