3v4l.org

run code in 500+ PHP versions simultaneously
<?php trait t {} class a { use t; } $a = new a(); var_dump($a instanceof t); // I dreamt it to be 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.90.0090.00718.48
8.5.80.0090.00816.57
8.5.70.0030.00416.36
8.5.60.0110.00516.78
8.5.50.0070.01016.74
8.5.30.0100.00817.91
8.5.20.0100.00720.17
8.5.10.0100.00816.77
8.5.00.0120.01220.07
8.4.240.0140.00819.58
8.4.230.0120.01219.46
8.4.220.0110.01019.63
8.4.210.0040.00519.40
8.4.180.0110.01119.69
8.4.170.0130.00923.92
8.4.160.0130.00823.99
8.4.150.0070.00517.76
8.4.140.0160.00417.41
8.4.130.0130.00317.80
8.4.120.0090.01124.20
8.4.110.0120.00818.99
8.4.100.0110.00817.56
8.4.90.0140.00617.64
8.4.80.0080.00917.81
8.4.70.0050.00419.50
8.4.60.0140.00819.30
8.4.50.0370.01017.43
8.4.40.0380.01017.41
8.4.30.0390.00817.39
8.4.20.0390.00817.34
8.4.10.0410.00817.26
8.3.330.0050.00418.32
8.3.320.0080.00518.35
8.3.310.0100.00718.40
8.3.300.0140.01019.23
8.3.290.0090.00720.63
8.3.280.0090.00416.18
8.3.270.0120.00816.51
8.3.260.0130.00616.57
8.3.250.0100.00918.86
8.3.240.0110.00716.64
8.3.230.0100.01016.45
8.3.220.0120.00716.49
8.3.210.0110.00716.74
8.3.200.0370.00816.25
8.3.190.0450.00416.45
8.3.180.0330.01116.62
8.3.170.0390.00916.36
8.3.160.0230.00216.40
8.3.150.0240.00816.46
8.3.140.0360.00716.36
8.3.130.0330.00916.32
8.3.120.0320.00916.46
8.3.110.0330.00816.39
8.3.100.0360.00916.67
8.3.90.0370.01116.39
8.3.80.0320.00816.29
8.3.70.0250.00716.47
8.3.60.0330.01016.22
8.3.50.0410.00516.20
8.3.40.0410.00717.56
8.3.30.0240.00617.36
8.3.20.0350.00817.27
8.3.10.0330.00517.34
8.3.00.0320.00717.34
8.2.320.0120.00717.98
8.2.310.0110.00917.98
8.2.300.0100.01118.77
8.2.290.0130.00518.85
8.2.280.0330.00716.65
8.2.270.0300.00916.37
8.2.260.0310.00716.34
8.2.250.0290.00916.58
8.2.240.0340.00616.42
8.2.230.0300.01016.57
8.2.220.0330.00816.40
8.2.210.0340.00416.35
8.2.200.0340.00916.36
8.2.190.0280.01416.59
8.2.180.0310.00716.31
8.2.170.0320.01017.73
8.2.160.0270.00517.69
8.2.150.0310.00817.60
8.2.140.0320.00717.39
8.2.130.0310.00917.56
8.2.120.0330.00717.61
8.2.110.0330.00817.63
8.2.100.0310.01017.43
8.2.90.0320.01117.52
8.2.80.0300.00917.68
8.2.70.0330.00917.58
8.2.60.0350.00517.61
8.2.50.0320.00917.42
8.2.40.0380.00917.59
8.2.30.0260.01117.40
8.2.20.0320.00817.64
8.2.10.0270.00917.31
8.2.00.0330.00417.50
8.1.340.0110.00921.73

preferences:
62.7 ms | 878 KiB | 5 Q