What are some common pitfalls or mistakes to avoid when creating PHP extensions using pecl-gen?

One common pitfall when creating PHP extensions using pecl-gen is not properly defining the extension dependencies. To avoid this mistake, make sure to accurately specify any required dependencies in the extension's configuration file.

// Example of defining extension dependencies in the pecl-gen configuration file
$dependencies = array(
    'ext1',
    'ext2',
    'ext3',
);