1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 02:09:22 +02:00

Added vendor directory to source control

This commit is contained in:
Daniel 2021-11-08 13:23:16 -03:00
parent 16534d4217
commit d2589e176f
3049 changed files with 249997 additions and 395005 deletions

View file

@ -1,24 +1,24 @@
<?php
$source = "php://stdin";
if (isset($argv[1])) {
$source = $argv[1];
}
$input_lines = file($source);
foreach ($input_lines as $line) {
// Strip AWS_EXTERN_C_BEGIN/END
if (preg_match('/AWS_EXTERN_C/', $line)) {
continue;
}
// Strip macros/includes
if (preg_match('/^#/', $line)) {
continue;
}
// Strip visibility attributes
$line = str_replace('AWS_CRT_API ', '', $line);
echo($line);
}
<?php
$source = "php://stdin";
if (isset($argv[1])) {
$source = $argv[1];
}
$input_lines = file($source);
foreach ($input_lines as $line) {
// Strip AWS_EXTERN_C_BEGIN/END
if (preg_match('/AWS_EXTERN_C/', $line)) {
continue;
}
// Strip macros/includes
if (preg_match('/^#/', $line)) {
continue;
}
// Strip visibility attributes
$line = str_replace('AWS_CRT_API ', '', $line);
echo($line);
}