<?php
$anonheight = 188 ;
$result = 0 ;
$classmates = [
"anton" => 134 ,
"piton" => 211 ,
"manya" => 156 ,
"petya" => 199 ,
"test" => 188 ,
] ;
foreach ( $classmates as $name => $height ) {
echo "Имя - $name , рост - $height .\n " ;
( $height > $anonheight ) ? ( $result ++ ) : ( null ) ;
}
echo "В классе $result человек выше анона\n " ;
PD9waHAKZXJyb3JfcmVwb3J0aW5nKC0xKTsKCiRhbm9uaGVpZ2h0ID0gMTg4OwokcmVzdWx0ID0gMDsKCiRjbGFzc21hdGVzID0gWwoJCSJhbnRvbiIgPT4gMTM0LAoJCSJwaXRvbiIgPT4gMjExLAoJCSJtYW55YSIgPT4gMTU2LAoJCSJwZXR5YSIgPT4gMTk5LAoJCSJ0ZXN0IiA9PiAxODgsCl07Cgpmb3JlYWNoICgkY2xhc3NtYXRlcyBhcyAkbmFtZSA9PiAkaGVpZ2h0KSB7CgllY2hvICLQmNC80Y8gLSAkbmFtZSwg0YDQvtGB0YIgLSAkaGVpZ2h0LlxuIjsKCSgkaGVpZ2h0ID4gJGFub25oZWlnaHQpID8gKCRyZXN1bHQrKykgOiAobnVsbCkgOwoJCn0KCmVjaG8gItCSINC60LvQsNGB0YHQtSAkcmVzdWx0INGH0LXQu9C+0LLQtdC6INCy0YvRiNC1INCw0L3QvtC90LBcbiI7