utf8-szar - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of utf8-szar.php

  1. <?php
  2.  
  3. $sql = "REPLACE INTO wp_postCollector SET blog_id = '16659', ID = '6165', post_author = '117591', post_date = '2019-04-23 14:43:10', post_date_gmt = '2019-04-23 12:43:10', post_content = '<p><img class=\"alignnone size-full wp-image-6166\" src=\"https://truereality.cafeblog.hu/files/2019/04/katherine.jpg\" alt=\"\" width=\"1200\" height=\"795\" /></p>
  4. <p>Elbűvölő a fiatal Katherine Schwarzenegger.<!--more--></p>
  5. <p>A fiatal és tehetséges Katherine Schwarzenegger, Arnold Schwarzenegger legidősebb gyermeke már több könyvet is írt elsősorban életvezetési tanácsokkal, amelyek abszolút saját, személyes történetén alapulnak. A saját testünk megszeretéséről, a diplomaszerzés utáni nehézségekről és állatokról is írt Katherine, ez utóbbi már gyerekkönyv.</p>
  6. <p>A szerzőt idén jegyezte el Chris Patrick, és mutatjuk is, milyen sugárzó ifjú hölgyről van szó.</p>
  7. <blockquote class=\"instagram-media\" style=\"background: #FFF; border: 0; border-radius: 3px; box-shadow: 0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width: 540px; min-width: 326px; padding: 0; width: calc(100% - 2px);\" data-instgrm-captioned=\"\" data-instgrm-permalink=\"https://www.instagram.com/p/Bv9q5P8BqEL/?utm_source=ig_embed&utm_medium=loading\" data-instgrm-version=\"12\">
  8. <div style=\"padding: 16px;\">
  9. <div style=\"display: flex; flex-direction: row; align-items: center;\">
  10. <div style=\"background-color: #f4f4f4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;\"> </div>
  11. <div style=\"display: flex; flex-direction: column; flex-grow: 1; justify-content: center;\">
  12. <div style=\"background-color: #f4f4f4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 100px;\"> </div>
  13. <div style=\"background-color: #f4f4f4; border-radius: 4px; flex-grow: 0; height: 14px; width: 60px;\"> </div>
  14. </div>
  15. </div>
  16. <div style=\"padding: 19% 0;\"> </div>
  17. <div style=\"display: block; height: 50px; margin: 0 auto 12px; width: 50px;\"> </div>
  18. <div style=\"padding-top: 8px;\">
  19. <div style=\"color: #3897f0; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: 550; line-height: 18px;\">A bejegyzés megtekintése az Instagramon</div>
  20. </div>
  21. <div style=\"padding: 12.5% 0;\"> </div>
  22. <div style=\"display: flex; flex-direction: row; margin-bottom: 14px; align-items: center;\">
  23. <div>
  24. <div style=\"background-color: #f4f4f4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(0px) translateY(7px);\"> </div>
  25. <div style=\"background-color: #f4f4f4; height: 12.5px; transform: rotate(-45deg) translateX(3px) translateY(1px); width: 12.5px; flex-grow: 0; margin-right: 14px; margin-left: 2px;\"> </div>
  26. <div style=\"background-color: #f4f4f4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(9px) translateY(-18px);\"> </div>
  27. </div>
  28. <div style=\"margin-left: 8px;\">
  29. <div style=\"background-color: #f4f4f4; border-radius: 50%; flex-grow: 0; height: 20px; width: 20px;\"> </div>
  30. <div style=\"width: 0; height: 0; border-top: 2px solid transparent; border-left: 6px solid #f4f4f4; border-bottom: 2px solid transparent; transform: translateX(16px) translateY(-4px) rotate(30deg);\"> </div>
  31. </div>
  32. <div style=\"margin-left: auto;\">
  33. <div style=\"width: 0px; border-top: 8px solid #F4F4F4; border-right: 8px solid transparent; transform: translateY(16px);\"> </div>
  34. <div style=\"background-color: #f4f4f4; flex-grow: 0; height: 12px; width: 16px; transform: translateY(-4px);\"> </div>
  35. <div style=\"width: 0; height: 0; border-top: 8px solid #F4F4F4; border-left: 8px solid transparent; transform: translateY(-4px) translateX(8px);\"> </div>
  36. </div>
  37. </div>
  38. <p style=\"margin: 8px 0 0 0; padding: 0 4px;\"><a style=\"color: #000; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 17px; text-decoration: none; word-wrap: break-word;\" href=\"https://www.instagram.com/p/Bv9q5P8BqEL/?utm_source=ig_embed&utm_medium=loading\" target=\"_blank\" rel=\"noopener\">Because we all need more baby goats in our lives ????</a></p>
  39. <p style=\"color: #c9c8cd; font-family: Arial,sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 0; margin-top: 8px; overflow: hidden; padding: 8px 0 7px; text-align: center; text-overflow: ellipsis; white-space: nowrap;\"><a style=\"color: #c9c8cd; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 17px;\" href=\"https://www.instagram.com/katherineschwarzenegger/?utm_source=ig_embed&utm_medium=loading\" target=\"_blank\" rel=\"noopener\"> Katherine Schwarzenegger</a> (@katherineschwarzenegger) által megosztott bejegyzés, <time style=\"font-family: Arial,sans-serif; font-size: 14px; line-height: 17px;\" datetime=\"2019-04-07T18:00:16+00:00\">Ápr 7., 2019, időpont: 11:00 (PDT időzóna szerint)</time></p>
  40. </div>
  41. </blockquote>
  42. <p><script async src=\"//www.instagram.com/embed.js\"></script></p>
  43. <blockquote class=\"instagram-media\" style=\"background: #FFF; border: 0; border-radius: 3px; box-shadow: 0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width: 540px; min-width: 326px; padding: 0; width: calc(100% - 2px);\" data-instgrm-captioned=\"\" data-instgrm-permalink=\"https://www.instagram.com/p/BvuaSnShLir/?utm_source=ig_embed&utm_medium=loading\" data-instgrm-version=\"12\">
  44. <div style=\"padding: 16px;\">
  45. <div style=\"display: flex; flex-direction: row; align-items: center;\">
  46. <div style=\"background-color: #f4f4f4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;\"> </div>
  47. <div style=\"display: flex; flex-direction: column; flex-grow: 1; justify-content: center;\">
  48. <div style=\"background-color: #f4f4f4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 100px;\"> </div>
  49. <div style=\"background-color: #f4f4f4; border-radius: 4px; flex-grow: 0; height: 14px; width: 60px;\"> </div>
  50. </div>
  51. </div>
  52. <div style=\"padding: 19% 0;\"> </div>
  53. <div style=\"display: block; height: 50px; margin: 0 auto 12px; width: 50px;\"> </div>
  54. <div style=\"padding-top: 8px;\">
  55. <div style=\"color: #3897f0; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: 550; line-height: 18px;\">A bejegyzés megtekintése az Instagramon</div>
  56. </div>
  57. <div style=\"padding: 12.5% 0;\"> </div>
  58. <div style=\"display: flex; flex-direction: row; margin-bottom: 14px; align-items: center;\">
  59. <div>
  60. <div style=\"background-color: #f4f4f4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(0px) translateY(7px);\"> </div>
  61. <div style=\"background-color: #f4f4f4; height: 12.5px; transform: rotate(-45deg) translateX(3px) translateY(1px); width: 12.5px; flex-grow: 0; margin-right: 14px; margin-left: 2px;\"> </div>
  62. <div style=\"background-color: #f4f4f4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(9px) translateY(-18px);\"> </div>
  63. </div>
  64. <div style=\"margin-left: 8px;\">
  65. <div style=\"background-color: #f4f4f4; border-radius: 50%; flex-grow: 0; height: 20px; width: 20px;\"> </div>
  66. <div style=\"width: 0; height: 0; border-top: 2px solid transparent; border-left: 6px solid #f4f4f4; border-bottom: 2px solid transparent; transform: translateX(16px) translateY(-4px) rotate(30deg);\"> </div>
  67. </div>
  68. <div style=\"margin-left: auto;\">
  69. <div style=\"width: 0px; border-top: 8px solid #F4F4F4; border-right: 8px solid transparent; transform: translateY(16px);\"> </div>
  70. <div style=\"background-color: #f4f4f4; flex-grow: 0; height: 12px; width: 16px; transform: translateY(-4px);\"> </div>
  71. <div style=\"width: 0; height: 0; border-top: 8px solid #F4F4F4; border-left: 8px solid transparent; transform: translateY(-4px) translateX(8px);\"> </div>
  72. </div>
  73. </div>
  74. <p style=\"margin: 8px 0 0 0; padding: 0 4px;\"><a style=\"color: #000; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 17px; text-decoration: none; word-wrap: break-word;\" href=\"https://www.instagram.com/p/BvuaSnShLir/?utm_source=ig_embed&utm_medium=loading\" target=\"_blank\" rel=\"noopener\">Happy Monday love, Persimmon #adoptdontshop</a></p>
  75. <p style=\"color: #c9c8cd; font-family: Arial,sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 0; margin-top: 8px; overflow: hidden; padding: 8px 0 7px; text-align: center; text-overflow: ellipsis; white-space: nowrap;\"><a style=\"color: #c9c8cd; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 17px;\" href=\"https://www.instagram.com/katherineschwarzenegger/?utm_source=ig_embed&utm_medium=loading\" target=\"_blank\" rel=\"noopener\"> Katherine Schwarzenegger</a> (@katherineschwarzenegger) által megosztott bejegyzés, <time style=\"font-family: Arial,sans-serif; font-size: 14px; line-height: 17px;\" datetime=\"2019-04-01T19:46:34+00:00\">Ápr 1., 2019, időpont: 12:46 (PDT időzóna szerint)</time></p>
  76. </div>
  77. </blockquote>
  78. <p><script async src=\"//www.instagram.com/embed.js\"></script></p>
  79. <blockquote class=\"instagram-media\" style=\"background: #FFF; border: 0; border-radius: 3px; box-shadow: 0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width: 540px; min-width: 326px; padding: 0; width: calc(100% - 2px);\" data-instgrm-captioned=\"\" data-instgrm-permalink=\"https://www.instagram.com/p/BwkXVGvg-Z6/?utm_source=ig_embed&utm_medium=loading\" data-instgrm-version=\"12\">
  80. <div style=\"padding: 16px;\">
  81. <div style=\"display: flex; flex-direction: row; align-items: center;\">
  82. <div style=\"background-color: #f4f4f4; border-radius: 50%; flex-grow: 0; height: 40px; margin-right: 14px; width: 40px;\"> </div>
  83. <div style=\"display: flex; flex-direction: column; flex-grow: 1; justify-content: center;\">
  84. <div style=\"background-color: #f4f4f4; border-radius: 4px; flex-grow: 0; height: 14px; margin-bottom: 6px; width: 100px;\"> </div>
  85. <div style=\"background-color: #f4f4f4; border-radius: 4px; flex-grow: 0; height: 14px; width: 60px;\"> </div>
  86. </div>
  87. </div>
  88. <div style=\"padding: 19% 0;\"> </div>
  89. <div style=\"display: block; height: 50px; margin: 0 auto 12px; width: 50px;\"> </div>
  90. <div style=\"padding-top: 8px;\">
  91. <div style=\"color: #3897f0; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: 550; line-height: 18px;\">A bejegyzés megtekintése az Instagramon</div>
  92. </div>
  93. <div style=\"padding: 12.5% 0;\"> </div>
  94. <div style=\"display: flex; flex-direction: row; margin-bottom: 14px; align-items: center;\">
  95. <div>
  96. <div style=\"background-color: #f4f4f4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(0px) translateY(7px);\"> </div>
  97. <div style=\"background-color: #f4f4f4; height: 12.5px; transform: rotate(-45deg) translateX(3px) translateY(1px); width: 12.5px; flex-grow: 0; margin-right: 14px; margin-left: 2px;\"> </div>
  98. <div style=\"background-color: #f4f4f4; border-radius: 50%; height: 12.5px; width: 12.5px; transform: translateX(9px) translateY(-18px);\"> </div>
  99. </div>
  100. <div style=\"margin-left: 8px;\">
  101. <div style=\"background-color: #f4f4f4; border-radius: 50%; flex-grow: 0; height: 20px; width: 20px;\"> </div>
  102. <div style=\"width: 0; height: 0; border-top: 2px solid transparent; border-left: 6px solid #f4f4f4; border-bottom: 2px solid transparent; transform: translateX(16px) translateY(-4px) rotate(30deg);\"> </div>
  103. </div>
  104. <div style=\"margin-left: auto;\">
  105. <div style=\"width: 0px; border-top: 8px solid #F4F4F4; border-right: 8px solid transparent; transform: translateY(16px);\"> </div>
  106. <div style=\"background-color: #f4f4f4; flex-grow: 0; height: 12px; width: 16px; transform: translateY(-4px);\"> </div>
  107. <div style=\"width: 0; height: 0; border-top: 8px solid #F4F4F4; border-left: 8px solid transparent; transform: translateY(-4px) translateX(8px);\"> </div>
  108. </div>
  109. </div>
  110. <p style=\"margin: 8px 0 0 0; padding: 0 4px;\"><a style=\"color: #000; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 17px; text-decoration: none; word-wrap: break-word;\" href=\"https://www.instagram.com/p/BwkXVGvg-Z6/?utm_source=ig_embed&utm_medium=loading\" target=\"_blank\" rel=\"noopener\">@ainttooproudtomeg helping me break my lent yesterday with the greatest cheese board I’ve ever seen ????????????</a></p>
  111. <p style=\"color: #c9c8cd; font-family: Arial,sans-serif; font-size: 14px; line-height: 17px; margin-bottom: 0; margin-top: 8px; overflow: hidden; padding: 8px 0 7px; text-align: center; text-overflow: ellipsis; white-space: nowrap;\"><a style=\"color: #c9c8cd; font-family: Arial,sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 17px;\" href=\"https://www.instagram.com/katherineschwarzenegger/?utm_source=ig_embed&utm_medium=loading\" target=\"_blank\" rel=\"noopener\"> Katherine Schwarzenegger</a> (@katherineschwarzenegger) által megosztott bejegyzés, <time style=\"font-family: Arial,sans-serif; font-size: 14px; line-height: 17px;\" datetime=\"2019-04-22T18:39:41+00:00\">Ápr 22., 2019, időpont: 11:39 (PDT időzóna szerint)</time></p>
  112. </div>
  113. </blockquote>
  114. <p><script async src=\"//www.instagram.com/embed.js\"></script></p>
  115. <p>Látszik, hogy imádja az egészséges ételeket és az állatokat.</p>
  116. <p>címlapkép <a href=\"https://www.flickr.com/photos/minglemediatv/16087120808/\">innen</a></p>
  117. <p>Szerző: <a href=\"https://www.flickr.com/photos/minglemediatv\">Mingle Media TV</a></p>', post_title = 'Ennyire helyes Arnold Schwarzenegger lánya', post_excerpt = '', topic_id = '1', topic_name = 'Divat', topic_slug = 'divat', post_image=''";
  118.  
  119.  
  120. //echo iconv("UTF-8","UTF-8//TRANSLIT", $sql );
  121. echo iconv(mb_detect_encoding($sql, mb_detect_order(), true), "UTF-8", $sql);
  122.  
  123.  
File Description
  • utf8-szar
  • PHP Code
  • 24 Apr-2019
  • 13.53 Kb
You can Share it: