My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Features  
Features supported and unsupported by php-initialized
Updated Oct 22, 2009 by jakub.vrana@gmail.com

Supported Features

Unsupported Features

  • The visibility scope is a block and not a function (good practice but many false positives)
  • The code is not executed thus variable variables, variable functions, inclusion of inconstant files, eval neither ${"a"} construction is not supported
  • Function has to be defined before usage
  • Only variables are checked, not object properties or array keys
  • do { $j = 1; } while ($j) and for (; ; $j) { $j = 1; } are false positives
Comment by atra...@gmail.com, Sep 18, 2009

Keep up the good work. It would be nice to see a new static language someday, based on a stricter subset of PHP with type-inference... think Scala with PHP-compatible syntax and string interpolation. Until that day, php-initialized is a good stop-gap solution for at least one of several serious problems in PHP :)


Sign in to add a comment
Powered by Google Project Hosting