Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFI section sync with EN #901

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions reference/ffi/examples.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: d862616201d247cfbc4233a0694d6c3cde42bf85 Maintainer: pierrick Status: ready -->
<!-- EN-Revision: 62126c55f1c6ed444043e7272c4f9e233818a44b Maintainer: pierrick Status: ready -->
<!-- Reviewed: no -->

<chapter xml:id="ffi.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
Expand Down Expand Up @@ -219,6 +219,7 @@ int(3)
Il est possible d'assigner une fermeture PHP à une variable native de type pointeur de fonction
ou de la passer comme argument de fonction :
<example>
<title>Assignation d'une <classname>Closure</classname> PHP à un pointeur de fonction C</title>
<programlisting role="php">
<![CDATA[
<?php
Expand Down Expand Up @@ -266,7 +267,7 @@ Hello World 3!

<section xml:id="ffi.examples-complete">
<title>Un exemple complet de PHP/FFI/preloading</title>
<example>
<informalexample>
<simpara><filename>php.ini</filename></simpara>
<programlisting role="ini">
<![CDATA[
Expand Down Expand Up @@ -319,7 +320,7 @@ $d->printf("Hello %s!\n", "world");
?>
]]>
</programlisting>
</example>
</informalexample>
</section>
</chapter>

Expand Down