File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,9 @@ jobs:
168168 - name : Download artifact
169169 uses : actions/download-artifact@v4
170170 with :
171- pattern : php-wasm-${{ matrix.libType }}-*
172- path : ./
171+ name : php${{ matrix.phpVersion }}-node-${{ matrix.libType }}
173172 merge-multiple : true
173+ path : ./
174174
175175 - name : Install NPM packages
176176 run : npm ci
Original file line number Diff line number Diff line change 22const php = new Php<?= vrzno_env ('envName ' )?> ({version: '<?= vrzno_env ('version ' )?> ', ini: `error_reporting = E_ALL ^ E_DEPRECATED`});
33php.addEventListener('output', event => console.log(event.detail.map(line => line.replace(/\s+$/, '')).join('')));
44php.addEventListener('error', event => console.error(event.detail.map(line => line.replace(/\s+$/, '')).join('')));
5- <?php foreach (get_defined_constants () as $ const => $ val ): ?>
6- export const <?= $ const?> = await php.x`<?= $ const?> `;
7- <?php endforeach ; foreach (get_defined_functions ()['internal ' ] as $ func ): ?>
5+ <?php foreach (get_defined_constants () as $ const => $ val ):
6+ $ const = str_replace ('\\' , '__ ' , $ const );
7+ ?> export const <?= $ const?> = await php.x`<?= $ const?> `;
8+ <?php endforeach ; foreach (get_defined_functions ()['internal ' ] as $ func ):
9+ $ func = str_replace ('\\' , '__ ' , $ func );?>
810export const <?= $ func?> = await php.x`<?= $ func?> (...)`;
911<?php endforeach ; ?>
You can’t perform that action at this time.
0 commit comments