<?php $nome_do_arquivo = '.env.exemplo';$cliente = ltrim($nome_do_arquivo, '.env.'); var_dump($cliente);
Standard input is empty
string(6) "xemplo"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!