Guest User

multiline codesniff

a guest
Apr 6th, 2016
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. <?php
  2. class TestingAnalysis {
  3.     function __construct() {
  4.         $foo = '2';
  5.         if (($foo === '2'
  6.                 || strpos($foo, "\n") === false
  7.                 && $foo != ' ') ||
  8.             ($foo !== 'abc' && $foo !== T_WHITESPACE)) {
  9.             echo 'nothing';
  10.         }
  11.     }
  12. }
Add Comment
Please, Sign In to add comment