bucketLifecycleRule( $bucket, $name, $prefix, $delete_after_days, $to_line_after_days, $to_archive_after_days, $to_deep_archive_after_days ); if ($err != null) { var_dump($err); } else { var_dump($ret); }