Print exit() output to stderr in PHP

Mar*_*ala 0 php stderr

The following code

<?php
exit("where");
?>
Run Code Online (Sandbox Code Playgroud)

prints the word where to stdout.

How to print exit() output to stderr?

Gia*_*mPy 5

Just do:

fprintf(STDERR, "where");
exit();
Run Code Online (Sandbox Code Playgroud)