11

Записать текст в поток ошибок

<?php
file_put_contents('php://stderr', "something\n");