PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.inc

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.inc   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.inc
Role: Example script
Content type: text/plain
Description: Example script
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: 2 days ago
Size: 772 bytes
 

Contents

Class file image Download
<?php
for ($i = 0; $i < count($array); $i++) {
}

$num = count($array);

while (
$i < count($array)) {
}

do {
} while (
$i < count($array));

for (
$i = 0; $i < count($this->children); $i++) {
}



for (
$i = 0; $i < sizeof($array); $i++) {
}

$num = sizeof($array);

while (
$i < sizeof($array)) {
}

do {
} while (
$i < sizeof($array));

for (
$i = 0; $i < sizeof($this->children); $i++) {
}




for (
$i = 0; $i < strlen($string); $i++) {
}

$num = strlen($string);

while (
$i < strlen($string)) {
}

do {
} while (
$i < strlen($string));

for (
$i = 0; $i < strlen($this->string); $i++) {
}

for (
$i = sizeof($array); $i > 0; $i--) {
}

do {
    echo
$a->count;
   
$a->count--;
} while(
$a->count);

for (
$i = 0; $i < $a->count; $i++) {}
for (
$i = 0; $i < $a?->count; $i++) {}