{"id":200246,"date":"2013-12-06T18:09:03","date_gmt":"2013-12-06T14:09:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=200246"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=200246","title":{"rendered":"<span class=\"post_title\">\u0421\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0446\u0435\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 Judy \u0432 PHP<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0432 PHP \u044d\u0442\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0430 \u0446\u0435\u043b\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 zval. \u0410 \u043c\u0430\u0441\u0441\u0438\u0432 \u0442\u0430\u043a\u0438\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u0447\u0435\u0440\u0435\u0441\u0447\u0443\u0440 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430.<br \/>  \u0412 PHP \u0435\u0441\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f <a href=\"http:\/\/php.net\/manual\/en\/intro.judy.php\">Judy<\/a> \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u2014 \u0431\u044b\u0441\u0442\u0440\u044b\u0445, \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u044e\u0449\u0438\u0445 \u043d\u0430 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0430\u043c\u044f\u0442\u0438. \u041d\u043e, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438\\\u0434\u0435\u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u043d\u0438\u0445 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041c\u0435\u043d\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0430 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0435\u043b\u043e\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432, \u0442.\u0435. \u043a\u0430\u043a \u0438 \u0438\u043d\u0434\u0435\u043a\u0441 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u0442\u0430\u043a \u0438 \u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0435\u043b\u044b\u0435 \u0447\u0438\u0441\u043b\u0430. \u0415\u0451 \u044f \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b, \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f. \u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0441\u0442:<br \/>  \u041c\u0430\u0441\u0441\u0438\u0432 ( 200 =&gt; 0, 300 =&gt; -5000, -100 =&gt;2000 ) \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u0442\u0440\u043e\u043a\u0443 <br \/>  &quot;+c8+0+12c-1388-64+7d0&quot;<\/p>\n<p>  \u0415\u0441\u0442\u044c \u0434\u0432\u0430 \u043c\u0435\u0441\u0442\u0430, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438:  <\/p>\n<ul>\n<li><a href=\"http:\/\/pecl.php.net\/package\/judy\">pecl.php.net\/package\/judy<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/orieg\/php-judy\">github.com\/orieg\/php-judy<\/a><\/li>\n<\/ul>\n<p>  \u0411\u044b\u043b\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u0432\u0442\u043e\u0440\u043e\u0435. \u0412\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0434\u0435\u043b\u0430\u043d\u044b \u0432 php_judy.c<br \/>  \u0416\u0438\u0440\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438.<\/p>\n<ol>\n<li> \u0417\u0430\u044f\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438:<br \/>  <code>     \/* implements some interface to provide access to judy object as an array *\/    zend_class_implements(judy_ce TSRMLS_CC, 1, zend_ce_arrayaccess, zend_ce_iterator); <\/code><br \/>  <b><code>     zend_class_implements(judy_ce TSRMLS_CC, 1, zend_ce_serializable); <\/code><\/b><br \/>  <code>     judy_ce-&gt;ce_flags |= ZEND_ACC_FINAL_CLASS; <\/code>   <\/li>\n<li>\u041e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u043c \u043c\u0435\u0442\u043e\u0434\u044b:<br \/>  <code>PHP_METHOD(judy, memoryUsage);<\/code><br \/>  <b><code>PHP_METHOD(judy, serialize);<\/code><br \/>  <code>PHP_METHOD(judy, unserialize);<\/code><\/b><br \/>  <code>PHP_METHOD(judy, count);<\/code>  <\/li>\n<li>\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f unserialize:<br \/> \n<pre><code class=\"php\">ZEND_BEGIN_ARG_INFO_EX(arginfo_judy_unserialize, 0, 0, 1)     ZEND_ARG_INFO(0,str) ZEND_END_ARG_INFO() <\/code><\/pre>\n<p>  <\/li>\n<li>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0438\u0434\u0438\u043c\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432:<br \/>   <code>PHP_ME(judy, memoryUsage,           NULL, ZEND_ACC_PUBLIC)<\/code><br \/>   <b><code>PHP_ME(judy, serialize,             NULL, ZEND_ACC_PUBLIC)<\/code><br \/>   <code>PHP_ME(judy, unserialize,           arginfo_judy_unserialize, ZEND_ACC_PUBLIC)<\/code><\/b><br \/>   <code>PHP_ME(judy, count,                         arginfo_judy_count, ZEND_ACC_PUBLIC)<\/code>  <\/li>\n<li>\u0421\u0430\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u043e\u0434\u043d\u0430 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f:<br \/> \n<pre><code class=\"php\">PHP_METHOD(judy, serialize) {         JUDY_METHOD_GET_OBJECT         if ( intern-&gt;type == TYPE_INT_TO_INT ) {                 long int   index = 0, i = 0, l;                 long int * PValue;                 char * s;                 Word_t idx1 = 0, idx2 = -1, Rc_word;                  JLC(Rc_word, intern-&gt;array, idx1, idx2);                  l = 64 + ( Rc_word &lt;&lt; 3 );                 s = emalloc ( l );                 if ( s == NULL ) RETURN_NULL();                  JLF ( PValue, intern-&gt;array, index );                 while ( PValue != NULL && PValue != PJERR ) {                         JLG ( PValue, intern-&gt;array, index );                         if ( index &lt; 0 ) {                                 if ( *PValue &lt; 0 ) sprintf ( s+i, &quot;-%x-%x&quot;, -index, -*PValue );                                 else sprintf ( s+i, &quot;-%x+%x&quot;, -index, *PValue );                         } else {                                 if ( *PValue &lt; 0 ) sprintf ( s+i, &quot;+%x-%x&quot;, index, -*PValue );                                 else sprintf ( s+i, &quot;+%x+%x&quot;, index, *PValue );                         }                         i += strlen ( s+i );                         if ( i &gt; l - 50 ) {                                 l &lt;&lt;= 1;                                 s = erealloc ( s, l );                                 if ( s == NULL ) RETURN_NULL();                         }                         JLN ( PValue, intern-&gt;array, index );                 }                 *(s+i) = 0;                 RETURN_STRING ( s, 0 );         }         RETURN_NULL(); }  long int Hex2Int ( char * s, long int * j, long int l ) {         long int v = 0;         char sym;         if ( s[*j] == '+' ) {                 (*j)++;                 sym = s[*j];                 while ( sym != '+' && sym != '-' && *j &lt; l ) {                         v &lt;&lt;= 4;                         if (( sym &gt;= '0' ) && ( sym &lt;= '9' )) v += ( sym - '0' );                         else v += ( sym - 'a' + 10 );                         (*j)++;                         sym = s[*j];                 }         } else {                 (*j)++;                 sym = s[*j];                 while ( sym != '+' && sym != '-' && *j &lt; l ) {                         v &lt;&lt;= 4;                         if (( sym &gt;= '0' ) && ( sym &lt;= '9' )) v -= ( sym - '0' );                         else v -= ( sym - 'a' + 10 );                         (*j)++;                         sym = s[*j];                 }         }         return v; }  PHP_METHOD(judy, unserialize) {         JUDY_METHOD_GET_OBJECT         intern-&gt;counter = 0;         intern-&gt;type = TYPE_INT_TO_INT;         intern-&gt;array = (Pvoid_t) NULL;          char * s;         long int l, j = 0;         Word_t * PValue, index, value;          if ( zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, &quot;s&quot;, &s, &l) == FAILURE) return;         if ( l &lt; 4 ) return;         while ( j &lt; l ) {                 index = Hex2Int ( s, &j, l );                 value = Hex2Int ( s, &j, l );                 JLI ( PValue, intern-&gt;array, index );                 if ( PValue == NULL || PValue == PJERR ) return;                 *PValue = value;         }         return; } <\/code><\/pre>\n<p>  <\/li>\n<li>\u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c:<br \/> \n<pre><code class=\"bash\">phpize .\/configure make make install <\/code><\/pre>\n<p>  <\/li>\n<li>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 php.ini<br \/>  <code>extension=judy.so<\/code>  <\/li>\n<\/ol>\n<p>  <\/p>\n<h5>\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0442\u0435\u0441\u0442\\\u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a<\/h5>\n<p>  <\/p>\n<pre><code class=\"php\">&lt;?php function InitArray ( &$ar, $init_srand, $max ) { \tsrand ( $init_srand ); \tfor ( $i = -$max; $i &lt; $max; $i++ ) { \t\t$index = rand ( -$max, $max ); \t\t$value = rand ( -1000, 1000 ); \t\t$ar[$index] = $value; \t} }  function ShowTime ( $st, $text ) { \tprintf ( &quot;$text in %.2f sec.\\n&quot;, microtime ( true ) - $st ); }  \t$init_srand = time (); \t$max = 500000; \techo &quot;srand = $init_srand, max = $max\\n&quot;; \t$init_mem = memory_get_usage(); \t$st = microtime ( true ); \t$a = array (); \tInitArray ( $a, $init_srand, $max ); \tShowTime ( $st, &quot;Initialized std. array&quot; ); \techo &quot;Elements in std. array: &quot; , count ( $a ) , &quot;\\n&quot;; \techo &quot;Used memory: &quot; , (memory_get_usage()-$init_mem) , &quot; bytes\\n\\n&quot;;  \t$st = microtime ( true ); \t$j = new Judy(Judy::INT_TO_INT); \tInitArray ( $j, $init_srand, $max ); \tShowTime ( $st, &quot;Initialized Judy array&quot; ); \techo &quot;Elements in Judy array: &quot; , count ( $j ) , &quot;\\n&quot;; \techo &quot;Used memory:  &quot; , $j-&gt;memoryUsage() , &quot; bytes\\n\\n&quot;;  \t$st = microtime ( true ); \t$a_ser = serialize ( $a ); \tShowTime ( $st, &quot;Serialized std. array&quot; );  \t$st = microtime ( true ); \t$j_ser = serialize ( $j ); \tShowTime ( $st, &quot;Serialized Judy array&quot; );  \techo &quot;Serialized std. length: &quot; , strlen ( $a_ser ) , &quot;\\n&quot;;  \techo &quot;Serialized Judy length: &quot; , strlen ( $j_ser ) , &quot;\\n\\n&quot;;   \t$st = microtime ( true ); \t$a_unser = unserialize ( $a_ser ); \tShowTime ( $st, &quot;Unserialized std. array&quot; );  \t$st = microtime ( true ); \t$j_unser = unserialize ( $j_ser ); \tShowTime ( $st, &quot;Unserialized Judy array&quot; );  \tif (count ( $j_unser ) != count ( $a )) die ( &quot;ERROR: arrays size mismatch\\n&quot; );  \tforeach ( $a as $index =&gt; $value ) { \t\tif ( $j_unser[$index] != $value ) { \t\t\tdie ( &quot;ERROR: arrays data mismatch\\n&quot; );  \t\t} \t} \techo &quot;OK: std. array and unserialized Judy array are identical\\n&quot;; ?&gt; <\/code><\/pre>\n<p>  \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c  <\/p>\n<pre><code class=\"bash\">srand = 1348822174, max = 500000 Initialized std. array in 0.76 sec. Elements in std. array: 632067 Used memory: 49703784 bytes  Initialized Judy array in 0.98 sec. Elements in Judy array: 632067 Used memory:  3247108 bytes  Serialized std. array in 0.33 sec. Serialized Judy array in 0.18 sec. Serialized std. length: 9904186 Serialized Judy length: 6061744  Unserialized std. array in 0.13 sec. Unserialized Judy array in 0.08 sec. OK: std. array and unserialized Judy array are identical <\/code><\/pre>\n<p>  <\/p>\n<h5>\u041f\u0430\u0440\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0439<\/h5>\n<ol>\n<li>\u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0412\u044b \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0443 \u0441 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/li>\n<li>\u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u0430 foreach \u0434\u043b\u044f Judy \u0435\u0441\u0442\u044c \u0431\u0430\u0433:<br \/>  \u0415\u0441\u043b\u0438 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0438\u043d\u0434\u0435\u043a\u0441\u044b 0 \u0438 -1, \u0442\u043e foreach \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0446\u0438\u043a\u043b<br \/> \n<pre><code class=\"php\">&lt;?php  $j = new Judy(Judy::INT_TO_INT);  $j[0] = 456;  $j[-1] = 123;  foreach ( $j as $index =&gt; $value ) {  echo &quot;$index $value\\n&quot;;  }  ?&gt; <\/code><\/pre>\n<p>  \u0411\u044b\u043b \u0441\u043e\u0437\u0434\u0430\u043d \u0437\u0430\u043f\u0440\u043e\u0441 <a href=\"https:\/\/github.com\/orieg\/php-judy\/issues\/3\">\u00abforeach [0] [-1]\u00bb<\/a>. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043e\u043d \u043b\u0435\u0433\u043a\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f.  <\/li>\n<\/ol>\n<div class=\"clear\"><\/div>\n<\/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=\"http:\/\/habrahabr.ru\/post\/200246\/\"> http:\/\/habrahabr.ru\/post\/200246\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u041a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0432 PHP \u044d\u0442\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0430 \u0446\u0435\u043b\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 zval. \u0410 \u043c\u0430\u0441\u0441\u0438\u0432 \u0442\u0430\u043a\u0438\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u0447\u0435\u0440\u0435\u0441\u0447\u0443\u0440 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430.<br \/>  \u0412 PHP \u0435\u0441\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f <a href=\"http:\/\/php.net\/manual\/en\/intro.judy.php\">Judy<\/a> \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 \u2014 \u0431\u044b\u0441\u0442\u0440\u044b\u0445, \u0430\u0441\u0441\u043e\u0446\u0438\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u044e\u0449\u0438\u0445 \u043d\u0430 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0430\u043c\u044f\u0442\u0438. \u041d\u043e, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438\\\u0434\u0435\u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u043d\u0438\u0445 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\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-200246","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/200246","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=200246"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/200246\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}