slice2php(1) General Commands Manual slice2php(1)

slice2php - The Slice to PHP compiler.

slice2php [options] [files]

slice2php compiles Slice files to PHP. The macro __SLICE2PHP__ is defined during this compilation.

Full documentation for slice2php is available online at:
https://doc.zeroc.com/ice/3.7/language-mappings/php-mapping/client-side-slice-to-php-mapping/slice2php-command-line-options


Displays a help message.
Displays the compiler version.

Defines the preprocessor symbol NAME.

Defines the preprocessor symbol NAME with the value DEF.

Undefines the preprocessor symbol NAME.

Add the directory DIR to the search path for #include directives.

Print the preprocessor output on stdout.

Place the generated files into directory DIR.

Print debug information showing the operation of the Slice parser.

Print dependency information to standard output by default, or to the file specified by the --depend-file option. No code is generated when this option is specified.

Print dependency information in XML format to standard output by default, or to the file specified by the --depend-file option. No code is generated when this option is specified.

Directs dependency information to the specified file. The output format depends on whether --depend or --depend-xml is also specified.

Checks the provided command-line options for correctness, and does not generate any code.

Generate code for all Slice definitions, including those from included files.

Generate code without support for PHP namespaces (deprecated).

Generate checksums for Slice definitions.

slice2cpp(1), slice2cs(1), slice2java(1), slice2js(1), slice2matlab(1), slice2objc(1), slice2py(1), slice2rb(1), slice2swift(1)