<?php$valor = " ";$valor = trim($valor);if(empty($valor)) { echo "Sim, está vazio";}
Standard input is empty
Sim, está vazio
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!