diff --git a/.vipgoci_options b/.vipgoci_options index c7497d9..a708d82 100644 --- a/.vipgoci_options +++ b/.vipgoci_options @@ -1 +1 @@ -{"lint-only-modified-files":true} +{"lint-only-modified-files":false} diff --git a/src/PHP8Fun.php b/src/PHP8Fun.php new file mode 100644 index 0000000..59329d5 --- /dev/null +++ b/src/PHP8Fun.php @@ -0,0 +1,49 @@ + 'Float!', + 'string' => 'String', + 'sup' => 'string!!!', + default => gettype( $arg ) + }; + return $result; +} + +$result = fn( $c ) => $c . php8_fun( $my_super_array[ array_rand( $my_super_array, 1 ) ] ); + +$x = 'x'; +var_dump( $result($x) ); + diff --git a/src/PHP8FunFatal.php b/src/PHP8FunFatal.php new file mode 100644 index 0000000..dd0af02 --- /dev/null +++ b/src/PHP8FunFatal.php @@ -0,0 +1,11 @@ +