Home » Processing » FSM
Finite State Machine
Download latest release 1.4.0 (there might be newer Composer installable version)
License: MIT License
Description
The FSM package provides a simple class that implements a Finite State Machine.
In addition to maintaining state, this FSM also maintains a user-defined payload, therefore effectively making the machine a Pushdown Automaton (a finite state machine with memory).
Maintainers
- Jon Parise (jon) — lead, active
Dependencies
Required
- PHP (>= 4.0.4)
- PEAR Installer (>= 1.4.3)
Optional
Releases
- 1.4.0 (stable, 2015-06-01)
Release notes
License: MIT License
- Pass $payload by reference when mutating.
- Defer updating state until after transitioning.
- Pass the current and next states to callbacks. - 1.3.1 (stable, 2011-02-16)
- 1.3.0 (stable, 2008-02-10)
- 1.2.5 (stable, 2007-12-09)
- 1.2.4 (stable, 2006-04-19)
- 1.2.3 (stable, 2006-01-19)
- 1.2.2 (stable, 2005-01-08)
- 1.2.1 (stable, 2003-10-03)
- 1.2.0 (stable, 2003-09-30)
- 1.1.0 (stable, 2002-12-29)
- 1.0.0 (stable, 2002-11-16)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #3014 | Closed | Bug | 2004-12-22 | Documentation error | |
| #3015 | Closed | Bug | 2004-12-22 | $_inputSymbol never used but initialized in reset() | |
| #3130 | Closed | Bug | 2005-01-07 | Default transition empty when nextState=(integer)0 | |
| #7338 | Closed | Req | 1.2.3 | 2006-04-07 | Specify the machine in one single array |
| #12475 | Closed | Req | CVS | 2007-11-18 | Conversion to Image_GraphViz instance |
| #15122 | Bogus | Bug | CVS | 2008-11-21 | Unit test failure - FSM/tests/graphviz.phpt |