123 - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of 123.php
- <?php
- $fd1 = fopen("MP0C_003", "rb") or die();
- $fd2 = fopen("MP0H_006", "rb") or die();
- while(!feof($fd1))
- {
- // Name file
- $str = fread($fd1, 44);
- $data = substr($str, 0, -2);
- echo iconv("utf-16le", "utf-8", $data).",";
- // Number file
- $str = fread($fd2, 38);
- $data = substr($str, 0, -2);
- echo $data."\n";
- }
- ?>
File Description
- 123
- PHP Code
- 20 Dec-2022
- 326 Bytes
You can Share it:
Latest PHP Pastes