Errors considered to be the fault of the PHP code will result in the
function returning false and E_WARNING
being raised, for example, a resource type being used as an
argument. Lua errors will result in a LuaSandboxRuntimeError
exception being thrown.
Lua functions are PHP LuaSandboxFunction objects, and vice versa.
General PHP callables are not supported.
PHP arrays are converted to Lua tables, and vice versa.
Note that Lua typically indexes arrays from 1, while PHP indexes
arrays from 0. No adjustment is made for these differing
conventions.
Self-referential arrays are not supported in either direction.
PHP references are dereferenced.
Lua __pairs and __ipairs are processed.
__index is ignored.
When converting from PHP to Lua, integer keys between
-2**53 and 2**53 are represented
as Lua numbers. All other keys are represented as Lua strings.
When converting from Lua to PHP, keys other than strings and
numbers will result in an error, as will collisions when converting
numbers to strings or vice versa (since PHP considers things like
$a[0] and $a["0"] as being equivalent).
All other types are unsupported and will raise an error/exception,
including general PHP objects and Lua userdata and thread types.
Lua functions inherently return a list of results. So on success, this
method returns an array containing all of the values returned by Lua,
with int keys starting from zero. Lua may return no results, in
which case an empty array is returned.
De PHP-handleiding is nog niet in het Nederlands vertaald, dus het scherm is in het Engels. Als u wilt, kunt u het ook in het Frans of in het Duits raadplegen.
Als je de moed voelt, kun je je vertaling aanbieden ;-)
Taalinstellingen van de site
Als u liever doorgaat op de Nederlandse versie van de site, klik dan op "Annuleren". Als je annuleert, zal dit bericht niet meer verschijnen tijdens de sessie.
You are on the Dutch version of the site, but your system indicates that you prefer to use the English language. The entire site is not translated yet, but the menus and buttons on the interface are largely translated.
Sie befinden sich in der Holländisch Version der Website, Ihr System gibt jedoch an, dass Sie die deutsche Sprache bevorzugen. Die gesamte Site ist noch nicht übersetzt, aber die Menüs und Schaltflächen auf der Benutzeroberfläche sind weitgehend übersetzt.
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.
Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 30/01/2003 gemaakt, de laatste keer de 26/10/2018 gewijzigd Bron van het afgedrukte document:https://www.gaudry.be/nl/php-rf-luasandboxcall.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina. De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.