prettier / plugin-php

Prettier PHP Plugin
https://loilo.github.io/prettier-php-playground/
MIT License
1.74k stars 126 forks source link

Error: Bad terminal sequence " #2377

Open tiehongji opened 2 months ago

tiehongji commented 2 months ago

<?php

use xxx\xxx\xxx\xxx\xxx;

$liveClient = new xxx([ 'regionId' => 'xxx', ]);

try { $response = $liveClient->startLiveStream([ 'StreamName' => 'my_stream_name', 'DomainName' => 'my_domain_name.com', 'AppName' => 'my_app_name', 'Description' => 'My live stream description' ]);

$streamInfo = $response->getData();
echo "Stream started successfully. Stream URL: " . $streamInfo['PlayUrl'];

} catch (\xxx\xxx\Exception\VolcException $e) { echo "Error: " . $e->getMessage(); }

    throw error;
    ^

Error: Bad terminal sequence " " at line 4 (offset 28) System error occurred in network function