diff --git a/releases/8.5/common.php b/releases/8.5/common.php index 0572de6319..2bad51cd69 100644 --- a/releases/8.5/common.php +++ b/releases/8.5/common.php @@ -25,8 +25,7 @@ function common_header(string $description): void { \site_header("PHP 8.5 Release Announcement", [ 'current' => 'php85', - 'css' => ['prism.css', 'php85.css'], - 'js_files' => ['js/ext/prism.js'], + 'css' => ['php85.css'], 'language_switcher' => $languages, 'theme_switcher' => true, 'meta_tags' => << = message('old_version', $lang) ?> + -
-
+
-
+PHP
+ ); ?>
-
+ getHost());
// string(7) "php.net"
-
-
+PHP
+ ); ?>
@@ -254,9 +266,15 @@ var_dump($uri->getHost());
-
+
-
+PHP
+ ); ?>
-
+
-
+PHP
+ ); ?>
@@ -314,9 +338,15 @@ var_dump($slug);
-
+ withAlpha(128);
-
-
+PHP
+ ); ?>
-
+ withAlpha(128);
-
-
+PHP
+ ); ?>
@@ -391,17 +427,23 @@ $transparentBlue = $blue->withAlpha(128);
-
+
-
+PHP
+ ); ?>
-
+
-
+PHP
+ ); ?>
@@ -445,9 +493,15 @@ getPhpVersion();
-
+
-
+PHP
+ ); ?>
+
-
-
+
-
+PHP
+ ); ?>
@@ -511,9 +571,15 @@ final class PostsController
-
+
-
+PHP
+ ); ?>
-
+
-
+PHP
+ ); ?>
@@ -569,14 +641,20 @@ curl_exec($ch);
-
+
-
+PHP
+ ); ?>
-
+
-
+PHP
+ ); ?>
@@ -793,7 +877,27 @@ $lastEvent = array_last($events);