Skip to content

Enable runnable (WASM) examples for language sections: attributes, generators and references#5484

Open
AllenJB wants to merge 2 commits intophp:masterfrom
AllenJB:runnable_lang_generators
Open

Enable runnable (WASM) examples for language sections: attributes, generators and references#5484
AllenJB wants to merge 2 commits intophp:masterfrom
AllenJB:runnable_lang_generators

Conversation

@AllenJB
Copy link
Copy Markdown
Contributor

@AllenJB AllenJB commented Apr 8, 2026

Related: #4799

@AllenJB AllenJB changed the title Enable runnable (WASM) examples for language.generators and language.attributes sections Enable runnable (WASM) examples for language sections: attributes, generators and references Apr 8, 2026
Comment thread language/references.xml
@@ -185,7 +171,6 @@ echo $ref; // 3 - last element of the iterated array
<programlisting role="php">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<programlisting role="php">
<programlisting role="php" annotations="non-interactive">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should stay as interactive. The program/example is executable.

Comment thread language/references.xml
<![CDATA[
Array
(
[0] => foo
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[0] => foo
[0] => foo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants