<?php
require_once __DIR__ . '/config.php';
$db = getDB();
$stmt = $db->query('SELECT idusuarios_sist, nombre_usr, LENGTH(passwd) as pass_len FROM usuarios_sist LIMIT 5');
$rows = $stmt->fetchAll();
jsonOk(['usuarios' => $rows, 'count' => count($rows)]);
