PHP Classes

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

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   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: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year 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++) {}