3v4l.org

run code in 300+ PHP versions simultaneously
<?php class string {} $test_case = "foo"; echo ($test_case instanceof string);

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)
5.6.280.0000.07721.13
5.6.210.0070.03720.68
5.6.200.0100.07718.23
5.6.190.0070.07020.41
5.6.180.0370.07020.67
5.6.170.0230.08020.51
5.6.160.0170.07320.58
5.6.150.0100.03018.17
5.6.140.0000.08718.25
5.6.130.0100.08018.16
5.6.120.0030.04020.96
5.6.110.0170.07021.14
5.6.100.0130.05020.96
5.6.90.0070.08321.03
5.6.80.0100.04720.36
5.6.70.0330.07320.50
5.5.350.0170.07720.33
5.5.340.0070.05717.92
5.5.330.0030.05320.40
5.5.320.0230.08320.37
5.5.310.0270.04020.29
5.5.300.0070.08017.96
5.5.290.0030.07718.07
5.5.280.0130.08020.76
5.5.270.0100.03320.67
5.5.260.0100.06320.71
5.5.250.0170.07020.65
5.5.240.0070.06320.26
5.4.450.3670.04019.32
5.4.440.3570.03719.47
5.4.430.3530.03319.30
5.4.420.3530.03319.38
5.4.410.3330.02719.42
5.4.400.0100.06019.00
5.4.390.3870.03019.15
5.4.380.3500.04319.24
5.4.370.4370.04019.16
5.4.360.4430.04018.88
5.4.350.4530.03019.13
5.4.340.0000.08719.25
5.4.320.4300.04719.31
5.4.310.3630.03719.25
5.4.300.1930.04019.06
5.4.290.3500.03319.21
5.4.280.3470.03719.21
5.4.270.3430.04019.09
5.4.260.3500.03319.08
5.4.250.3430.04019.05
5.4.240.2670.03319.13
5.4.230.3130.03019.05
5.4.220.3600.04019.13
5.4.210.3870.03719.22
5.4.200.3770.04018.96
5.4.190.3030.03319.14
5.4.180.3630.04019.05
5.4.170.3570.03318.93
5.4.160.3470.03319.13
5.4.150.3430.03719.17
5.4.140.3600.03716.31
5.4.130.3630.03716.38
5.4.120.3370.03716.41
5.4.110.3400.04016.28
5.4.100.3400.03316.58
5.4.90.2300.03316.40
5.4.80.4200.03716.36
5.4.70.3500.03716.50
5.4.60.3330.03316.45
5.4.50.3230.03316.43
5.4.40.4170.03716.53
5.4.30.4330.03016.53
5.4.20.4130.03716.53
5.4.10.3430.03716.23
5.4.00.3300.03315.82
5.3.290.3700.04014.57
5.3.280.3100.03314.66
5.3.270.3770.03714.67
5.3.260.3800.03714.55
5.3.250.3700.03714.68
5.3.240.3570.04014.52
5.3.230.3770.03714.61
5.3.220.3630.03714.59
5.3.210.3730.03014.53
5.3.200.3530.03714.61
5.3.190.3030.04014.71
5.3.180.3200.04014.56
5.3.170.3530.03714.54
5.3.160.3400.04314.67
5.3.150.3400.04014.46
5.3.140.4300.03714.52
5.3.130.4200.03714.62
5.3.120.4070.04014.76
5.3.110.3930.04314.45
5.3.100.3270.03314.15
5.3.90.3570.03714.06
5.3.80.3030.04013.94
5.3.70.3430.03014.13
5.3.60.3530.02713.91
5.3.50.3400.03313.91
5.3.40.3770.04014.05
5.3.30.3730.03013.80
5.3.20.2870.03713.58
5.3.10.3370.03713.87
5.3.00.3400.03713.64
5.2.170.3130.03012.48
5.2.160.2870.02712.48
5.2.150.3200.03712.48
5.2.140.2630.03012.48
5.2.130.2600.03012.48
5.2.120.2930.03012.48
5.2.110.2700.02712.48
5.2.100.2770.03012.48
5.2.90.2770.02312.48
5.2.80.2730.03012.48
5.2.70.3430.04012.48
5.2.60.2870.03012.48
5.2.50.3200.02712.48
5.2.40.2870.02712.48
5.2.30.2770.03012.48
5.2.20.2200.03012.48
5.2.10.2730.03312.48
5.2.00.2470.03012.48
5.1.60.2470.02312.48
5.1.50.2100.02012.48
5.1.40.2470.02012.48
5.1.30.2400.02712.48
5.1.20.2470.02012.48
5.1.10.2500.02312.48
5.1.00.2130.02712.48
5.0.50.1500.02312.48
5.0.40.1270.01712.48
5.0.30.1400.03012.48
5.0.20.1370.01712.48
5.0.10.1330.02312.48
5.0.00.1470.03312.48
4.4.90.1630.01312.48
4.4.80.1400.01712.48
4.4.70.1030.02012.48
4.4.60.1370.01712.48
4.4.50.1230.01312.48
4.4.40.1330.03012.48
4.4.30.1470.01012.48
4.4.20.1330.01312.48
4.4.10.1370.02012.48
4.4.00.1330.03012.48
4.3.110.1300.01312.48
4.3.100.1600.01712.48
4.3.90.1270.01312.48
4.3.80.1670.02012.48
4.3.70.1470.01712.48
4.3.60.1530.02012.48
4.3.50.1330.01312.48
4.3.40.1270.02312.48
4.3.30.0930.02012.48
4.3.20.0830.02012.48
4.3.10.0730.01312.48
4.3.00.0630.01712.48

preferences:
143.23 ms | 1394 KiB | 7 Q