Windows, PHP - . , PHP, Freebasic :
cls
end
. - . PHP:
<?php
echo "This is a test\n";
system( "cls.exe" );
exec( "cls.exe" );
passthru( "cls.exe" );
?>
, , " ". , PHP, escape-. PHP - cls, curses, ncurses . , - WindowBrowser (, , C), THAT . escape- . - .
What I find strange about this is that PHP was originally written in Perl, and Perl would do ncurses on Windows without any problems. Perl will also allow you to work with all escape sequences. Therefore, something happens in the Windows compilation that causes this problem.
source
share