3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = (object) ['b' => 1]; $b = new stdClass(); var_dump($a instanceof $b); // true ?>

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.60.0100.00716.63
8.5.50.0090.00816.76
8.5.30.0090.00817.93
8.5.20.0100.00720.27
8.5.10.0110.00716.55
8.5.00.0120.00919.83
8.4.210.0110.00319.51
8.4.180.0140.00919.74
8.4.170.0150.00720.50
8.4.160.0110.01220.68
8.4.150.0090.00416.86
8.4.140.0120.00917.46
8.4.130.0070.01417.53
8.4.120.0040.00420.26
8.4.110.0110.00918.71
8.4.100.0130.00717.65
8.4.90.0110.00820.45
8.4.80.0090.00718.76
8.4.70.0110.00318.99
8.4.60.0140.00918.74
8.4.50.0120.00720.33
8.4.40.0190.00017.76
8.4.30.0400.00717.21
8.4.20.0410.00717.38
8.4.10.0410.00717.28
8.3.300.0100.01020.77
8.3.290.0100.01322.65
8.3.280.0160.00518.53
8.3.270.0120.00816.63
8.3.260.0140.00616.70
8.3.250.0080.01118.65
8.3.240.0090.01016.83
8.3.230.0110.00716.48
8.3.220.0060.00218.96
8.3.210.0050.00418.23
8.3.200.0020.00716.34
8.3.190.0080.00016.83
8.3.180.0110.00718.63
8.3.170.0120.00616.97
8.3.160.0460.00316.29
8.3.150.0370.01016.39
8.3.140.0420.00416.62
8.3.130.0270.00716.52
8.3.120.0260.01316.25
8.3.110.0320.01116.40
8.3.100.0320.01616.32
8.3.90.0360.00916.42
8.3.80.0360.01016.49
8.3.70.0410.00616.60
8.3.60.0510.00316.36
8.3.50.0410.00316.35
8.3.40.0330.00617.30
8.3.30.0320.00417.06
8.3.20.0350.00417.31
8.3.10.0340.00317.45
8.3.00.0170.00817.41
8.2.300.0100.00920.37
8.2.290.0090.01020.34
8.2.280.0040.00620.26
8.2.270.0340.00416.72
8.2.260.0320.00616.30
8.2.250.0320.00716.76
8.2.240.0150.01116.46
8.2.230.0370.00016.21
8.2.220.0110.01116.48
8.2.210.0360.00316.63
8.2.200.0390.00016.43
8.2.190.0340.00616.36
8.2.180.0310.00316.64
8.2.170.0140.00717.80
8.2.160.0090.01217.68
8.2.150.0350.00317.45
8.2.140.0340.00317.57
8.2.130.0380.00017.37
8.2.120.0370.00317.46
8.2.110.0380.01017.33
8.2.100.0180.01517.42
8.2.90.0270.01217.69
8.2.80.0220.01117.35
8.2.70.0250.01417.47
8.2.60.0370.00317.32
8.2.50.0370.00417.41
8.2.40.0300.00617.48
8.2.30.0260.01117.29
8.2.20.0320.00417.58
8.2.10.0370.00617.30
8.2.00.0320.00417.24
8.1.340.0080.01220.23
8.1.320.0120.00816.33

preferences:
51.23 ms | 848 KiB | 5 Q