Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98509 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54873 invoked from network); 12 Mar 2017 17:16:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Mar 2017 17:16:26 -0000 Authentication-Results: pb1.pair.com header.from=michael.vostrikov@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=michael.vostrikov@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.178 as permitted sender) X-PHP-List-Original-Sender: michael.vostrikov@gmail.com X-Host-Fingerprint: 209.85.161.178 mail-yw0-f178.google.com Received: from [209.85.161.178] ([209.85.161.178:36660] helo=mail-yw0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/EC-38004-96285C85 for ; Sun, 12 Mar 2017 12:16:25 -0500 Received: by mail-yw0-f178.google.com with SMTP id o4so47792174ywd.3 for ; Sun, 12 Mar 2017 10:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=uflkcpOOgSEl1AaklataXf+5yh9e+Mhpl8GK1vFxQiQ=; b=TqcGvr/0Tt7lKDoRiqd1m8HiDpyvljy3O0d+Sa8jvRGzok10hLsICk7viPT8mFSPsd p9BZN1xJxXo8B+pfuEwaZt33r9UFpqH/SO96I+ANKWu5HuG0EW76YrgW46zf5PH4qjdl F7tn0ym+8LCxFOj0E+1npmXQQP0oYNeIs5IeemNMZPzI7V2yHwpqFCZeLTh+Glq9l6fu 32/RSgNgE623Ljb5Gt7vNlrXBuFc5JswXmaRoDYtzveQiVfwnNBzCpWoiqlk0Nyksmhh NUG81HzZeG1Zw0OGaLdYLh7ivW7w4kkZPzAay6/dwZdVhFMcprPcOYQWaHl6NqiVRtGa K4aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=uflkcpOOgSEl1AaklataXf+5yh9e+Mhpl8GK1vFxQiQ=; b=sPz0AZi3bVkcuhqKsFUBJwosxVuexdwptiQh1jU/bQ568DpIHaF/ziW9TV8/mDT/wy E6mYpoO1FFmfPc+ZJOOIcS04QreymOi0EQwJjlsGwhoZ34PaAZaTY5dE+EBkSGvTm6yk A3L/J96AOVbSLTk7xfYyAl4/b7iOg+HSxWiekpbTL4m2RgXKOaN1pNWeTI+2VZxe0/4m /AehmBiHYMRNcIVyzcN9sclcsGw3aRnzZTUiJLTQKhHrO5WQ2Lgu7Pi6Zix7dyH8sYFe PejURUftsHQbvpDSKELkMEDgatm3O2OU8eyRaaabiACoKo+aW+hfK1W2mxoe23oqQEuN ac6Q== X-Gm-Message-State: AMke39kWFbHcVIJqAwip41HJWWajmogIC3MkaVJNOe86wrc59lHjePUJ8stBDTna/rRW8XAqbEycjoT4H/ocwQ== X-Received: by 10.37.174.97 with SMTP id g33mr14488776ybe.108.1489338981731; Sun, 12 Mar 2017 10:16:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.224.196 with HTTP; Sun, 12 Mar 2017 10:16:21 -0700 (PDT) In-Reply-To: <8e4d7946-a7cf-7a02-a745-2451aab564d2@fleshgrinder.com> References: <2a928258-af19-c15f-548f-eb348b3f5449@fleshgrinder.com> <8e4d7946-a7cf-7a02-a745-2451aab564d2@fleshgrinder.com> Date: Sun, 12 Mar 2017 22:16:21 +0500 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary=f403045eb9f2f4d525054a8bc018 Subject: Re: [PHP-DEV] Type variants From: michael.vostrikov@gmail.com (Michael Vostrikov) --f403045eb9f2f4d525054a8bc018 Content-Type: text/plain; charset=UTF-8 2017-03-12 18:54 GMT+05:00 Fleshgrinder : > > Post this on Stackoverflow and I'll give you some answers and possible > approaches. ;) You are clearly struggling with architecture and design, > but you are definitely not missing language constructs here. > > -- > Richard "Fleshgrinder" Fussenegger > No, thanks) I don't have real problem. I know some problems with usual inheritance and try to suggest the tool to solve them. Problems which are mostly kinds of Rectangle-Square problem, and where is some restrictions in derived types. --f403045eb9f2f4d525054a8bc018--