<?php require_once __DIR__.'/../vendor/autoload.php'; use HeyUpdate\Emoji\UnicodeUtil; $configFile = __DIR__.'/../config/index.json'; $template = <<<'TEMPLATE' <?php TEMPLATE; if (!is_file($configFile)) { throw new InvalidArgumentException(sprintf('The emoji config file "%s" does not exist', $configFile)); } $emojis = json_decode(file_get_contents($configFile), true); if ($emojis === false) { throw new InvalidArgumentException(sprintf('Unable to parse the emoji config file "%s"', $configFile)); }
申明:本站所有资源都是转载各大下载站,或由网友投稿发布,请自行检测软件的完整性,如有侵权请联系我们删除下架,联系方式:admin@php.cn