<?php $inputs = [ 'test', 'Test', 'TestĄę', 'TestĄę TestĄę', 'Te02stĄę Te34stĄę', 'TestĄę TestĄę' ]; foreach ($inputs as $input) { }
Standard input is empty
string(4) "test" int(1) string(4) "Test" int(1) string(8) "TestĄę" int(1) string(17) "TestĄę TestĄę" int(1) string(21) "Te02stĄę Te34stĄę" int(1) string(18) "TestĄę TestĄę" int(0)