3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'asdfasfas'; if (is_int($test)) { echo 'to int!'; } else { echo 'to nie int!'; }

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.3.60.0140.00318.43
8.3.50.0100.01018.05
8.3.40.0110.00418.42
8.3.30.0040.01118.42
8.3.20.0080.00023.49
8.3.10.0000.00823.66
8.3.00.0040.00419.25
8.2.180.0140.00718.29
8.2.170.0120.00622.96
8.2.160.0130.00320.48
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00417.97
8.2.120.0030.00626.35
8.2.110.0070.00320.99
8.2.100.0080.00317.67
8.2.90.0090.00019.23
8.2.80.0000.00917.97
8.2.70.0000.00918.05
8.2.60.0040.00418.03
8.2.50.0000.00818.07
8.2.40.0040.00418.22
8.2.30.0080.00018.05
8.2.20.0040.00417.97
8.2.10.0050.00317.98
8.2.00.0050.00317.54
8.1.280.0090.00625.92
8.1.270.0090.00020.38
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00622.59
8.1.230.0000.01117.83
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0080.00017.23
8.1.190.0030.00519.01
8.1.180.0050.00318.10
8.1.170.0030.00518.46
8.1.160.0070.00018.68
8.1.150.0030.00320.25
8.1.140.0070.00019.50
8.1.130.0070.00018.92
8.1.120.0050.00217.29
8.1.110.0040.00417.29
8.1.100.0070.00017.31
8.1.90.0000.00717.29
8.1.80.0020.00517.39
8.1.70.0030.00317.37
8.1.60.0040.00417.50
8.1.50.0000.00817.51
8.1.40.0040.00417.43
8.1.30.0030.00517.59
8.1.20.0040.00417.48
8.1.10.0050.00317.46
8.1.00.0040.00417.52
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0000.00718.45
8.0.270.0070.00017.25
8.0.260.0030.00317.25
8.0.250.0000.00716.78
8.0.240.0080.00016.90
8.0.230.0030.00316.94
8.0.220.0040.00416.83
8.0.210.0030.00516.76
8.0.200.0050.00316.88
8.0.190.0000.00716.88
8.0.180.0040.00416.86
8.0.170.0000.00716.72
8.0.160.0080.00016.81
8.0.150.0070.00016.67
8.0.140.0000.00816.73
8.0.130.0050.00213.24
8.0.120.0030.00616.76
8.0.110.0070.00016.66
8.0.100.0070.00016.65
8.0.90.0040.00416.82
8.0.80.0030.01316.74
8.0.70.0070.00016.80
8.0.60.0040.00416.89
8.0.50.0040.00416.82
8.0.30.0070.01217.07
8.0.20.0130.01017.40
8.0.10.0040.00416.97
8.0.00.0030.02016.59
7.4.330.0050.00015.55
7.4.320.0070.00016.57
7.4.300.0030.00316.55
7.4.290.0060.00016.53
7.4.280.0030.00716.44
7.4.270.0070.00016.57
7.4.260.0070.00316.54
7.4.250.0040.00416.46
7.4.240.0000.00816.50
7.4.230.0040.00216.55
7.4.220.0090.01216.59
7.4.210.0070.01016.33
7.4.200.0070.00016.54
7.4.160.0150.00316.43
7.4.150.0100.01017.40
7.4.140.0120.01117.86
7.4.130.0060.01416.51
7.4.120.0120.00716.36
7.4.110.0040.01416.28
7.4.100.0060.01316.45
7.4.90.0090.00916.36
7.4.80.0070.01319.39
7.4.70.0100.00616.24
7.4.60.0120.00316.44
7.4.50.0030.00816.28
7.4.40.0070.01016.42
7.4.30.0090.00916.38
7.4.00.0060.00915.08
7.3.330.0000.00512.86
7.3.320.0030.00313.07
7.3.310.0000.00715.97
7.3.300.0000.00716.11
7.3.290.0060.01116.11
7.3.280.0070.01116.15
7.3.270.0120.01217.40
7.3.260.0070.01116.30
7.3.250.0120.00716.34
7.3.240.0100.01016.48
7.3.230.0090.00916.31
7.3.210.0100.00716.14
7.3.200.0100.00716.14
7.3.190.0130.00916.38
7.3.180.0100.00716.34
7.3.170.0070.01016.24
7.3.160.0070.01416.12
7.2.330.0190.00316.38
7.2.320.0100.00716.32
7.2.310.0160.00716.36
7.2.300.0120.00916.29
7.2.290.0060.01116.38
7.2.60.0070.00716.90
7.2.50.0060.00316.82
7.1.200.0100.00315.60
7.1.70.0030.00616.98
7.1.60.0070.00717.18
7.1.10.0120.06822.15
7.1.00.0100.05322.35
7.0.200.0070.00716.65
7.0.150.0200.05721.73
7.0.140.0030.06021.85
7.0.130.0030.06322.04
7.0.120.0030.06021.99
7.0.110.0230.06021.79
7.0.100.0070.05721.83
7.0.90.0200.05021.76
7.0.80.0070.05722.02
7.0.70.0100.05721.92
7.0.60.0000.06321.61
7.0.50.0130.06321.94
7.0.40.0030.05721.93
7.0.30.0100.05321.93
7.0.20.0030.06021.75
7.0.10.0030.06021.91
7.0.00.0130.05021.91

preferences:
77.22 ms | 401 KiB | 5 Q