Skip to content

Instantly share code, notes, and snippets.

@oskarcalvo
Last active January 10, 2017 11:33
Show Gist options
  • Save oskarcalvo/ad55a5e64411832d535961148549bb15 to your computer and use it in GitHub Desktop.
Save oskarcalvo/ad55a5e64411832d535961148549bb15 to your computer and use it in GitHub Desktop.
<?php
/**
* Fuente: http://php.net/manual/es/class.splfixedarray.php
*/
SplFixedArray implements Iterator , ArrayAccess , Countable {
/* Métodos */
public __construct ([ int $size = 0 ] )
public int count ( void )
public mixed current ( void )
public static SplFixedArray fromArray ( array $array [, bool $save_indexes = true ] )
public int getSize ( void )
public int key ( void )
public void next ( void )
public bool offsetExists ( int $index )
public mixed offsetGet ( int $index )
public void offsetSet ( int $index , mixed $newval )
public void offsetUnset ( int $index )
public void rewind ( void )
public int setSize ( int $size )
public array toArray ( void )
public bool valid ( void )
public void __wakeup ( void )
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment