Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103761 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 12560 invoked from network); 18 Jan 2019 04:27:08 -0000 Received: from unknown (HELO mail-io1-f48.google.com) (209.85.166.48) by pb1.pair.com with SMTP; 18 Jan 2019 04:27:08 -0000 Received: by mail-io1-f48.google.com with SMTP id x6so9395930ioa.9 for ; Thu, 17 Jan 2019 17:03:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I3piUGdPXATvrinJ0JDQ9zC3l/T6fJKWwdNzSDB+6mg=; b=cu3iuuoeOI6kmQqM4SYKeVFmW+HalFWRF7rOP0i1jStyGIyGzCdc6o3vD25zxnwPBR oSIMqc9/BeAUnjk8c9thNcOnpo8ECQLWNOIYi2o4ayLj27HCgMri06Zy4vfEqriofA9K vhJwH0S4y8Uz1xvnUSpCJP3bwPwmcVnhF6F2JDFnQP2NSnnYXxmLGx5ne15Af/r2P5eG E4LvzrTRxRVUYgAvvyK9WIXEuvXeqbsbsERJ+B16TQEvxCqWZf3b4PCTTv7Vjia5zPnU dTDU98m0ZeXm8OW6Ib/Ed6xTV6Liyr0d5YZKh364U2oGS9+CrbthYjt2QUg9Y0rQC0By wPBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I3piUGdPXATvrinJ0JDQ9zC3l/T6fJKWwdNzSDB+6mg=; b=O2zspr1YP6zs6+c+w9RzIR91ohe4eiuhyq90IMrFzEaYpw/n30rVcmlBxlz0IpCJ2U sc6RJFlf/p9a2U2+hcpNLXA1eN8gtrUeH76HVbURi6W6KAMQ+POc/gELHMYgDkjWz0S1 asW+IrnH2Bj8npf9Qgu2lh6xt82MKk0VeM7vKOIY0luDHAIQ7oSHigtTID0T3qGzhUTI vD4lk9u4XEyzu3VqELJMyjRYNyOaYh1OGck8fYNZeQP4Gf5CWUnm836gz8571AyKudzP tGX1JNkXkeOxGPkFWL6jH55TsFBM5lJbYwVaFPPCBLtG6cpazPcrmcXNvhWt1rJ4OelD ZtNQ== X-Gm-Message-State: AJcUukcWT5UW834dsHw2FMBoeQnvh0KJBJY6NM1yVPTUClxS1Getllqi 0kq//VgZC21qgRWbsSXIcT7qyNmdBy41WQ90D0c= X-Google-Smtp-Source: ALg8bN65yHxkc6CYm2CGxvkopPNTTaXFQdq/bDxzCUKEU4OnjpftAMUsvFWUpFGT9ro3qIk1G3Mnz8z6XwKUzBnUqVU= X-Received: by 2002:a6b:440e:: with SMTP id r14mr9919556ioa.78.1547773418896; Thu, 17 Jan 2019 17:03:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 18 Jan 2019 02:03:27 +0100 Message-ID: To: Marcos Passos Cc: internals Content-Type: multipart/alternative; boundary="000000000000d38461057fb114f2" Subject: Re: [PHP-DEV] Unserializes, inheritance and allows_classes From: ocramius@gmail.com (Marco Pivetta) --000000000000d38461057fb114f2 Content-Type: text/plain; charset="UTF-8" On Fri, Jan 18, 2019 at 2:00 AM Marcos Passos wrote: > How would you fix this example, then? Perhaps we should add more examples > in the docs. > You'd include all expected child classes in the list of `allowed_classes`. As for the docs, feel free to go ahead and edit them directly :+1: Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --000000000000d38461057fb114f2--