PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.1.inc

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.1.inc   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.1.inc
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: 2 days ago
Size: 1,688 bytes
 

Contents

Class file image Download
<?php for ($same = 0; $same < 20; $same++) { for ($j = 0; $j < 5; $same += 2) { for ($k = 0; $k > 3; $same++) { } } } for ($i = 0; $i < 20; $i++) { for ($j = 0; $j < 5; $j += 2) { for ($k = 0; $k > 3; $k++) { } } } for ($i = 0; $i < 20; $i++) { for ($same = 0; $same < 5; $same += 2) { for ($k = 0; $k > 3; $same++) { } } } for (; $i < 10; $i++) { for ($j = 0;; $j++) { if ($j > 5) { break; } for (;; $k++) { if ($k > 5) { break; } } } } for (; $same < 10; $same++) { for ($j = 0;; $same++) { if ($j > 5) { break; } for (;; $same++) { if ($k > 5) { break; } } } } for ($i = 0; $i < 20; $i++) : for ($j = 0; $j < 5; $j += 2) : endfor; endfor; for ($same = 0; $same < 20; $same++) : for ($j = 0; $j < 5; $same += 2) : endfor; endfor; // Sniff bails early when there is no incrementor in the third expression of the outer for loop. for ($same = 0; $same < 10;) { ++$same; for ($j = 0; $j < 5; $same++) {} } for ($i = 1, $same = 0; $i <= 10; $i++, $same++) { for ($same = 0, $k = 0; $k < 5; $same++, $k++) {} } for ($i = 20; $i > 0; $i--) { for ($j = 5; $j > 0; $j -= 2) { for ($k = 3; $k > 0; $k--) {} } } for ($same = 20; $same > 0; $same--) { for ($j = 5; $j > 0; $same -= 2) { for ($k = 3; $k > 0; $same--) {} } } for ($i = 0; $i < 20; $i++); for ($same = 0; $same < 20; $same++) { for ($j = 0; $j < 20; $same++); }