{"id":308505,"date":"2020-08-15T03:00:11","date_gmt":"2020-08-15T03:00:11","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=308505"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2020-08-15T03:00:11","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=308505","title":{"rendered":"\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c php 8 \u0441 jit \u0447\u0435\u0440\u0435\u0437 docker \u0437\u0430 5 \u043c\u0438\u043d\u0443\u0442"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/515216\/\">\u0417\u0438\u043c\u0430 \u0431\u043b\u0438\u0437\u043a\u043e! \u0410 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043d\u0435\u0439 \u0431\u043b\u0438\u0437\u0438\u0442\u0441\u044f \u0438 \u0440\u0435\u043b\u0438\u0437 php 8. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435 \u0442\u0435\u0440\u043f\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043a\u043e\u0434 \u0432 beta \u0432\u0435\u0440\u0441\u0438\u0438 php 8, \u0430 \u0437\u0430\u043e\u0434\u043d\u043e \u043f\u043e\u0449\u0443\u043f\u0430\u0442\u044c jit, \u0442\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442. <br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h3>TL:DR;<\/h3>\n<p>  \u0412\u0441\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0441 github \u0438 \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c: <a href=\"https:\/\/github.com\/xtrime-ru\/php8-test\" rel=\"nofollow\">github.com\/xtrime-ru\/php8-test<\/a><\/p>\n<h3>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h3>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c docker \u0438 docker-compose. <\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c opcache.ini \u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043a\u043b\u044e\u0447\u0438\u0442 opcache \u0438 JIT \u0432 \u043d\u0430\u0448\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435.  <\/p>\n<pre><code class=\"plaintext\">; Extended PHP.ini file to enable JIT. ; ==================================== ; Place this file under \/usr\/local\/etc\/php\/conf.d\/ zend_extension=opcache.so opcache.enable=1 opcache.enable_cli=1 opcache.jit_buffer_size=32M opcache.jit=1235 <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043f\u0430\u043f\u043a\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c Dockerfile.<br \/>  \u0421\u043f\u0438\u0441\u043e\u043a \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430. \u041c\u043e\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u044d\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u0432\u0430\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f. \u0422\u0430\u043a \u0436\u0435 \u0447\u0430\u0441\u0442\u044c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u0443\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0432 \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043e\u0431\u0440\u0430\u0437. \u0422\u0430\u043a \u0447\u0442\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c json, xml \u0438 \u043c\u043d\u043e\u0433\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f.<\/p>\n<pre><code class=\"plaintext\">FROM php:8.0-rc-cli  COPY opcache.ini \/usr\/local\/etc\/php\/conf.d\/  RUN apt-get update && apt-get upgrade -y \\     && apt-get install apt-utils -y \\ # #    \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b     && apt-get install git zip vim libzip-dev libgmp-dev libffi-dev libssl-dev -y \\ # #    \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f     && docker-php-ext-install -j$(nproc) sockets zip gmp pcntl bcmath ffi \\ # #    \u0420\u0430\u0441\u0448\u0435\u0440\u0435\u043d\u0438\u044f \u0447\u0435\u0440\u0435\u0437 pecl \u0441\u0442\u0430\u0432\u044f\u0442\u0441\u044f \u0442\u0430\u043a, \u0442\u043e \u0432 php 8 pecl \u0441\u0435\u0439\u0447\u0430\u0441 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0442\u0430\u043a \u0447\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0438 \u0437\u0430\u043a\u043e\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b #    && PHP_OPENSSL=yes pecl install ev \\ #    && docker-php-ext-enable ev \\ # #    \u0427\u0438\u0441\u0442\u0438\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b     && docker-php-source delete \\     && apt-get autoremove --purge -y && apt-get autoclean -y && apt-get clean -y <\/code><\/pre>\n<p>  \u041e\u0441\u0442\u0430\u043b\u0441\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0444\u0430\u0439\u043b. \u042d\u0442\u043e docker-compose.yml, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u043c\u0438 \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435.<\/p>\n<pre><code class=\"plaintext\">version: '3.5' services:   php8-test:     build: .\/     container_name: php8-test     restart: unless-stopped     volumes:       - .\/:\/app     working_dir: \/app     entrypoint: &quot;php -S 0.0.0.0:8000&quot;     ports:       - &quot;127.0.0.1:8000:8000&quot;     logging:       driver: &quot;json-file&quot;       options:         max-size: &quot;1024k&quot;         max-file: &quot;2&quot; <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0431\u043e\u0440\u043a\u0443 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0438 \u0442\u0435\u0441\u0442\u044b. <\/p>\n<ol>\n<li>\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0437: docker-compose build<\/li>\n<li>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0432 \u0444\u043e\u043d\u0435: docker-compose up -d<\/li>\n<li>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043a \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0443: docker exec -it php8-test \/bin\/bash<\/li>\n<li>\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u043f\u0430\u043f\u043a\u0430 \u043d\u0430 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0441 \u043f\u0430\u043f\u043a\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0424\u0430\u0439\u043b\u044b \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435.<\/li>\n<li>\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0430: <a href=\"https:\/\/github.com\/php\/php-src\/blob\/master\/Zend\/bench.php\" rel=\"nofollow\">github.com\/php\/php-src\/blob\/master\/Zend\/bench.php<\/a><\/li>\n<li>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0431\u0435\u043d\u0447: php bench.php<\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c jit \u0438\u043b\u0438 opcache \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0442\u0443\u0442: \/usr\/local\/etc\/php\/conf.d\/opcache.ini, \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/li>\n<li>\u0412 docker-compose.yml \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b `volumes` \u0438 `workdir`, \u0447\u0442\u043e \u0431\u044b \u0437\u0430\u043b\u0438\u043d\u043a\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440. \u0422\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c entrypoint \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 `php artisan serve` \u0434\u043b\u044f laravel. <\/li>\n<li>\u0412\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0442\u0430\u043a \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <a href=\"http:\/\/127.0.0.1:8000\/\" rel=\"nofollow\">http:\/\/127.0.0.1:8000\/<\/a><br \/>  \u0417\u0430 \u044d\u0442\u043e \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0442 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b entrypoint \u0438 ports.<\/li>\n<\/ol>\n<h3>\u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a<\/h3>\n<p>  \u0424\u0430\u0439\u043b \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0430 \u0438\u0437 \u043e\u0444\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f php: <a href=\"https:\/\/github.com\/php\/php-src\/blob\/master\/Zend\/bench.php\" rel=\"nofollow\">github.com\/php\/php-src\/blob\/master\/Zend\/bench.php<\/a><\/p>\n<pre><code class=\"plaintext\">######################### # php 7.4.9 # opcache.enable=1 # opcache.enable_cli=0  simple             0.053 simplecall         0.007 simpleucall        0.019 simpleudcall       0.022 mandel             0.182 mandel2            0.220 ackermann(7)       0.038 ary(50000)         0.006 ary2(50000)        0.005 ary3(2000)         0.045 fibo(30)           0.069 hash1(50000)       0.014 hash2(500)         0.008 heapsort(20000)    0.036 matrix(20)         0.034 nestedloop(12)     0.089 sieve(30)          0.014 strcat(200000)     0.006 ------------------------ Total              0.867  ######################### # php 7.4.9 # opcache.enable=1 # opcache.enable_cli=1  simple             0.007 simplecall         0.003 simpleucall        0.004 simpleudcall       0.003 mandel             0.088 mandel2            0.113 ackermann(7)       0.036 ary(50000)         0.006 ary2(50000)        0.007 ary3(2000)         0.039 fibo(30)           0.055 hash1(50000)       0.012 hash2(500)         0.008 heapsort(20000)    0.030 matrix(20)         0.029 nestedloop(12)     0.041 sieve(30)          0.011 strcat(200000)     0.007 ------------------------ Total              0.499  ######################### # php 8.0-rc # opcache.enable=1 # opcache.enable_cli=1 # opcache.jit_buffer_size=128M # opcache.jit=1235  simple             0.002 simplecall         0.001 simpleucall        0.001 simpleudcall       0.001 mandel             0.008 mandel2            0.009 ackermann(7)       0.016 ary(50000)         0.006 ary2(50000)        0.007 ary3(2000)         0.015 fibo(30)           0.030 hash1(50000)       0.016 hash2(500)         0.011 heapsort(20000)    0.014 matrix(20)         0.012 nestedloop(12)     0.010 sieve(30)          0.004 strcat(200000)     0.006 ------------------------ Total              0.168 <\/code><\/pre>\n<p>  JIT, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c CPU. \u041d\u043e \u043c\u0435\u043d\u044f \u043f\u043e\u0440\u0430\u0437\u0438\u043b\u043e \u0434\u0440\u0443\u0433\u043e\u0435. \u0412 php \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f opcache.enable_cli=0. \u0415\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u044d\u0442\u0443 \u043e\u043f\u0446\u0438\u044e, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0432\u0443\u0445\u043a\u0440\u0430\u0442\u043d\u044b\u0439 \u0440\u043e\u0441\u0442 \u0432 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0435. \u041b\u0438\u0447\u043d\u043e \u044f \u043d\u0435 \u0437\u043d\u0430\u043b \u043e \u0442\u043e\u043c, \u0447\u0442\u043e opcache \u043c\u043e\u0436\u0435\u0442 \u0442\u0430\u043a \u0443\u0441\u043a\u043e\u0440\u044f\u0442\u044c cli \u043a\u043e\u043c\u0430\u043d\u0434\u044b. <\/p>\n<p>  \u042f \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u043d\u0430 \u0447\u0438\u0441\u0442\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430\u0445, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0441 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043e\u0447\u0438\u0441\u0442\u043a\u043e\u0439 opcache. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435: opcache.enable_cli=1 \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430.<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/515216\/\"> https:\/\/habr.com\/ru\/post\/515216\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/515216\/\">\u0417\u0438\u043c\u0430 \u0431\u043b\u0438\u0437\u043a\u043e! \u0410 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043d\u0435\u0439 \u0431\u043b\u0438\u0437\u0438\u0442\u0441\u044f \u0438 \u0440\u0435\u043b\u0438\u0437 php 8. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435 \u0442\u0435\u0440\u043f\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043a\u043e\u0434 \u0432 beta \u0432\u0435\u0440\u0441\u0438\u0438 php 8, \u0430 \u0437\u0430\u043e\u0434\u043d\u043e \u043f\u043e\u0449\u0443\u043f\u0430\u0442\u044c jit, \u0442\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-308505","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/308505","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=308505"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/308505\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=308505"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=308505"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=308505"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}