File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ function _test(int $a): int {
1010try {
1111 assert ((5 |> '_test ' ) == 99 );
1212} catch (AssertionError $ e ) {
13- print $ e ->getMessage () . PHP_EOL ;
13+ echo $ e ->getMessage (), PHP_EOL ;
1414}
1515
1616try {
1717 assert ((5 |> _test (...)) == 99 );
1818} catch (AssertionError $ e ) {
19- print $ e ->getMessage () . PHP_EOL ;
19+ echo $ e ->getMessage (), PHP_EOL ;
2020}
2121
2222?>
Original file line number Diff line number Diff line change 1818 $ res1 = $ a |> _modify (...);
1919 var_dump ($ res1 );
2020} catch (\Error $ e ) {
21- print $ e ->getMessage () . PHP_EOL ;
21+ echo $ e ->getMessage (), PHP_EOL ;
2222}
2323
2424// Complex variables.
2727 $ res2 = $ a |> _append (...);
2828 var_dump ($ res2 );
2929} catch (\Error $ e ) {
30- print $ e ->getMessage () . PHP_EOL ;
30+ echo $ e ->getMessage (), PHP_EOL ;
3131}
3232
3333
You can’t perform that action at this time.
0 commit comments