• Email
  • Like
  • Save
  • Private Content
  • Embed
 

Static Analysis for PHP, from PHPDay Italy 2012

by

  • 12,957 views

Techniques for static analysis of PHP, include using Facebooks HipHop for PHP (HpHp) and ClamAV. First presented at PHPDay 2012, Verona, Italy, May 19, 2012. Companion source code is available at ...

Techniques for static analysis of PHP, include using Facebooks HipHop for PHP (HpHp) and ClamAV. First presented at PHPDay 2012, Verona, Italy, May 19, 2012. Companion source code is available at https://github.com/client9/hphp-tools

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

17 Embeds 6,520

http://corporate.tuenti.com 6301
http://juiceforu.wordpress.com 133
http://radityopw.posterous.com 12
http://46.137.179.7 11
https://twitter.com 11
http://localhost 8
http://feedwrangler.net 8
http://www.techgig.com 8
http://translate.googleusercontent.com 7
https://si0.twimg.com 5
http://www.linkedin.com 5
https://twimg0-a.akamaihd.net 4
http://twitter.com 2
http://new.fluidinfo.com 2
http://beta.fluidinfo.com 1
http://leapf.org 1
https://www.google.es 1

More...

Statistics

Likes
13
Downloads
33
Comments
6
Embed Views
6,520
Views on SlideShare
6,437
Total Views
12,957

16 of 6 previous next Post a comment

  • JayZeng Jay Zeng at Intelius interesting approach, thanks for sharing 8 months ago
    Are you sure you want to
  • nickgsuperstar Nick Galbreath at Etsy And another handy link for trying to build HpHp: http://php.webtutor.pl/en/2011/04/22/howto-install-hiphop-for-php-on-centos-5-x/ 12 months ago
    Are you sure you want to
  • lukakladaric Luka Kladaric, Developer at deviantART.com @nickgsuperstar or enforce all .php files ending with '?>', with a single trailing \n allowed... it leads to a small amount of files ending with ?>, but at least it's very clear this was intentional also: great talk, thanks for all the useful info! :) 12 months ago
    Are you sure you want to
  • nickgsuperstar Nick Galbreath at Etsy Someone asked on how can you prevent 'ending ?>' in PHP source code. These can be a problem since after the last '?>' might have some trailing whitespace or junk after it which could cause problems if the file is included by another. To detect this, you'll have to use something like CodeSniffer or another tokenizer and see if anything comes after the last ?>. Regexp or grep might not work. 1 year ago
    Are you sure you want to
  • nickgsuperstar Nick Galbreath at Etsy Also https://github.com/client9/hphp-tools I just uploaded a sample stubs file https://github.com/client9/hphp-tools/blob/master/hphp_stubs.php.txt 1 year ago
    Are you sure you want to
  • nickgsuperstar Nick Galbreath at Etsy One comment from the presentation was that 'most of these checks are already done in some IDEs -- can we make batch mode to skip the complexity of HpHp?' I don't know and someone should investigate and comment back! 1 year ago
    Are you sure you want to
Post Comment
Edit your comment

Static Analysis for PHP, from PHPDay Italy 2012 Static Analysis for PHP, from PHPDay Italy 2012 Presentation Transcript