3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { public function __get($prop) { echo "__set($prop)\n"; Fiber::suspend(); } } $foo = new Foo(); $fiber = new Fiber(function () use ($foo) { $foo->bar; }); $value = $fiber->start(); $foo->bar; $fiber->resume('test');

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.5.30.0110.00719.34
8.5.20.0100.00919.97
8.5.10.0160.00716.77
8.5.00.0190.00817.67
8.4.180.0110.01119.83
8.4.170.0290.01319.61
8.4.160.0230.01020.53
8.4.150.0260.00918.23
8.4.140.0310.00817.58
8.4.130.0310.01117.93
8.4.120.0310.01118.37
8.4.110.0240.00918.19
8.4.100.0330.00917.89
8.4.90.0320.00918.41
8.4.80.0320.01018.42
8.4.70.0310.00718.14
8.4.60.0300.00918.58
8.4.50.0320.00918.49
8.4.40.0330.00917.72
8.4.30.0330.00818.41
8.4.20.0340.00818.18
8.4.10.0340.00618.01
8.3.300.0370.00718.35
8.3.290.0280.00719.75
8.3.280.0270.01018.30
8.3.270.0300.00816.90
8.3.260.0280.00816.84
8.3.250.0270.00816.92
8.3.240.0270.00816.76
8.3.230.0290.00816.83
8.3.220.0290.00917.84
8.3.210.0310.00816.74
8.3.200.0290.00816.89
8.3.190.0290.00916.98
8.3.180.0310.00817.42
8.3.170.0350.00717.04
8.3.160.0320.00816.89
8.3.150.0330.00816.87
8.3.140.0310.01017.34
8.3.130.0300.00816.83
8.3.120.0290.00717.40
8.3.110.0280.00717.83
8.3.100.0310.00816.87
8.3.90.0380.00919.32
8.3.80.0420.00819.31
8.3.70.0370.01119.30
8.3.60.0400.00919.42
8.3.50.0400.00819.41
8.3.40.0350.00920.08
8.3.30.0300.00820.05
8.3.20.0300.01120.12
8.3.10.0310.00820.04
8.3.00.0310.00720.08
8.2.300.0290.01118.69
8.2.290.0230.00717.00
8.2.280.0240.00717.72
8.2.270.0220.01216.84
8.2.260.0250.00617.02
8.2.250.0250.00716.85
8.2.240.0250.00817.39
8.2.230.0270.00418.29
8.2.220.0220.00918.65
8.2.210.0300.00919.30
8.2.200.0330.00819.32
8.2.190.0330.00719.30
8.2.180.0290.01119.30
8.2.170.0340.00720.23
8.2.160.0320.00720.17
8.2.150.0310.01020.07
8.2.140.0320.01020.10
8.2.130.0310.00820.00
8.2.120.0320.00720.15
8.2.110.0320.00820.02
8.2.100.0280.01120.10
8.2.90.0290.00820.09
8.2.80.0300.00819.96
8.2.70.0320.00819.98
8.2.60.0300.00919.96
8.2.50.0300.00919.99
8.2.40.0320.00820.00
8.2.30.0270.01119.93
8.2.20.0270.01219.95
8.2.10.0360.00719.95
8.2.00.0300.00719.89
8.1.340.0220.01018.58
8.1.330.0270.00916.55
8.1.320.0260.01017.83
8.1.310.0260.00816.56
8.1.300.0260.00716.46
8.1.290.0300.00619.12
8.1.280.0260.00819.17
8.1.270.0270.00719.86
8.1.260.0250.00819.92
8.1.250.0270.00819.82
8.1.240.0230.00919.90
8.1.230.0270.01019.85
8.1.220.0300.01119.87
8.1.210.0280.01019.92
8.1.200.0280.01019.91
8.1.190.0300.00819.79
8.1.180.0270.00819.72
8.1.170.0270.00819.92
8.1.160.0270.01119.85
8.1.150.0300.00719.88
8.1.140.0320.00819.75
8.1.130.0290.00619.84
8.1.120.0280.00819.98
8.1.110.0240.01119.98
8.1.100.0260.00619.83
8.1.90.0280.00919.83
8.1.80.0260.00919.94
8.1.70.0290.00919.91
8.1.60.0310.00819.99
8.1.50.0290.00919.94
8.1.40.0270.01020.02
8.1.30.0300.00820.05
8.1.20.0290.00920.02
8.1.10.0330.00720.08
8.1.00.0310.01019.88

preferences:
42.46 ms | 979 KiB | 5 Q